A++ » INCLUDE » TGLSelectionBuffer

class TGLSelectionBuffer


TGLVertex3

3 component (x/y/z) vertex class

 This is part of collection of utility classes for GL in TGLUtil.h/cxx
These provide const and non-const accessors Arr() / CArr() to a GL
 compatible internal field - so can be used directly with OpenGL C API
calls. They are not intended to be fully featured just provide
minimum required.

Function Members (Methods)

public:
virtual~TGLSelectionBuffer()
static TClass*Class()
const UChar_t*GetPixelColor(Int_t px, Int_t py) const
virtual TClass*IsA() const
voidReadColorBuffer(Int_t width, Int_t height)
voidReadColorBuffer(Int_t x, Int_t y, Int_t width, Int_t height)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TGLSelectionBuffer()

Data Members

private:
vector<UChar_t>fBuffer
Int_tfHeight
Int_tfWidth

Class Charts

Inheritance Chart:
TGLSelectionBuffer

Function documentation

TGLColor& operator=(const TGLSelectionBuffer& )
TGLSelectionBuffer()
virtual ~TGLSelectionBuffer()
void ReadColorBuffer(Int_t width, Int_t height)
void ReadColorBuffer(Int_t x, Int_t y, Int_t width, Int_t height)
const UChar_t * GetPixelColor(Int_t px, Int_t py) const
TGLSelectionBuffer(const TGLSelectionBuffer& )