12#ifndef ROOT_TGLSelectBuffer
13#define ROOT_TGLSelectBuffer
#define ClassDef(name, id)
Encapsulates OpenGL select buffer.
UInt_t * RawRecord(Int_t i)
void ProcessResult(Int_t glResult)
Process result of GL-selection: sort the hits by their minimum z-coordinate.
virtual ~TGLSelectBuffer()
Destructor.
Int_t GetNRecords() const
void Grow()
Increase size of the select buffer.
vRawRecord_t fSortedRecords
std::vector< RawRecord_t > vRawRecord_t
static Int_t fgMaxBufSize
std::pair< UInt_t, UInt_t * > RawRecord_t
Bool_t CanGrow()
static: return true if current buffer is smaller than the max buffer size
TGLSelectBuffer()
Constructor.
Int_t SelectRecord(TGLSelectRecordBase &rec, Int_t i)
Fill select record rec with data on (sorted) position i.
Base class for select records.