1 #ifndef ROOT_TGLVoxelPainter 2 #define ROOT_TGLVoxelPainter 7 #ifndef ROOT_TGLPlotPainter 10 #ifndef ROOT_TGLQuadric void AddOption(const TString &stringOption)
"z" draw palette or not.
void StartPan(Int_t px, Int_t py)
User clicks right mouse button (in a pad).
Camera for TGLPlotPainter and sub-classes.
std::pair< Double_t, Double_t > Range_t
void DrawPalette() const
Draw. Palette.
Paint TH3 histograms as "voxels" - colored boxes, transparent if transfer function was specified...
void Pan(Int_t px, Int_t py)
User's moving mouse cursor, with middle mouse button pressed (for pad).
void DrawSectionXOZ() const
Noop.
TGLVoxelPainter(const TGLVoxelPainter &)
#define ClassDef(name, id)
std::vector< Double_t > fLevels
char * GetPlotInfo(Int_t px, Int_t py)
Show box info (i, j, k, binContent).
TGLVoxelPainter & operator=(const TGLVoxelPainter &)
void SetVoxelColor(const Float_t *rgba) const
Set box color.
void FindVoxelColor(Double_t binContent, Float_t *rgba) const
Find box color.
void ProcessEvent(Int_t event, Int_t px, Int_t py)
Remove sections, switch on/off box cut.
void DrawPaletteAxis() const
Draw. Palette. Axis.
Bool_t HasSections() const
Helper class for plot-painters holding information about axis ranges, numbers of bins and flags if ce...
Base class for plot-painters that provide GL rendering of various 2D and 3D histograms, functions and parametric surfaces.
void DrawSectionYOZ() const
Noop.
void InitGL() const
Initialize some gl state variables.
Orthographic projection camera.
void DrawPlot() const
Draw "voxels".
void DeInitGL() const
Return back some gl state variables.
Bool_t InitGeometry()
Set ranges, find min and max bin content.
void PreparePalette() const
Generate palette.
void DrawSectionXOY() const
Noop.