ROOT logo
ROOT » GRAF3D » GL » TGLTF3Painter

class TGLTF3Painter: public TGLPlotPainter


 Plot-painter for TF3 functions.

Function Members (Methods)

public:
TGLTF3Painter(TF3* fun, TH1* hist, TGLPlotCamera* camera, TGLPlotCoordinates* coord)
~TGLTF3Painter()
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
TVirtualGLPainter&TVirtualGLPainter::operator=(const TVirtualGLPainter&)
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:
virtual voidDeInitGL() const
voidDrawDefaultPlot() const
voidDrawMaplePlot() const
virtual voidDrawPlot() const
virtual voidDrawSectionXOY() const
virtual voidDrawSectionXOZ() const
virtual voidDrawSectionYOZ() const
voidDrawToSelectionBuffer() const
Bool_tHasSections() const
virtual voidInitGL() const
voidSetSurfaceColor() const

Data Members

public:
enum ETF3Style { kDefault
kMaple0
kMaple1
kMaple2
};
enum TGLPlotPainter::ESelectionBase { kHighColorSelectionBase
kTrueColorSelectionBase
};
enum TGLPlotPainter::ECutAxisID { kXAxis
kYAxis
kZAxis
};
private:
TF3*fF3
Rgl::Mc::TIsoMesh<double>fMesh
TGLTF3Painter::ETF3StylefStyle
TGLTH3SlicefXOYSlice
TGLTH3SlicefXOZSlice
TGLTH3SlicefYOZSlice

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLTF3Painter(TF3* fun, TH1* hist, TGLPlotCamera* camera, TGLPlotCoordinates* coord)
 Constructor.
char * GetPlotInfo(Int_t px, Int_t py)
Coords for point on surface under cursor.
Bool_t InitGeometry()
Create mesh.
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.
Slicing is disabled (since somebody has broken it).
void AddOption(const TString& stringOption)
No options for tf3
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 DrawToSelectionBuffer() const
Draw triangles, no normals, no lighting.
void DrawDefaultPlot() const
Surface with material properties and lighting.
void DrawMaplePlot() const
Colored surface, without lighting and
material properties.
void DrawPlot() const
Draw mesh.
void SetSurfaceColor() const
Set color for surface.
Bool_t HasSections() const
Any section exists.
void DrawSectionXOZ() const
 Draw XOZ parallel section.
void DrawSectionYOZ() const
 Draw YOZ parallel section.
void DrawSectionXOY() const
 Draw XOY parallel section.