61 fM = SetModelDynCast<TH2>(
obj);
84 pos = option.
Index(
"bb");
88 pos = option.
Index(
"a");
112 glPushAttrib(GL_ENABLE_BIT | GL_LIGHTING_BIT);
114 glEnable(GL_NORMALIZE);
115 glDisable(GL_COLOR_MATERIAL);
120 glDisable(GL_CULL_FACE);
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
void SetUseAxisColors(Bool_t x)
Plot-painter implementing LEGO rendering of TH2 histograms in cartesian, polar, cylindrical and spher...
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Render the object.
void Set(const TGLVertex3 vertex[8])
Set a bounding box from provided 8 vertices.
void SetPainter(TGLPlotPainter *p)
Set painter object and destroy the old one.
void PlotStandard(TGLRnrCtx &rnrCtx, TH1 *histo, const TGLBoundingBox &bbox)
void SetFontMode(TGLFont::EMode m)
void ToLower()
Change string to lower-case.
Implements painting of TH2 with "SURF" option.
Int_t FindFrontPoint() const
Convert 3d points into window coordinate system and find the nearest.
TGLPlotPainter * fPlotPainter
Utility class to paint axis in GL.
Description of TGLPlot3D.
Rendering of TH2 and derived classes.
void SetDrawBackBox(Bool_t b)
virtual ~TH2GL()
Destructor.
TGLPlotCoordinates fCoord
virtual void AddOption(const TString &stringOption)=0
TString & Remove(Ssiz_t pos)
void SetDrawFrontBox(Bool_t b)
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
virtual Bool_t InitGeometry()=0
void SetCoordType(EGLCoordType type)
If coord type was changed, plot must reset sections (if any), set fModified.
const TGLVertex3 * Get3DBox() const
Get 3D box.
virtual void SetBBox()
Setup bounding-box.
Mother of all ROOT objects.
virtual void InitGL() const =0
TGLBoundingBox fBoundingBox
Also plays the role of ID.
Ssiz_t Index(const char *pat, Ssiz_t i=0, ECaseCompare cmp=kExact) const
virtual void DrawPlot() const =0
void SetDrawAxes(Bool_t s)
const TGLPlotBox & RefBackBox() const