Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
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.
 TGLSelectRecord (const TGLSelectRecord &rec)
 Copy constructor.
 TGLSelectRecord (UInt_t *data)
 Constructor from raw GL-select record.
 ~TGLSelectRecord () override
 Destructor.
UInt_t GetCurrItem () const
Bool_t GetHighlight () const
UInt_t GetItem (Int_t i) const
UInt_tGetItems () const
TGLLogicalShapeGetLogShape () const
Float_t GetMaxZ () const
Float_t GetMinZ () const
Bool_t GetMultiple () const
Int_t GetN () const
Int_t GetNLeft () const
TObjectGetObject () const
TGLPhysicalShapeGetPhysShape () const
TGLSceneInfoGetSceneInfo () const
ESecSelResult GetSecSelResult () const
void * GetSpecific () const
Bool_t GetTransparent () const
TClassIsA () const override
void NextPos ()
TGLSelectRecordoperator= (const TGLSelectRecord &rec)
 Copy operator.
void PrevPos ()
void Print ()
 Print contents of the select record to stdout.
void Reset () override
 Reinitialise all data to null values.
void ResetPos ()
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 SetRawOnly (UInt_t *data)
 Setup the record from raw buffer.
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)

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 TClassClass ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()

Protected Member Functions

void CopyItems (UInt_t *items)
 Copy data from names. fN must already be set.

Protected Attributes

Bool_t fHighlight
UInt_tfItems
TGLLogicalShapefLogShape
Float_t fMaxZ
Float_t fMinZ
Bool_t fMultiple
Int_t fN
TObjectfObject
TGLPhysicalShapefPhysShape
Int_t fPos
TGLSceneInfofSceneInfo
ESecSelResult fSecSelRes
void * fSpecific
Bool_t fTransparent

#include <TGLSelectRecord.h>

Inheritance diagram for TGLSelectRecord:
TGLSelectRecordBase

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 149 of file TGLSelectRecord.cxx.

◆ TGLSelectRecord() [2/3]

TGLSelectRecord::TGLSelectRecord ( UInt_t * data)

Constructor from raw GL-select record.

Definition at line 166 of file TGLSelectRecord.cxx.

◆ TGLSelectRecord() [3/3]

TGLSelectRecord::TGLSelectRecord ( const TGLSelectRecord & rec)

Copy constructor.

Definition at line 183 of file TGLSelectRecord.cxx.

◆ ~TGLSelectRecord()

TGLSelectRecord::~TGLSelectRecord ( )
override

Destructor.

Definition at line 200 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 278 of file TGLSelectRecord.cxx.

◆ Class()

TClass * TGLSelectRecord::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

const char * TGLSelectRecord::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

constexpr Version_t TGLSelectRecord::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 141 of file TGLSelectRecord.h.

◆ CopyItems()

void TGLSelectRecordBase::CopyItems ( UInt_t * items)
protectedinherited

Copy data from names. fN must already be set.

Definition at line 90 of file TGLSelectRecord.cxx.

◆ DeclFileName()

const char * TGLSelectRecord::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 141 of file TGLSelectRecord.h.

◆ GetCurrItem()

UInt_t TGLSelectRecordBase::GetCurrItem ( ) const
inlineinherited

Definition at line 60 of file TGLSelectRecord.h.

◆ GetHighlight()

Bool_t TGLSelectRecord::GetHighlight ( ) const
inline

Definition at line 121 of file TGLSelectRecord.h.

◆ GetItem()

UInt_t TGLSelectRecordBase::GetItem ( Int_t i) const
inlineinherited

Definition at line 56 of file TGLSelectRecord.h.

◆ GetItems()

UInt_t * TGLSelectRecordBase::GetItems ( ) const
inlineinherited

Definition at line 55 of file TGLSelectRecord.h.

◆ GetLogShape()

TGLLogicalShape * TGLSelectRecord::GetLogShape ( ) const
inline

Definition at line 117 of file TGLSelectRecord.h.

◆ GetMaxZ()

Float_t TGLSelectRecordBase::GetMaxZ ( ) const
inlineinherited

Definition at line 58 of file TGLSelectRecord.h.

◆ GetMinZ()

Float_t TGLSelectRecordBase::GetMinZ ( ) const
inlineinherited

Definition at line 57 of file TGLSelectRecord.h.

◆ GetMultiple()

Bool_t TGLSelectRecord::GetMultiple ( ) const
inline

Definition at line 120 of file TGLSelectRecord.h.

◆ GetN()

Int_t TGLSelectRecordBase::GetN ( ) const
inlineinherited

Definition at line 54 of file TGLSelectRecord.h.

◆ GetNLeft()

Int_t TGLSelectRecordBase::GetNLeft ( ) const
inlineinherited

Definition at line 61 of file TGLSelectRecord.h.

◆ GetObject()

TObject * TGLSelectRecord::GetObject ( ) const
inline

Definition at line 118 of file TGLSelectRecord.h.

◆ GetPhysShape()

TGLPhysicalShape * TGLSelectRecord::GetPhysShape ( ) const
inline

Definition at line 116 of file TGLSelectRecord.h.

◆ GetSceneInfo()

TGLSceneInfo * TGLSelectRecord::GetSceneInfo ( ) const
inline

Definition at line 115 of file TGLSelectRecord.h.

◆ GetSecSelResult()

ESecSelResult TGLSelectRecord::GetSecSelResult ( ) const
inline

Definition at line 123 of file TGLSelectRecord.h.

◆ GetSpecific()

void * TGLSelectRecord::GetSpecific ( ) const
inline

Definition at line 119 of file TGLSelectRecord.h.

