Base class for select records.
Supports initialization from a raw GL record (UInt_t*) and copies the name-data into internal array.
Definition at line 27 of file TGLSelectRecord.h.
Public Member Functions | |
TGLSelectRecordBase () | |
Default constructor. More... | |
TGLSelectRecordBase (const TGLSelectRecordBase &rec) | |
Copy constructor. More... | |
TGLSelectRecordBase (UInt_t *data) | |
Constructor from raw GL-select record. More... | |
virtual | ~TGLSelectRecordBase () |
Destructor. More... | |
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. More... | |
void | PrevPos () |
virtual void | Reset () |
Reinitialise all data to null values. More... | |
void | ResetPos () |
virtual void | Set (UInt_t *data) |
Setup the record from raw buffer. More... | |
void | SetRawOnly (UInt_t *data) |
Setup the record from raw buffer. More... | |
Protected Member Functions | |
void | CopyItems (UInt_t *items) |
Copy data from names. fN must already be set. More... | |
Protected Attributes | |
UInt_t * | fItems |
Float_t | fMaxZ |
Float_t | fMinZ |
Int_t | fN |
Int_t | fPos |
#include <TGLSelectRecord.h>
TGLSelectRecordBase::TGLSelectRecordBase | ( | ) |
Default constructor.
Definition at line 29 of file TGLSelectRecord.cxx.
TGLSelectRecordBase::TGLSelectRecordBase | ( | UInt_t * | data | ) |
Constructor from raw GL-select record.
Definition at line 41 of file TGLSelectRecord.cxx.
TGLSelectRecordBase::TGLSelectRecordBase | ( | const TGLSelectRecordBase & | rec | ) |
Copy constructor.
Definition at line 54 of file TGLSelectRecord.cxx.
|
virtual |
Destructor.
Definition at line 67 of file TGLSelectRecord.cxx.
Copy data from names. fN must already be set.
Definition at line 91 of file TGLSelectRecord.cxx.
|
inline |
Definition at line 60 of file TGLSelectRecord.h.
Definition at line 56 of file TGLSelectRecord.h.
|
inline |
Definition at line 55 of file TGLSelectRecord.h.
|
inline |
Definition at line 58 of file TGLSelectRecord.h.
|
inline |
Definition at line 57 of file TGLSelectRecord.h.
|
inline |
Definition at line 54 of file TGLSelectRecord.h.
|
inline |
Definition at line 61 of file TGLSelectRecord.h.
|
inline |
Definition at line 62 of file TGLSelectRecord.h.
TGLSelectRecordBase & TGLSelectRecordBase::operator= | ( | const TGLSelectRecordBase & | rec | ) |
Copy operator.
Definition at line 75 of file TGLSelectRecord.cxx.
|
inline |
Definition at line 63 of file TGLSelectRecord.h.
Reinitialise all data to null values.
Reimplemented in TGLSelectRecord, and TGLOvlSelectRecord.
Definition at line 128 of file TGLSelectRecord.cxx.
|
inline |
Definition at line 64 of file TGLSelectRecord.h.
Setup the record from raw buffer.
Reimplemented in TGLSelectRecord, and TGLOvlSelectRecord.
Definition at line 116 of file TGLSelectRecord.cxx.
Setup the record from raw buffer.
Definition at line 105 of file TGLSelectRecord.cxx.
|
protected |
Definition at line 32 of file TGLSelectRecord.h.
|
protected |
Definition at line 34 of file TGLSelectRecord.h.
|
protected |
Definition at line 33 of file TGLSelectRecord.h.
|
protected |
Definition at line 31 of file TGLSelectRecord.h.
|
protected |
Definition at line 37 of file TGLSelectRecord.h.