12#ifndef ROOT_TGLSurfacePainter 
   13#define ROOT_TGLSurfacePainter 
#define ClassDef(name, id)
 
winID h TVirtualViewer3D TVirtualGLPainter char GetPlotInfo
 
Camera for TGLPlotPainter and sub-classes.
 
Helper class for plot-painters holding information about axis ranges, numbers of bins and flags if ce...
 
Base class for plot-painters that provide GL rendering of various 2D and 3D histograms,...
 
Implements painting of TH2 with "SURF" option.
 
char * WindowPointTo3DPoint(Int_t px, Int_t py) const
Find 3d coords using mouse cursor coords.
 
void DrawPlot() const
Draw surf/surf1/surf2/surf4.
 
TGL2DArray< Double_t > fTexMap
 
Bool_t InitGeometryPolar()
Find bin ranges for X and Y axes, axes ranges for X, Y and Z.
 
void DrawSectionXOY() const
Draw section Z.
 
void DeInitGL() const
Initialize some OpenGL state variables.
 
void DrawProjections() const
Draw projections.
 
Bool_t HasProjections() const
Any projection exists.
 
Bool_t Textured() const
Checks, if surf requires texture.
 
std::list< Projection_t > fXOYProj
 
Bool_t InitGeometry()
Set mesh, normals.
 
void DrawPalette() const
Draw.
 
TGL2DArray< TGLVector3 > fAverageNormals
 
std::vector< Double_t > fColorLevels
 
void StartPan(Int_t px, Int_t py)
User clicks right mouse button (in a pad).
 
void SetSurfaceColor() const
Set color for surface.
 
TGL2DArray< std::pair< TGLVector3, TGLVector3 > > fFaceNormals
 
void DrawContoursProjection() const
Draw flat textured surface.
 
void InitGL() const
Initialize some OpenGL state variables.
 
std::list< Projection_t > fXOZProj
 
void ProcessEvent(Int_t event, Int_t px, Int_t py)
Remove all profiles/sections.
 
void DrawSectionYOZ() const
Draw section Y.
 
Bool_t InitGeometrySpherical()
Find bin ranges for X and Y axes, axes ranges for X, Y and Z.
 
void AddOption(const TString &stringOption)
Additional options for surfaces.
 
void ClampZ(Double_t &zVal) const
Clamp z value.
 
TGL2DArray< TGLVertex3 > fMesh
 
Bool_t InitGeometryCartesian()
Find bin ranges for X and Y axes, axes ranges for X, Y and Z.
 
Bool_t PreparePalette() const
Generate palette.
 
void Pan(Int_t px, Int_t py)
User's moving mouse cursor, with middle mouse button pressed (for pad).
 
static TRandom * fgRandom
 
void GenTexMap() const
Find texture coordinates.
 
void DrawSectionXOZ() const
Draw section X.
 
void SetNormals()
One normal per vertex; this normal is average of neighbouring triangles normals.
 
Bool_t InitGeometryCylindrical()
Find bin ranges for X and Y axes, axes ranges for X, Y and Z.
 
std::list< Projection_t > fYOZProj
 
void DrawPaletteAxis() const
Draw. Palette. Axis.
 
Bool_t HasSections() const
Any section exists.
 
TH1 is the base class of all histogram classes in ROOT.
 
This is the base class for the ROOT Random number generators.
 
std::pair< Double_t, Double_t > Range_t
 
std::vector< TGLVertex3 > fVertices