![]() |
ROOT
6.06/09
Reference Guide
|
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_t * | GetColour (Double_t z) const |
| Get color. More... | |
| const UChar_t * | GetColour (Int_t ind) const |
| Get color. More... | |
Private Member Functions | |
| TGLLevelPalette (const TGLLevelPalette &) | |
| TGLLevelPalette & | operator= (const TGLLevelPalette &) |
Private Attributes | |
| std::vector< UChar_t > | fTexels |
| 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:
|
private |
| TGLLevelPalette::TGLLevelPalette | ( | ) |
Ctor.
Definition at line 4117 of file TGLUtil.cxx.
| void TGLLevelPalette::DisableTexture | ( | ) | const |
Disable 1D texture.
Definition at line 4212 of file TGLUtil.cxx.
Referenced by TGLLegoPainter::DrawLegoCartesian(), TGLLegoPainter::DrawLegoCylindrical(), TGLLegoPainter::DrawLegoPolar(), TGLLegoPainter::DrawLegoSpherical(), TGLSurfacePainter::DrawPlot(), and TGLTH3Slice::DrawSlice().
Enable 1D texture.
Definition at line 4193 of file TGLUtil.cxx.
Referenced by TGLLegoPainter::DrawLegoCartesian(), TGLLegoPainter::DrawLegoCylindrical(), TGLLegoPainter::DrawLegoPolar(), TGLLegoPainter::DrawLegoSpherical(), TGLSurfacePainter::DrawPlot(), and TGLTH3Slice::DrawSlice().
| 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 4128 of file TGLUtil.cxx.
Referenced by TGLIsoPainter::InitGeometry(), TGLVoxelPainter::PreparePalette(), TGLLegoPainter::PreparePalette(), TGLSurfacePainter::PreparePalette(), and TGLTH3Slice::PreparePalette().
Get color.
Definition at line 4258 of file TGLUtil.cxx.
Referenced by Rgl::DrawPalette(), TGLVoxelPainter::FindVoxelColor(), and TGLIsoPainter::SetSurfaceColor().
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().
Get tex coordinate.
Definition at line 4229 of file TGLUtil.cxx.
Referenced by TGLLegoPainter::DrawLegoCartesian(), TGLLegoPainter::DrawLegoCylindrical(), TGLLegoPainter::DrawLegoPolar(), TGLLegoPainter::DrawLegoSpherical(), TGLSurfacePainter::GenTexMap(), and TGLTH3Slice::PrepareTexCoords().
|
private |
Clear :)
Definition at line 4185 of file TGLUtil.cxx.
Referenced by TGLVoxelPainter::PreparePalette().
|
private |
Definition at line 1344 of file TGLUtil.h.
Referenced by GetTexCoord(), and SetContours().
|
private |
Definition at line 1347 of file TGLUtil.h.
Referenced by GeneratePalette().
|
private |
Definition at line 1345 of file TGLUtil.h.
Referenced by GeneratePalette(), GetColour(), GetPaletteSize(), and GetTexCoord().
|
private |
Definition at line 1343 of file TGLUtil.h.
Referenced by EnableTexture(), GeneratePalette(), GetColour(), and GetTexCoord().
|
mutableprivate |
Definition at line 1346 of file TGLUtil.h.
Referenced by DisableTexture(), and EnableTexture().
|
private |
Definition at line 1348 of file TGLUtil.h.
Referenced by GeneratePalette(), GetColour(), and GetTexCoord().