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