ROOT logo
ROOT » GRAF3D » GL » TGLIsoPainter

class TGLIsoPainter: public TGLPlotPainter


 "gliso" option for TH3.

Function Members (Methods)

public:
TGLIsoPainter(TH1* hist, TGLPlotCamera* camera, TGLPlotCoordinates* coord)
~TGLIsoPainter()
virtual voidAddOption(const TString& option)
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::SetPadColor(const TColor* color)
voidTGLPlotPainter::SetPhysicalShapeColor(const Float_t* rgba)
virtual voidShowMembers(TMemberInspector& insp)
virtual voidStartPan(Int_t px, Int_t py)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
private:
TGLIsoPainter(const TGLIsoPainter&)
virtual voidDeInitGL() const
voidDrawMesh(const TGLIsoPainter::Mesh_t& mesh, Int_t level) const
virtual voidDrawPlot() const
virtual voidDrawSectionXOY() const
virtual voidDrawSectionXOZ() const
virtual voidDrawSectionYOZ() const
voidFindMinMax()
Bool_tHasSections() const
virtual voidInitGL() const
TGLIsoPainter&operator=(const TGLIsoPainter&)
voidSetMesh(TGLIsoPainter::Mesh_t& mesh, Double_t isoValue)
voidSetSurfaceColor(Int_t ind) const

Data Members

public:
enum TGLPlotPainter::ESelectionBase { kHighColorSelectionBase
kTrueColorSelectionBase
};
enum TGLPlotPainter::ECutAxisID { kXAxis
kYAxis
kZAxis
};
private:
list<Rgl::Mc::TIsoMesh<float>,allocator<Rgl::Mc::TIsoMesh<float> > >fCache
vector<Double_t>fColorLevels
Rgl::Mc::TIsoMesh<float>fDummyMesh
Bool_tfInit
list<Rgl::Mc::TIsoMesh<float>,allocator<Rgl::Mc::TIsoMesh<float> > >fIsos
pair<double,double>fMinMax
TGLLevelPalettefPalette
TGLTH3SlicefXOYSlice
TGLTH3SlicefXOZSlice
TGLTH3SlicefYOZSlice

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLIsoPainter(TH1* hist, TGLPlotCamera* camera, TGLPlotCoordinates* coord)
Constructor.
char * GetPlotInfo(Int_t px, Int_t py)
Return info for plot part under cursor.
Bool_t InitGeometry()
Initializes meshes for 3d iso contours.
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.
User's moving mouse cursor, with middle mouse button pressed (for pad).
Calculate 3d shift related to 2d mouse movement.
void AddOption(const TString& option)
No additional options for TGLIsoPainter.
void ProcessEvent(Int_t event, Int_t px, Int_t py)
Change color sheme.
void InitGL() const
Initialize OpenGL state variables.
void DeInitGL() const
Initialize OpenGL state variables.
void DrawPlot() const
Draw mesh.
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
Any section exists.
void SetSurfaceColor(Int_t ind) const
Set color for surface.
void SetMesh(TGLIsoPainter::Mesh_t& mesh, Double_t isoValue)
Grid geometry.
void DrawMesh(const TGLIsoPainter::Mesh_t& mesh, Int_t level) const
Draw TF3 surface
void FindMinMax()
Find max/min bin contents for TH3.
TGLIsoPainter(TH1* hist, TGLPlotCamera* camera, TGLPlotCoordinates* coord)