Logo ROOT   6.12/07
Reference Guide
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
TGLSelectRecord Class Reference

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

Definition at line 74 of file TGLSelectRecord.h.

Public Types

enum  ESecSelResult { kNone, kEnteringSelection, kLeavingSelection, kModifyingInternalSelection }
 

Public Member Functions

 TGLSelectRecord ()
 Default constructor. More...
 
 TGLSelectRecord (UInt_t *data)
 Constructor from raw GL-select record. More...
 
 TGLSelectRecord (const TGLSelectRecord &rec)
 Copy constructor. More...
 
virtual ~TGLSelectRecord ()
 Destructor. More...
 
Bool_t GetHighlight () const
 
TGLLogicalShapeGetLogShape () const
 
Bool_t GetMultiple () const
 
TObjectGetObject () const
 
TGLPhysicalShapeGetPhysShape () const
 
TGLSceneInfoGetSceneInfo () const
 
ESecSelResult GetSecSelResult () const
 
voidGetSpecific () const
 
Bool_t GetTransparent () const
 
TGLSelectRecordoperator= (const TGLSelectRecord &rec)
 Copy operator. More...
 
void Print ()
 Print contents of the select record to stdout. More...
 
virtual void Reset ()
 Reinitialise all data to null values. More...
 
virtual void Set (UInt_t *data)
 Setup the record from raw buffer. More...
 
void SetHighlight (Bool_t hlt)
 
void SetLogShape (TGLLogicalShape *lshp)
 
void SetMultiple (Bool_t multi)
 
void SetObject (TObject *obj)
 
void SetPhysShape (TGLPhysicalShape *pshp)
 
void SetSceneInfo (TGLSceneInfo *si)
 
void SetSecSelResult (ESecSelResult r)
 
void SetSpecific (void *spec)
 
void SetTransparent (Bool_t t)
 
- Public Member Functions inherited from TGLSelectRecordBase
 TGLSelectRecordBase ()
 Default constructor. More...
 
 TGLSelectRecordBase (UInt_t *data)
 Constructor from raw GL-select record. More...
 
 TGLSelectRecordBase (const TGLSelectRecordBase &rec)
 Copy constructor. More...
 
virtual ~TGLSelectRecordBase ()
 Destructor. More...
 
UInt_t GetCurrItem () const
 
UInt_t GetItem (Int_t i) const
 
UInt_tGetItems () const
 
Float_t GetMaxZ () const
 
Float_t GetMinZ () const
 
Int_t GetN () const
 
Int_t GetNLeft () const
 
void NextPos ()
 
TGLSelectRecordBaseoperator= (const TGLSelectRecordBase &rec)
 Copy operator. More...
 
void PrevPos ()
 
void ResetPos ()
 
void SetRawOnly (UInt_t *data)
 Setup the record from raw buffer. More...
 

Static Public Member Functions

static 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. More...
 

Protected Attributes

Bool_t fHighlight
 
TGLLogicalShapefLogShape
 
Bool_t fMultiple
 
TObjectfObject
 
TGLPhysicalShapefPhysShape
 
TGLSceneInfofSceneInfo
 
ESecSelResult fSecSelRes
 
voidfSpecific
 
Bool_t fTransparent
 
- Protected Attributes inherited from TGLSelectRecordBase
UInt_tfItems
 
Float_t fMaxZ
 
Float_t fMinZ
 
Int_t fN
 
Int_t fPos
 

Additional Inherited Members

- Protected Member Functions inherited from TGLSelectRecordBase
void CopyItems (UInt_t *items)
 Copy data from names. fN must already be set. More...
 

#include <TGLSelectRecord.h>

Inheritance diagram for TGLSelectRecord:
[legend]

Member Enumeration Documentation

◆ ESecSelResult

Enumerator
kNone 
kEnteringSelection 
kLeavingSelection 
kModifyingInternalSelection 

Definition at line 77 of file TGLSelectRecord.h.

Constructor & Destructor Documentation

◆ TGLSelectRecord() [1/3]

TGLSelectRecord::TGLSelectRecord ( )

Default constructor.

Definition at line 151 of file TGLSelectRecord.cxx.

◆ TGLSelectRecord() [2/3]

TGLSelectRecord::TGLSelectRecord ( UInt_t data)

Constructor from raw GL-select record.

Definition at line 168 of file TGLSelectRecord.cxx.

◆ TGLSelectRecord() [3/3]

TGLSelectRecord::TGLSelectRecord ( const TGLSelectRecord rec)

Copy constructor.

Definition at line 185 of file TGLSelectRecord.cxx.

◆ ~TGLSelectRecord()

TGLSelectRecord::~TGLSelectRecord ( )
virtual

Destructor.

Definition at line 202 of file TGLSelectRecord.cxx.

Member Function Documentation

◆ AreSameSelectionWise()

Bool_t TGLSelectRecord::AreSameSelectionWise ( const TGLSelectRecord r1,
const TGLSelectRecord r2 
)
static

Check if the records imply the same selection result, that is, their secondary members are all equal.

Definition at line 280 of file TGLSelectRecord.cxx.

◆ GetHighlight()

Bool_t TGLSelectRecord::GetHighlight ( ) const
inline

