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

Definition at line 1342 of file TGLUtil.h.

Public Member Functions

 TGLLevelPalette ()
 Ctor.
 
void DisableTexture () const
 Disable 1D texture.
 
void EnableTexture (Int_t mode) const
 Enable 1D texture.
 
Bool_t GeneratePalette (UInt_t paletteSize, const Rgl::Range_t &zRange, Bool_t checkSize=kTRUE)
 Try to find colors for palette.
 
const UChar_tGetColour (Double_t z) const
 Get color.
 
const UChar_tGetColour (Int_t ind) const
 Get color.
 
Int_t GetPaletteSize () const
 Get. Palette. Size.
 
Double_t GetTexCoord (Double_t z) const
 Get tex coordinate.
 
void SetContours (const std::vector< Double_t > *contours)
 Clear :)
 

Private Member Functions

 TGLLevelPalette (const TGLLevelPalette &)=delete
 
TGLLevelPaletteoperator= (const TGLLevelPalette &)=delete
 

Private Attributes

const std::vector< Double_t > * fContours
 
Int_t fMaxPaletteSize
 
UInt_t fPaletteSize
 
std::vector< UChar_tfTexels
 
UInt_t fTexture
 
Rgl::Range_t fZRange
 

#include <TGLUtil.h>

Constructor & Destructor Documentation

◆ TGLLevelPalette() [1/2]

TGLLevelPalette::TGLLevelPalette ( const TGLLevelPalette )
privatedelete

◆ TGLLevelPalette() [2/2]

TGLLevelPalette::TGLLevelPalette ( )

Ctor.

Definition at line 4159 of file TGLUtil.cxx.

Member Function Documentation

◆ DisableTexture()

void TGLLevelPalette::DisableTexture ( ) const

Disable 1D texture.

Definition at line 4254 of file TGLUtil.cxx.

◆ EnableTexture()

void TGLLevelPalette::EnableTexture ( Int_t  mode) const

Enable 1D texture.

Definition at line 4235 of file TGLUtil.cxx.

◆ GeneratePalette()

Bool_t TGLLevelPalette::GeneratePalette ( UInt_t  paletteSize,
const Rgl::Range_t zRange,
Bool_t  checkSize = kTRUE 
)

Try to find colors for palette.

Definition at line 4170 of file TGLUtil.cxx.

◆ GetColour() [1/2]

const UChar_t * TGLLevelPalette::GetColour ( Double_t  z) const

Get color.

Definition at line 4300 of file TGLUtil.cxx.

◆ GetColour() [2/2]

const UChar_t * TGLLevelPalette::GetColour ( Int_t  ind) const

Get color.

Definition at line 4317 of file TGLUtil.cxx.

◆ GetPaletteSize()

Int_t TGLLevelPalette::GetPaletteSize ( ) const

Get. Palette. Size.

Definition at line 4263 of file TGLUtil.cxx.

◆ GetTexCoord()

Double_t TGLLevelPalette::GetTexCoord ( Double_t  z) const

Get tex coordinate.

Definition at line 4271 of file TGLUtil.cxx.

◆ operator=()

TGLLevelPalette & TGLLevelPalette::operator= ( const TGLLevelPalette )
privatedelete

◆ SetContours()

void TGLLevelPalette::SetContours ( const std::vector< Double_t > *  contours)

Clear :)

Definition at line 4227 of file TGLUtil.cxx.

Member Data Documentation

◆ fContours

const std::vector<Double_t>* TGLLevelPalette::fContours
private

Definition at line 1345 of file TGLUtil.h.

◆ fMaxPaletteSize

Int_t TGLLevelPalette::fMaxPaletteSize
private

Definition at line 1348 of file TGLUtil.h.

◆ fPaletteSize

UInt_t TGLLevelPalette::fPaletteSize
private

Definition at line 1346 of file TGLUtil.h.

◆ fTexels

std::vector<UChar_t> TGLLevelPalette::fTexels
private

Definition at line 1344 of file TGLUtil.h.

◆ fTexture

UInt_t TGLLevelPalette::fTexture
mutableprivate

Definition at line 1347 of file TGLUtil.h.

◆ fZRange

Rgl::Range_t TGLLevelPalette::fZRange
private

Definition at line 1349 of file TGLUtil.h.

Libraries for TGLLevelPalette:

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