◆ GetTransparent()

Bool_t TGLSelectRecord::GetTransparent ( ) const
inline

Definition at line 114 of file TGLSelectRecord.h.

◆ IsA()

TClass * TGLSelectRecord::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from TGLSelectRecordBase.

Definition at line 141 of file TGLSelectRecord.h.

◆ NextPos()

void TGLSelectRecordBase::NextPos ( )
inlineinherited

Definition at line 62 of file TGLSelectRecord.h.

◆ operator=()

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

Copy operator.

Definition at line 207 of file TGLSelectRecord.cxx.

◆ PrevPos()

void TGLSelectRecordBase::PrevPos ( )
inlineinherited

Definition at line 63 of file TGLSelectRecord.h.

◆ Print()

void TGLSelectRecord::Print ( )

Print contents of the select record to stdout.

Definition at line 263 of file TGLSelectRecord.cxx.

◆ Reset()

void TGLSelectRecord::Reset ( )
overridevirtual

Reinitialise all data to null values.

Reimplemented from TGLSelectRecordBase.

Definition at line 246 of file TGLSelectRecord.cxx.

◆ ResetPos()

void TGLSelectRecordBase::ResetPos ( )
inlineinherited

Definition at line 64 of file TGLSelectRecord.h.

◆ Set()

void TGLSelectRecord::Set ( UInt_t * data)
overridevirtual

Setup the record from raw buffer.

Non-core members are reset.

Reimplemented from TGLSelectRecordBase.

Definition at line 229 of file TGLSelectRecord.cxx.

◆ SetHighlight()

void TGLSelectRecord::SetHighlight ( Bool_t hlt)
inline

Definition at line 132 of file TGLSelectRecord.h.

◆ SetLogShape()

void TGLSelectRecord::SetLogShape ( TGLLogicalShape * lshp)
inline

Definition at line 128 of file TGLSelectRecord.h.

◆ SetMultiple()

void TGLSelectRecord::SetMultiple ( Bool_t multi)
inline

Definition at line 131 of file TGLSelectRecord.h.

◆ SetObject()

void TGLSelectRecord::SetObject ( TObject * obj)
inline

Definition at line 129 of file TGLSelectRecord.h.

◆ SetPhysShape()

void TGLSelectRecord::SetPhysShape ( TGLPhysicalShape * pshp)
inline

Definition at line 127 of file TGLSelectRecord.h.

◆ SetRawOnly()

void TGLSelectRecordBase::SetRawOnly ( UInt_t * data)
inherited

Setup the record from raw buffer.

Definition at line 104 of file TGLSelectRecord.cxx.

◆ SetSceneInfo()

void TGLSelectRecord::SetSceneInfo ( TGLSceneInfo * si)
inline

Definition at line 126 of file TGLSelectRecord.h.

◆ SetSecSelResult()

void TGLSelectRecord::SetSecSelResult ( ESecSelResult r)
inline

Definition at line 134 of file TGLSelectRecord.h.

◆ SetSpecific()

void TGLSelectRecord::SetSpecific ( void * spec)
inline

Definition at line 130 of file TGLSelectRecord.h.

◆ SetTransparent()

void TGLSelectRecord::SetTransparent ( Bool_t t)
inline

Definition at line 125 of file TGLSelectRecord.h.

◆ Streamer()

void TGLSelectRecord::Streamer ( TBuffer & )
overridevirtual

Reimplemented from TGLSelectRecordBase.

◆ StreamerNVirtual()

void TGLSelectRecord::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inline

Definition at line 141 of file TGLSelectRecord.h.

Member Data Documentation

◆ fHighlight

Bool_t TGLSelectRecord::fHighlight
protected

Definition at line 99 of file TGLSelectRecord.h.

◆ fItems

UInt_t* TGLSelectRecordBase::fItems
protectedinherited

Definition at line 32 of file TGLSelectRecord.h.

◆ fLogShape

TGLLogicalShape* TGLSelectRecord::fLogShape
protected

Definition at line 95 of file TGLSelectRecord.h.

◆ fMaxZ

Float_t TGLSelectRecordBase::fMaxZ
protectedinherited

Definition at line 34 of file TGLSelectRecord.h.

◆ fMinZ

Float_t TGLSelectRecordBase::fMinZ
protectedinherited

Definition at line 33 of file TGLSelectRecord.h.

◆ fMultiple

Bool_t TGLSelectRecord::fMultiple
protected

Definition at line 98 of file TGLSelectRecord.h.

◆ fN

Int_t TGLSelectRecordBase::fN
protectedinherited

Definition at line 31 of file TGLSelectRecord.h.

◆ fObject

TObject* TGLSelectRecord::fObject
protected

Definition at line 96 of file TGLSelectRecord.h.

◆ fPhysShape

TGLPhysicalShape* TGLSelectRecord::fPhysShape
protected

Definition at line 94 of file TGLSelectRecord.h.

◆ fPos

Int_t TGLSelectRecordBase::fPos
protectedinherited

Definition at line 37 of file TGLSelectRecord.h.

◆ fSceneInfo

TGLSceneInfo* TGLSelectRecord::fSceneInfo
protected

Definition at line 93 of file TGLSelectRecord.h.

◆ fSecSelRes

ESecSelResult TGLSelectRecord::fSecSelRes
protected

Definition at line 101 of file TGLSelectRecord.h.

◆ fSpecific

void* TGLSelectRecord::fSpecific
protected

Definition at line 97 of file TGLSelectRecord.h.

◆ fTransparent

Bool_t TGLSelectRecord::fTransparent
protected

Definition at line 92 of file TGLSelectRecord.h.


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