Logo ROOT   6.16/01
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TGLSelectionBuffer Class Reference

Definition at line 1131 of file TGLUtil.h.

Public Member Functions

 TGLSelectionBuffer ()
 TGLSelectionBuffer constructor. More...
 
virtual ~TGLSelectionBuffer ()
 TGLSelectionBuffer destructor. More...
 
const UChar_tGetPixelColor (Int_t px, Int_t py) const
 Get pixel color. More...
 
void ReadColorBuffer (Int_t width, Int_t height)
 Read color buffer. More...
 
void ReadColorBuffer (Int_t x, Int_t y, Int_t width, Int_t height)
 Read color buffer. More...
 

Private Member Functions

 TGLSelectionBuffer (const TGLSelectionBuffer &)
 
TGLSelectionBufferoperator= (const TGLSelectionBuffer &)
 

Private Attributes

std::vector< UChar_tfBuffer
 
Int_t fHeight
 
Int_t fWidth
 

#include <TGLUtil.h>

Constructor & Destructor Documentation

◆ TGLSelectionBuffer() [1/2]

TGLSelectionBuffer::TGLSelectionBuffer ( )

TGLSelectionBuffer constructor.

Definition at line 2804 of file TGLUtil.cxx.

◆ ~TGLSelectionBuffer()

TGLSelectionBuffer::~TGLSelectionBuffer ( )
virtual

TGLSelectionBuffer destructor.

Definition at line 2812 of file TGLUtil.cxx.

◆ TGLSelectionBuffer() [2/2]

TGLSelectionBuffer::TGLSelectionBuffer ( const TGLSelectionBuffer )
private

Member Function Documentation

◆ GetPixelColor()

const UChar_t * TGLSelectionBuffer::GetPixelColor ( Int_t  px,
Int_t  py 
) const

Get pixel color.

Definition at line 2843 of file TGLUtil.cxx.

◆ operator=()

TGLSelectionBuffer & TGLSelectionBuffer::operator= ( const TGLSelectionBuffer )
private

◆ ReadColorBuffer() [1/2]

void TGLSelectionBuffer::ReadColorBuffer ( Int_t  width,
Int_t  height 
)

Read color buffer.

Definition at line 2819 of file TGLUtil.cxx.

◆ ReadColorBuffer() [2/2]

void TGLSelectionBuffer::ReadColorBuffer ( Int_t  x,
Int_t  y,
Int_t  width,
Int_t  height 
)

Read color buffer.

Definition at line 2831 of file TGLUtil.cxx.

Member Data Documentation

◆ fBuffer

std::vector<UChar_t> TGLSelectionBuffer::fBuffer
private

Definition at line 1132 of file TGLUtil.h.

◆ fHeight

Int_t TGLSelectionBuffer::fHeight
private

Definition at line 1134 of file TGLUtil.h.

◆ fWidth

Int_t TGLSelectionBuffer::fWidth
private

Definition at line 1133 of file TGLUtil.h.


The documentation for this class was generated from the following files: