24#include "TGLIncludes.h"
57 fM = SetModelDynCast<TF2>(obj);
64 if (
dynamic_cast<TF3*
>(
fM))
97 glPushAttrib(GL_ENABLE_BIT | GL_LIGHTING_BIT);
99 glEnable(GL_NORMALIZE);
100 glDisable(GL_COLOR_MATERIAL);
105 glDisable(GL_CULL_FACE);
virtual void SetLimits(Double_t xmin, Double_t xmax)
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Render the object.
virtual ~TF2GL()
Destructor.
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr)
Set model object.
virtual void SetBBox()
Setup bounding-box.
TH1 * CreateHistogram() override
Create a histogram from function.
A 3-Dim function with parameters.
Painter class for axes encompassing a 3D box.
void PlotStandard(TGLRnrCtx &rnrCtx, TH1 *histo, const TGLBoundingBox &bbox)
void SetUseAxisColors(Bool_t x)
void SetFontMode(TGLFont::EMode m)
void Set(const TGLVertex3 vertex[8])
Set a bounding box from provided 8 vertices.
TGLBoundingBox fBoundingBox
Also plays the role of ID.
Description of TGLPlot3D.
TGLPlotCoordinates fCoord
TGLPlotPainter * fPlotPainter
void SetPainter(TGLPlotPainter *p)
Set painter object and destroy the old one.
Int_t FindFrontPoint() const
Convert 3d points into window coordinate system and find the nearest.
const TGLVertex3 * Get3DBox() const
Get 3D box.
void SetCoordType(EGLCoordType type)
If coord type was changed, plot must reset sections (if any), set fModified.
const TGLPlotBox & RefBackBox() const
virtual void DrawPlot() const =0
virtual Bool_t InitGeometry()=0
virtual void InitGL() const =0
virtual void AddOption(const TString &stringOption)=0
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Implements painting of TH2 with "SURF" option.
Plot-painter for TF3 functions.
virtual Double_t GetMaximum(Double_t maxval=FLT_MAX) const
Return maximum value smaller than maxval of bins in the range, unless the value has been overridden b...
virtual Double_t GetMinimum(Double_t minval=-FLT_MAX) const
Return minimum value larger than minval of bins in the range, unless the value has been overridden by...
Service class for 2-D histogram classes.
Mother of all ROOT objects.