ROOT logo
ROOT » GRAF3D » GL » TGLBoxPainter

class TGLBoxPainter: public TGLPlotPainter

 Paints TH3 histograms by rendering variable-sized bozes matching the
 bin contents.

Function Members (Methods)

TGLBoxPainter(const TGLBoxPainter&)
virtual voidDeInitGL() const
voidDrawCloud() const
voidDrawPalette() const
virtual voidDrawPaletteAxis() const
virtual voidDrawPlot() const
virtual voidDrawSectionXOY() const
virtual voidDrawSectionXOZ() const
virtual voidDrawSectionYOZ() const
Bool_tHasSections() const
virtual voidInitGL() const
TGLBoxPainter&operator=(const TGLBoxPainter&)
voidSetPlotColor() const

Data Members

enum EBoxType { kBox
enum TGLPlotPainter::ESelectionBase { kHighColorSelectionBase
enum TGLPlotPainter::ECutAxisID { kXAxis
vector<Double_t>fPMPointsCache for polymarker's points.
const TPolyMarker3D*fPolymarkerPolymarker from TTree.

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLBoxPainter(TH1* hist, TGLPlotCamera* camera, TGLPlotCoordinates* coord)
 Normal constructor.
TGLBoxPainter(TH1* hist, TPolyMarker3D* pm, TGLPlotCamera* camera, TGLPlotCoordinates* coord)
 Normal constructor.
char * GetPlotInfo(Int_t px, Int_t py)
Show box info (i, j, k, binContent).
Bool_t InitGeometry()
Set ranges, find min and max bin content.
void StartPan(Int_t px, Int_t py)
 User clicks right mouse button (in a pad).
void Pan(Int_t px, Int_t py)
 User's moving mouse cursor, with middle mouse button pressed (for pad).
 Calculate 3d shift related to 2d mouse movement.
void AddOption(const TString& stringOption)
 Box1 == spheres.
void ProcessEvent(Int_t event, Int_t px, Int_t py)
 Remove sections.
void InitGL() const
 Initialize some gl state variables.
void DeInitGL() const
Return back some gl state variables.
void DrawPlot() const
void DrawCloud() const
Draw a frame and a polymarker inside.
void SetPlotColor() const
 Set boxes color.
void DrawSectionXOZ() const
 Draw XOZ parallel section.
void DrawSectionYOZ() const
 Draw YOZ parallel section.
void DrawSectionXOY() const
 Draw XOY parallel section.
Bool_t HasSections() const
 Check, if any section exists.
void DrawPalette() const
Draw. Palette.
Originally, fCamera was never null.
It can be a null now because of gl-viewer.
void DrawPaletteAxis() const
Draw. Palette. Axis.
TGLBoxPainter(const TGLBoxPainter& )