1 #ifndef ROOT_TGLVoxelPainter 2 #define ROOT_TGLVoxelPainter 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.
void SetVoxelColor(const Float_t *rgba) const
Set box color.
std::pair< Double_t, Double_t > Range_t
void DeInitGL() const
Return back some gl state variables.
Paint TH3 histograms as "voxels" - colored boxes, transparent if transfer function was specified...
void DrawPalette() const
Draw. Palette.
void DrawSectionXOZ() const
Noop.
void Pan(Int_t px, Int_t py)
User's moving mouse cursor, with middle mouse button pressed (for pad).
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 PreparePalette() const
Generate palette.
void DrawSectionXOY() const
Noop.
void ProcessEvent(Int_t event, Int_t px, Int_t py)
Remove sections, switch on/off box cut.
void DrawSectionYOZ() const
Noop.
void DrawPlot() const
Draw "voxels".
Helper class for plot-painters holding information about axis ranges, numbers of bins and flags if ce...
Bool_t HasSections() const
Base class for plot-painters that provide GL rendering of various 2D and 3D histograms, functions and parametric surfaces.
void InitGL() const
Initialize some gl state variables.
Orthographic projection camera.
void DrawPaletteAxis() const
Draw. Palette. Axis.
Bool_t InitGeometry()
Set ranges, find min and max bin content.
void FindVoxelColor(Double_t binContent, Float_t *rgba) const
Find box color.