class TGLBoxPainter: public TGLPlotPainter


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

Function Members (Methods)

public:
TGLBoxPainter(TH1* hist, TGLOrthoCamera* camera, TGLPlotCoordinates* coord, TGLPaintDevice* dev = 0)
~TGLBoxPainter()
virtual voidAddOption(const TString& stringOption)
static TClass*Class()
Bool_tTGLPlotPainter::CutAxisSelected() const
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
virtual voidTGLPlotPainter::SetFrameColor(const TColor* frameColor)
voidTGLPlotPainter::SetGLDevice(TGLPaintDevice* dev)
voidTGLPlotPainter::SetPadColor(const TColor* color)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStartPan(Int_t px, Int_t py)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
virtual voidTGLPlotPainter::ClearBuffers() const
voidTGLPlotPainter::DrawSections() const
const TColor*TGLPlotPainter::GetPadColor() const
Bool_tTGLPlotPainter::MakeGLContextCurrent() const
voidTGLPlotPainter::MoveSection(Int_t px, Int_t py)
voidTGLPlotPainter::PrintPlot() const
private:
TGLBoxPainter(const TGLBoxPainter&)
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

public:
enum EBoxType { kBox
kBox1
};
enum TGLPlotPainter::ESelectionBase { kHighColorSelectionBase
kTrueColorSelectionBase
};
enum TGLPlotPainter::ECutAxisID { kXAxis
kYAxis
kZAxis
};
protected:
TGLPlotBoxTGLPlotPainter::fBackBox
TGLBoxCutTGLPlotPainter::fBoxCut
TGLOrthoCamera*TGLPlotPainter::fCamera
TGLPlotCoordinates*TGLPlotPainter::fCoord
Bool_tTGLPlotPainter::fHighColor
TH1*TGLPlotPainter::fHist
TPointTGLPlotPainter::fMousePosition
Int_tTGLPlotPainter::fSelectedPart
TGLSelectionBufferTGLPlotPainter::fSelection
TGLPlotPainter::ESelectionBaseTGLPlotPainter::fSelectionBase
Bool_tTGLPlotPainter::fSelectionPass
Bool_tTGLPlotPainter::fUpdateSelection
TAxis*TGLPlotPainter::fXAxis
Double_tTGLPlotPainter::fXOYSectionPos
Double_tTGLPlotPainter::fXOZSectionPos
TAxis*TGLPlotPainter::fYAxis
Double_tTGLPlotPainter::fYOZSectionPos
TAxis*TGLPlotPainter::fZAxis
vector<Double_t>TGLPlotPainter::fZLevels
private:
pair<double,double>fMinMaxVal
TStringfPlotInfo
TGLQuadricfQuadric
TGLBoxPainter::EBoxTypefType
TGLTH3SlicefXOYSlice
TGLTH3SlicefXOZSlice
TGLTH3SlicefYOZSlice

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLBoxPainter(TH1* hist, TGLOrthoCamera* camera, TGLPlotCoordinates* coord, TGLPaintDevice* dev = 0)
 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()
 Initialize some gl state variables.
void DrawPlot()
 Draw set of boxes (spheres)
void SetPlotColor()
 Set boxes color.
void DrawSectionXOZ()
 Draw XOZ parallel section.
void DrawSectionYOZ()
 Draw YOZ parallel section.
void DrawSectionXOY()
 Draw XOY parallel section.
Bool_t HasSections()
 Check, if any section exists.
TGLBoxPainter(const TGLBoxPainter& )

Last update: Thu Jan 17 08:51:47 2008

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.