ROOT logo
ROOT » GRAF3D » GL » TGLSelectRecord

class TGLSelectRecord: public TGLSelectRecordBase


 Standard selection record including information about containing
 scene and details ob out selected object (TGLPhysicalShape*,
 TObject* or simply a void* for foreign scenes).

Function Members (Methods)

protected:
voidTGLSelectRecordBase::CopyItems(UInt_t* items)

Data Members

public:
enum ESecSelResult { kNone
kEnteringSelection
kLeavingSelection
kModifyingInternalSelection
};
protected:
Bool_tfHighlightRequested for highlight (set by event-handler).
UInt_t*TGLSelectRecordBase::fItems
Float_tTGLSelectRecordBase::fMaxZ
Float_tTGLSelectRecordBase::fMinZ
Bool_tfMultipleMutliple selection requested (set by event-handler).
Int_tTGLSelectRecordBase::fN
TObject*fObjectMaster TObject, if applicable
TGLPhysicalShape*fPhysShapePhysicalShape, if applicable
Int_tTGLSelectRecordBase::fPos
TGLSceneInfo*fSceneInfoSceneInfo
TGLSelectRecord::ESecSelResultfSecSelResResult of ProcessSelection;
void*fSpecificScene specific, if applicable
Bool_tfTransparent

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLSelectRecord()
 Default constructor.
TGLSelectRecord(UInt_t* data)
 Constructor from raw GL-select record.
TGLSelectRecord(const TGLSelectRecord& rec)
 Copy constructor.
~TGLSelectRecord()
 Destructor.
TGLSelectRecord& operator=(const TGLSelectRecord& rec)
 Copy operator.
void Set(UInt_t* data)
 Setup the record from raw buffer.
 Non-core members are reset.
void Reset()
 Reinitalize all data to null values.
void Print()
 Print contents of the select record to stdout.
Bool_t AreSameSelectionWise(const TGLSelectRecord& r1, const TGLSelectRecord& r2)
 Check if the records imply the same selection result, that is,
 their secondary members are all equal.
Bool_t GetTransparent() const
{ return fTransparent; }
TGLSceneInfo * GetSceneInfo() const
{ return fSceneInfo; }
TGLPhysicalShape * GetPhysShape() const
{ return fPhysShape; }
TObject * GetObject() const
{ return fObject; }
void * GetSpecific() const
{ return fSpecific; }
Bool_t GetMultiple() const
{ return fMultiple; }
Bool_t GetHighlight() const
{ return fHighlight; }
ESecSelResult GetSecSelResult() const
{ return fSecSelRes; }
void SetTransparent(Bool_t t)
{ fTransparent = t; }
void SetSceneInfo(TGLSceneInfo* si)
{ fSceneInfo = si; }
void SetPhysShape(TGLPhysicalShape* pshp)
{ fPhysShape = pshp; }
void SetObject(TObject* obj)
{ fObject = obj; }
void SetSpecific(void* spec)
{ fSpecific = spec; }
void SetMultiple(Bool_t multi)
{ fMultiple = multi; }
void SetHighlight(Bool_t hlt)
{ fHighlight = hlt; }
void SetSecSelResult(TGLSelectRecord::ESecSelResult r)
{ fSecSelRes = r; }