ROOT logo
ROOT » GRAF3D » GL » TGLSelectBuffer

class TGLSelectBuffer

Function Members (Methods)

Data Members

protected:
UInt_t*fBufActual buffer.
Int_tfBufSizeSize of buffer.
Int_tfNRecordsNumber of records as returned by glRenderMode.
vector<pair<unsigned int,unsigned int*> >fSortedRecords
static Int_tfgMaxBufSize

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLSelectBuffer()
virtual ~TGLSelectBuffer()
Int_t GetBufSize() const
{ return fBufSize; }
UInt_t* GetBuf() const
{ return fBuf; }
Int_t GetNRecords() const
{ return fNRecords; }
Bool_t CanGrow()
void Grow()
void ProcessResult(Int_t glResult)
UInt_t* RawRecord(Int_t i)
{ return fSortedRecords[i].second; }
Int_t SelectRecord(TGLSelectRecordBase& rec, Int_t i)