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. | |
TGLSelectRecord (const TGLSelectRecord &rec) | |
Copy constructor. | |
TGLSelectRecord (UInt_t *data) | |
Constructor from raw GL-select record. | |
~TGLSelectRecord () override | |
Destructor. | |
Bool_t | GetHighlight () const |
TGLLogicalShape * | GetLogShape () const |
Bool_t | GetMultiple () const |
TObject * | GetObject () const |
TGLPhysicalShape * | GetPhysShape () const |
TGLSceneInfo * | GetSceneInfo () const |
ESecSelResult | GetSecSelResult () const |
void * | GetSpecific () const |
Bool_t | GetTransparent () const |
TClass * | IsA () const override |
TGLSelectRecord & | operator= (const TGLSelectRecord &rec) |
Copy operator. | |
void | Print () |
Print contents of the select record to stdout. | |
void | Reset () override |
Reinitialise all data to null values. | |
void | Set (UInt_t *data) override |
Setup the record from raw buffer. | |
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) |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TGLSelectRecordBase | |
TGLSelectRecordBase () | |
Default constructor. | |
TGLSelectRecordBase (const TGLSelectRecordBase &rec) | |
Copy constructor. | |
TGLSelectRecordBase (UInt_t *data) | |
Constructor from raw GL-select record. | |
virtual | ~TGLSelectRecordBase () |
Destructor. | |
UInt_t | GetCurrItem () const |
UInt_t | GetItem (Int_t i) const |
UInt_t * | GetItems () const |
Float_t | GetMaxZ () const |
Float_t | GetMinZ () const |
Int_t | GetN () const |
Int_t | GetNLeft () const |
void | NextPos () |
TGLSelectRecordBase & | operator= (const TGLSelectRecordBase &rec) |
Copy operator. | |
void | PrevPos () |
void | ResetPos () |
void | SetRawOnly (UInt_t *data) |
Setup the record from raw buffer. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
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. | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TGLSelectRecordBase | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Protected Attributes | |
Bool_t | fHighlight |
TGLLogicalShape * | fLogShape |
Bool_t | fMultiple |
TObject * | fObject |
TGLPhysicalShape * | fPhysShape |
TGLSceneInfo * | fSceneInfo |
ESecSelResult | fSecSelRes |
void * | fSpecific |
Bool_t | fTransparent |
Protected Attributes inherited from TGLSelectRecordBase | |
UInt_t * | fItems |
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. | |
#include <TGLSelectRecord.h>
Enumerator | |
---|---|
kNone | |
kEnteringSelection | |
kLeavingSelection | |
kModifyingInternalSelection |
Definition at line 77 of file TGLSelectRecord.h.
TGLSelectRecord::TGLSelectRecord | ( | ) |
Default constructor.
Definition at line 151 of file TGLSelectRecord.cxx.
TGLSelectRecord::TGLSelectRecord | ( | UInt_t * | data | ) |
Constructor from raw GL-select record.
Definition at line 168 of file TGLSelectRecord.cxx.
TGLSelectRecord::TGLSelectRecord | ( | const TGLSelectRecord & | rec | ) |
Copy constructor.
Definition at line 185 of file TGLSelectRecord.cxx.
|
override |
Destructor.
Definition at line 202 of file TGLSelectRecord.cxx.
|
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.
|
static |
|
inlinestaticconstexpr |
Definition at line 131 of file TGLSelectRecord.h.
|
inlinestatic |
Definition at line 131 of file TGLSelectRecord.h.
|
inline |
Definition at line 111 of file TGLSelectRecord.h.
|
inline |
Definition at line 107 of file TGLSelectRecord.h.
|
inline |
Definition at line 110 of file TGLSelectRecord.h.
|
inline |
Definition at line 108 of file TGLSelectRecord.h.
|
inline |
Definition at line 106 of file TGLSelectRecord.h.
|
inline |
Definition at line 105 of file TGLSelectRecord.h.
|
inline |
Definition at line 113 of file TGLSelectRecord.h.
|
inline |
Definition at line 109 of file TGLSelectRecord.h.
|
inline |
Definition at line 104 of file TGLSelectRecord.h.
|
inlineoverridevirtual |
Reimplemented from TGLSelectRecordBase.
Definition at line 131 of file TGLSelectRecord.h.
TGLSelectRecord & TGLSelectRecord::operator= | ( | const TGLSelectRecord & | rec | ) |
Copy operator.
Definition at line 209 of file TGLSelectRecord.cxx.
void TGLSelectRecord::Print | ( | ) |
Print contents of the select record to stdout.
Definition at line 265 of file TGLSelectRecord.cxx.
|
overridevirtual |
Reinitialise all data to null values.
Reimplemented from TGLSelectRecordBase.
Definition at line 248 of file TGLSelectRecord.cxx.
|
overridevirtual |
Setup the record from raw buffer.
Non-core members are reset.
Reimplemented from TGLSelectRecordBase.
Definition at line 231 of file TGLSelectRecord.cxx.
|
inline |
Definition at line 122 of file TGLSelectRecord.h.
|
inline |
Definition at line 118 of file TGLSelectRecord.h.
|
inline |
Definition at line 121 of file TGLSelectRecord.h.
|
inline |
Definition at line 119 of file TGLSelectRecord.h.
|
inline |
Definition at line 117 of file TGLSelectRecord.h.
|
inline |
Definition at line 116 of file TGLSelectRecord.h.
|
inline |
Definition at line 124 of file TGLSelectRecord.h.
|
inline |
Definition at line 120 of file TGLSelectRecord.h.
|
inline |
Definition at line 115 of file TGLSelectRecord.h.
|
overridevirtual |
Reimplemented from TGLSelectRecordBase.
|
inline |
Definition at line 131 of file TGLSelectRecord.h.
|
protected |
Definition at line 89 of file TGLSelectRecord.h.
|
protected |
Definition at line 85 of file TGLSelectRecord.h.
|
protected |
Definition at line 88 of file TGLSelectRecord.h.
|
protected |
Definition at line 86 of file TGLSelectRecord.h.
|
protected |
Definition at line 84 of file TGLSelectRecord.h.
|
protected |
Definition at line 83 of file TGLSelectRecord.h.
|
protected |
Definition at line 91 of file TGLSelectRecord.h.
|
protected |
Definition at line 87 of file TGLSelectRecord.h.
|
protected |
Definition at line 82 of file TGLSelectRecord.h.