ROOT » GRAF3D » GL » TGLBoxPainter

class TGLBoxPainter: public TGLPlotPainter


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

Function Members (Methods)

public:
virtual~TGLBoxPainter()
virtual voidAddOption(const TString& stringOption)
static TClass*Class()
Bool_tTGLPlotPainter::CutAxisSelected() const
Bool_tTGLPlotPainter::GetDrawAxes()
virtual char*GetPlotInfo(Int_t px, Int_t py)
virtual Bool_tInitGeometry()
voidTGLPlotPainter::InvalidateSelection()
virtual TClass*IsA() const
virtual voidTGLPlotPainter::Paint()
virtual voidPan(Int_t px, Int_t py)
virtual Bool_tTGLPlotPainter::PlotSelected(Int_t px, Int_t py)
virtual voidProcessEvent(Int_t event, Int_t px, Int_t py)
const TGLPlotBox&TGLPlotPainter::RefBackBox() const
voidTGLPlotPainter::SetDrawAxes(Bool_t s)
voidTGLPlotPainter::SetDrawBackBox(Bool_t b)
voidTGLPlotPainter::SetDrawFrontBox(Bool_t b)
virtual voidTGLPlotPainter::SetFrameColor(const TColor* frameColor)
voidTGLPlotPainter::SetPadColor(const TColor* color)
voidTGLPlotPainter::SetPhysicalShapeColor(const Float_t* rgba)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStartPan(Int_t px, Int_t py)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TGLBoxPainter(TH1* hist, TGLPlotCamera* camera, TGLPlotCoordinates* coord)
TGLBoxPainter(TH1* hist, TPolyMarker3D* pm, TGLPlotCamera* camera, TGLPlotCoordinates* coord)
private:
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
TGLBoxPainter(const TGLBoxPainter&)

Data Members

private:
Rgl::Range_tfMinMaxVal
vector<Double_t>fPMPointsCache for polymarker's points.
TStringfPlotInfo
const TPolyMarker3D*fPolymarkerPolymarker from TTree.
TGLQuadricfQuadric
TGLBoxPainter::EBoxTypefType
TGLTH3SlicefXOYSlice
TGLTH3SlicefXOZSlice
TGLTH3SlicefYOZSlice
static TGLBoxPainter::EBoxTypekBox
static TGLBoxPainter::EBoxTypekBox1

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& )