Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGLSelectionBuffer Class Reference

Definition at line 1133 of file TGLUtil.h.

Public Member Functions

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

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 2787 of file TGLUtil.cxx.

◆ ~TGLSelectionBuffer()

TGLSelectionBuffer::~TGLSelectionBuffer ( )
virtual

TGLSelectionBuffer destructor.

Definition at line 2795 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 2826 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 2802 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 2814 of file TGLUtil.cxx.

Member Data Documentation

◆ fBuffer

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

Definition at line 1134 of file TGLUtil.h.

◆ fHeight

Int_t TGLSelectionBuffer::fHeight
private

Definition at line 1136 of file TGLUtil.h.

◆ fWidth

Int_t TGLSelectionBuffer::fWidth
private

Definition at line 1135 of file TGLUtil.h.

Libraries for TGLSelectionBuffer:

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