class TGLLegoPainter: public TGLPlotPainter


 Plot-painter implementing LEGO rendering of TH2 histograms in
 cartesian, polar, cylindrical and spherical coordinates.

Function Members (Methods)

public:
TGLLegoPainter(TH1* hist, TGLOrthoCamera* camera, TGLPlotCoordinates* coord, TGLPaintDevice* dev = 0)
~TGLLegoPainter()
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:
TGLLegoPainter(const TGLLegoPainter&)
Bool_tClampZ(Double_t& zVal) const
voidDrawLegoCartesian() const
voidDrawLegoCylindrical() const
voidDrawLegoPolar() const
voidDrawLegoSpherical() const
virtual voidDrawPlot() const
virtual voidDrawSectionXOY() const
virtual voidDrawSectionXOZ() const
virtual voidDrawSectionYOZ() const
Bool_tInitGeometryCartesian()
Bool_tInitGeometryCylindrical()
Bool_tInitGeometryPolar()
Bool_tInitGeometrySpherical()
virtual voidInitGL() const
TGLLegoPainter&operator=(const TGLLegoPainter&)
Bool_tPreparePalette() const
voidSetLegoColor() const

Data Members

public:
enum ELegoType { kColorSimple
kColorLevel
kCylindricBars
};
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:
TStringfBinInfo
vector<Double_t>fColorLevels
vector<pair<double,double>,allocator<pair<double,double> > >fCosSinTableX
vector<pair<double,double>,allocator<pair<double,double> > >fCosSinTableY
Bool_tfDrawErrors
TGLLegoPainter::ELegoTypefLegoType
pair<double,double>fMinMaxValFor texture coordinates generation.
Double_tfMinZ
TGLLevelPalettefPalette
TGLQuadricfQuadric
vector<Rgl::Range_t>fXEdges
vector<Rgl::Range_t>fYEdges

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLLegoPainter(TH1* hist, TGLOrthoCamera* camera, TGLPlotCoordinates* coord, TGLPaintDevice* dev = 0)
Ctor.
char * GetPlotInfo(Int_t px, Int_t py)
Obtain bin's info (i, j, value).
Bool_t InitGeometry()
Select method.
Bool_t InitGeometryCartesian()
Geometry for lego in cartesian coords.
Bool_t InitGeometryPolar()
Geometry for lego in polar coords.
Bool_t InitGeometryCylindrical()
Geometry for lego in cylindrical coords.
Bool_t InitGeometrySpherical()
Geometry for lego in spherical coords.
void StartPan(Int_t px, Int_t py)
User clicks on a lego with middle mouse button (middle for pad).
void Pan(Int_t px, Int_t py)
Move lego or section.
void AddOption(const TString& stringOption)
Parse additional options.
void InitGL()
Initialize some gl state variables.
void DrawPlot()
Select method corresponding to coordinate system.
void DrawLegoCartesian()
Lego in cartesian system.
void DrawLegoPolar()
Lego in polar system.
void DrawLegoCylindrical()
Lego in cylindrical system.
void DrawLegoSpherical()
Lego in spherical system.
void SetLegoColor()
Set lego's color.
void DrawSectionXOZ()
XOZ plane parallel section.
void DrawSectionYOZ()
YOZ plane parallel section.
void DrawSectionXOY()
Empty. No such sections for lego.
void ProcessEvent(Int_t event, Int_t px, Int_t py)
Remove all sections and repaint.
Bool_t ClampZ(Double_t& zVal) const
Clamp z value.
Bool_t PreparePalette()
Initialize color palette.
TGLLegoPainter(const TGLLegoPainter& )

Author: Timur Pocheptsov 14/06/2006
Last update: root/gl:$Id: TGLLegoPainter.h 20882 2007-11-19 11:31:26Z rdm $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *

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.