ROOT  6.06/09
Reference Guide
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TGLLevelPalette Class Reference

Definition at line 1341 of file TGLUtil.h.

Public Member Functions

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

Private Member Functions

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

Private Attributes

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

#include <TGLUtil.h>

+ Collaboration diagram for TGLLevelPalette:

Constructor & Destructor Documentation

TGLLevelPalette::TGLLevelPalette ( const TGLLevelPalette )
private
TGLLevelPalette::TGLLevelPalette ( )

Ctor.

Definition at line 4117 of file TGLUtil.cxx.

Member Function Documentation

void TGLLevelPalette::DisableTexture ( ) const
void TGLLevelPalette::EnableTexture ( Int_t  mode) const
Bool_t TGLLevelPalette::GeneratePalette ( UInt_t  paletteSize,
const Rgl::Range_t zRange,
Bool_t  checkSize = kTRUE 
)
const UChar_t * TGLLevelPalette::GetColour ( Double_t  z) const

Get color.

Definition at line 4258 of file TGLUtil.cxx.

Referenced by Rgl::DrawPalette(), TGLVoxelPainter::FindVoxelColor(), and TGLIsoPainter::SetSurfaceColor().

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

Get color.

Definition at line 4275 of file TGLUtil.cxx.

Int_t TGLLevelPalette::GetPaletteSize ( ) const

Get. Palette. Size.

Definition at line 4221 of file TGLUtil.cxx.

Referenced by TGLVoxelPainter::DrawPalette(), TGLBoxPainter::DrawPalette(), and Rgl::DrawPalette().

Double_t TGLLevelPalette::GetTexCoord ( Double_t  z) const
TGLLevelPalette& TGLLevelPalette::operator= ( const TGLLevelPalette )
private
void TGLLevelPalette::SetContours ( const std::vector< Double_t > *  contours)

Clear :)

Definition at line 4185 of file TGLUtil.cxx.

Referenced by TGLVoxelPainter::PreparePalette().

Member Data Documentation

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

Definition at line 1344 of file TGLUtil.h.

Referenced by GetTexCoord(), and SetContours().

Int_t TGLLevelPalette::fMaxPaletteSize
private

Definition at line 1347 of file TGLUtil.h.

Referenced by GeneratePalette().

UInt_t TGLLevelPalette::fPaletteSize
private

Definition at line 1345 of file TGLUtil.h.

Referenced by GeneratePalette(), GetColour(), GetPaletteSize(), and GetTexCoord().

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

Definition at line 1343 of file TGLUtil.h.

Referenced by EnableTexture(), GeneratePalette(), GetColour(), and GetTexCoord().

UInt_t TGLLevelPalette::fTexture
mutableprivate

Definition at line 1346 of file TGLUtil.h.

Referenced by DisableTexture(), and EnableTexture().

Rgl::Range_t TGLLevelPalette::fZRange
private

Definition at line 1348 of file TGLUtil.h.

Referenced by GeneratePalette(), GetColour(), and GetTexCoord().


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