Definition at line 111 of file TGLSelectRecord.h.

◆ GetLogShape()

TGLLogicalShape* TGLSelectRecord::GetLogShape ( ) const
inline

Definition at line 107 of file TGLSelectRecord.h.

◆ GetMultiple()

Bool_t TGLSelectRecord::GetMultiple ( ) const
inline

Definition at line 110 of file TGLSelectRecord.h.

◆ GetObject()

TObject* TGLSelectRecord::GetObject ( ) const
inline

Definition at line 108 of file TGLSelectRecord.h.

◆ GetPhysShape()

TGLPhysicalShape* TGLSelectRecord::GetPhysShape ( ) const
inline

Definition at line 106 of file TGLSelectRecord.h.

◆ GetSceneInfo()

TGLSceneInfo* TGLSelectRecord::GetSceneInfo ( ) const
inline

Definition at line 105 of file TGLSelectRecord.h.

◆ GetSecSelResult()

ESecSelResult TGLSelectRecord::GetSecSelResult ( ) const
inline

Definition at line 113 of file TGLSelectRecord.h.

◆ GetSpecific()

void* TGLSelectRecord::GetSpecific ( ) const
inline

Definition at line 109 of file TGLSelectRecord.h.

◆ GetTransparent()

Bool_t TGLSelectRecord::GetTransparent ( ) const
inline

Definition at line 104 of file TGLSelectRecord.h.

◆ operator=()

TGLSelectRecord & TGLSelectRecord::operator= ( const TGLSelectRecord rec)

Copy operator.

Definition at line 209 of file TGLSelectRecord.cxx.

◆ Print()

void TGLSelectRecord::Print ( )

Print contents of the select record to stdout.

Definition at line 265 of file TGLSelectRecord.cxx.

◆ Reset()

void TGLSelectRecord::Reset ( void  )
virtual

Reinitialise all data to null values.

Reimplemented from TGLSelectRecordBase.

Definition at line 248 of file TGLSelectRecord.cxx.

◆ Set()

void TGLSelectRecord::Set ( UInt_t data)
virtual

Setup the record from raw buffer.

Non-core members are reset.

Reimplemented from TGLSelectRecordBase.

Definition at line 231 of file TGLSelectRecord.cxx.

◆ SetHighlight()

void TGLSelectRecord::SetHighlight ( Bool_t  hlt)
inline

Definition at line 122 of file TGLSelectRecord.h.

◆ SetLogShape()

void TGLSelectRecord::SetLogShape ( TGLLogicalShape lshp)
inline

Definition at line 118 of file TGLSelectRecord.h.

◆ SetMultiple()

void TGLSelectRecord::SetMultiple ( Bool_t  multi)
inline

Definition at line 121 of file TGLSelectRecord.h.

◆ SetObject()

void TGLSelectRecord::SetObject ( TObject obj)
inline

Definition at line 119 of file TGLSelectRecord.h.

◆ SetPhysShape()

void TGLSelectRecord::SetPhysShape ( TGLPhysicalShape pshp)
inline

Definition at line 117 of file TGLSelectRecord.h.

◆ SetSceneInfo()

void TGLSelectRecord::SetSceneInfo ( TGLSceneInfo si)
inline

Definition at line 116 of file TGLSelectRecord.h.

◆ SetSecSelResult()

void TGLSelectRecord::SetSecSelResult ( ESecSelResult  r)
inline

Definition at line 124 of file TGLSelectRecord.h.

◆ SetSpecific()

void TGLSelectRecord::SetSpecific ( void spec)
inline

Definition at line 120 of file TGLSelectRecord.h.

◆ SetTransparent()

void TGLSelectRecord::SetTransparent ( Bool_t  t)
inline

Definition at line 115 of file TGLSelectRecord.h.

Member Data Documentation

◆ fHighlight

Bool_t TGLSelectRecord::fHighlight
protected

Definition at line 89 of file TGLSelectRecord.h.

◆ fLogShape

TGLLogicalShape* TGLSelectRecord::fLogShape
protected

Definition at line 85 of file TGLSelectRecord.h.

◆ fMultiple

Bool_t TGLSelectRecord::fMultiple
protected

Definition at line 88 of file TGLSelectRecord.h.

◆ fObject

TObject* TGLSelectRecord::fObject
protected

Definition at line 86 of file TGLSelectRecord.h.

◆ fPhysShape

TGLPhysicalShape* TGLSelectRecord::fPhysShape
protected

Definition at line 84 of file TGLSelectRecord.h.

◆ fSceneInfo

TGLSceneInfo* TGLSelectRecord::fSceneInfo
protected

Definition at line 83 of file TGLSelectRecord.h.

◆ fSecSelRes

ESecSelResult TGLSelectRecord::fSecSelRes
protected

Definition at line 91 of file TGLSelectRecord.h.

◆ fSpecific

void* TGLSelectRecord::fSpecific
protected

Definition at line 87 of file TGLSelectRecord.h.

◆ fTransparent

Bool_t TGLSelectRecord::fTransparent
protected

Definition at line 82 of file TGLSelectRecord.h.

Libraries for TGLSelectRecord:
[legend]

The documentation for this class was generated from the following files: