TGLSelectBuffer Class Reference

#include <TGLSelectBuffer.h>

List of all members.

Public Member Functions

 TGLSelectBuffer ()
virtual ~TGLSelectBuffer ()
Int_t GetBufSize () const
UInt_tGetBuf () const
Int_t GetNRecords () const
Bool_t CanGrow ()
void Grow ()
void ProcessResult (Int_t glResult)
UInt_tRawRecord (Int_t i)
void SelectRecord (TGLSelectRecordBase &rec, Int_t i)
 TGLSelectBuffer ()
virtual ~TGLSelectBuffer ()
Int_t GetBufSize () const
UInt_tGetBuf () const
Int_t GetNRecords () const
Bool_t CanGrow ()
void Grow ()
void ProcessResult (Int_t glResult)
UInt_tRawRecord (Int_t i)
void SelectRecord (TGLSelectRecordBase &rec, Int_t i)

Protected Types

typedef std::pair< UInt_t,
UInt_t * > 
RawRecord_t
typedef std::vector< RawRecord_tvRawRecord_t
typedef std::pair< UInt_t,
UInt_t * > 
RawRecord_t
typedef std::vector< RawRecord_tvRawRecord_t

Protected Attributes

Int_t fBufSize
UInt_tfBuf
Int_t fNRecords
vRawRecord_t fSortedRecords
UInt_tfBuf

Static Protected Attributes

static Int_t fgMaxBufSize


Detailed Description

Definition at line 25 of file TGLSelectBuffer.h.


Member Typedef Documentation

typedef std::pair<UInt_t, UInt_t*> TGLSelectBuffer::RawRecord_t [protected]

Definition at line 33 of file TGLSelectBuffer.h.

typedef std::vector<RawRecord_t> TGLSelectBuffer::vRawRecord_t [protected]

Definition at line 34 of file TGLSelectBuffer.h.

typedef std::pair<UInt_t, UInt_t*> TGLSelectBuffer::RawRecord_t [protected]

Definition at line 33 of file TGLSelectBuffer.h.

typedef std::vector<RawRecord_t> TGLSelectBuffer::vRawRecord_t [protected]

Definition at line 34 of file TGLSelectBuffer.h.


Constructor & Destructor Documentation

TGLSelectBuffer::TGLSelectBuffer (  ) 

Definition at line 27 of file TGLSelectBuffer.cxx.

TGLSelectBuffer::~TGLSelectBuffer (  )  [virtual]

Definition at line 36 of file TGLSelectBuffer.cxx.

References fBuf.

TGLSelectBuffer::TGLSelectBuffer (  ) 

virtual TGLSelectBuffer::~TGLSelectBuffer (  )  [virtual]


Member Function Documentation

Int_t TGLSelectBuffer::GetBufSize (  )  const [inline]

Definition at line 44 of file TGLSelectBuffer.h.

References fBufSize.

Referenced by TGLRnrCtx::BeginSelection(), and TGLRnrCtx::EndSelection().

UInt_t* TGLSelectBuffer::GetBuf (  )  const [inline]

Definition at line 45 of file TGLSelectBuffer.h.

References fBuf.

Referenced by TGLRnrCtx::BeginSelection().

Int_t TGLSelectBuffer::GetNRecords (  )  const [inline]

Definition at line 46 of file TGLSelectBuffer.h.

References fNRecords.

Referenced by TGLViewerBase::ResolveSelectRecord().

Bool_t TGLSelectBuffer::CanGrow (  ) 

Definition at line 44 of file TGLSelectBuffer.cxx.

References fBufSize, and fgMaxBufSize.

Referenced by TGLRnrCtx::EndSelection().

void TGLSelectBuffer::Grow (  ) 

Definition at line 51 of file TGLSelectBuffer.cxx.

References fBuf, fBufSize, fgMaxBufSize, and TMath::Min().

Referenced by TGLRnrCtx::EndSelection().

void TGLSelectBuffer::ProcessResult ( Int_t  glResult  ) 

Definition at line 61 of file TGLSelectBuffer.cxx.

References buf, fBuf, fNRecords, fSortedRecords, i, and sort().

Referenced by TGLRnrCtx::EndSelection().

UInt_t* TGLSelectBuffer::RawRecord ( Int_t  i  )  [inline]

Definition at line 53 of file TGLSelectBuffer.h.

References fSortedRecords.

Referenced by TGLViewer::DoSecondarySelect().

void TGLSelectBuffer::SelectRecord ( TGLSelectRecordBase rec,
Int_t  i 
)

Definition at line 90 of file TGLSelectBuffer.cxx.

References fSortedRecords, and TGLSelectRecordBase::Set().

Referenced by TGLViewerBase::FindClosestOverlayRecord(), and TGLViewerBase::ResolveSelectRecord().

Int_t TGLSelectBuffer::GetBufSize (  )  const [inline]

Definition at line 44 of file TGLSelectBuffer.h.

References fBufSize.

UInt_t* TGLSelectBuffer::GetBuf (  )  const [inline]

Definition at line 45 of file TGLSelectBuffer.h.

References fBuf.

Int_t TGLSelectBuffer::GetNRecords (  )  const [inline]

Definition at line 46 of file TGLSelectBuffer.h.

References fNRecords.

Bool_t TGLSelectBuffer::CanGrow (  ) 

void TGLSelectBuffer::Grow (  ) 

void TGLSelectBuffer::ProcessResult ( Int_t  glResult  ) 

UInt_t* TGLSelectBuffer::RawRecord ( Int_t  i  )  [inline]

Definition at line 53 of file TGLSelectBuffer.h.

References fSortedRecords.

void TGLSelectBuffer::SelectRecord ( TGLSelectRecordBase rec,
Int_t  i 
)


Member Data Documentation

Int_t TGLSelectBuffer::fBufSize [protected]

Definition at line 28 of file TGLSelectBuffer.h.

Referenced by CanGrow(), GetBufSize(), and Grow().

UInt_t* TGLSelectBuffer::fBuf [protected]

Definition at line 29 of file TGLSelectBuffer.h.

Referenced by GetBuf(), Grow(), ProcessResult(), and ~TGLSelectBuffer().

Int_t TGLSelectBuffer::fNRecords [protected]

Definition at line 31 of file TGLSelectBuffer.h.

Referenced by GetNRecords(), and ProcessResult().

vRawRecord_t TGLSelectBuffer::fSortedRecords [protected]

Definition at line 36 of file TGLSelectBuffer.h.

Referenced by ProcessResult(), RawRecord(), and SelectRecord().

static Int_t TGLSelectBuffer::fgMaxBufSize [static, protected]

Definition at line 38 of file TGLSelectBuffer.h.

Referenced by CanGrow(), and Grow().

UInt_t* TGLSelectBuffer::fBuf [protected]

Definition at line 29 of file TGLSelectBuffer.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:40:15 2011 for ROOT_528-00b_version by  doxygen 1.5.1