58 fM = SetModelDynCast<TF2>(obj);
65 if (
dynamic_cast<TF3*
>(
fM))
98 glPushAttrib(GL_ENABLE_BIT | GL_LIGHTING_BIT);
100 glEnable(GL_NORMALIZE);
101 glDisable(GL_COLOR_MATERIAL);
106 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=0)
Set model object.
virtual void SetBBox()
Setup bounding-box.
virtual TH1 * CreateHistogram()
Create a histogram from function.
A 3-Dim function with parameters.
Utility class to paint axis in GL.
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-Dim histogram classes.
Mother of all ROOT objects.
void ToLower()
Change string to lower-case.
Ssiz_t Index(const char *pat, Ssiz_t i=0, ECaseCompare cmp=kExact) const