58 fM = SetModelDynCast<TF2>(obj);
63 fH->GetZaxis()->SetLimits(fH->GetMinimum(), fH->GetMaximum());
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);
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
void SetUseAxisColors(Bool_t x)
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)
virtual ~TF2GL()
Destructor.
const TGLVertex3 * Get3DBox() const
Get 3D box.
Ssiz_t Index(const char *pat, Ssiz_t i=0, ECaseCompare cmp=kExact) const
void SetFontMode(TGLFont::EMode m)
void ToLower()
Change string to lower-case.
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
Implements painting of TH2 with "SURF" option.
Plot-painter for TF3 functions.
TGLPlotPainter * fPlotPainter
Utility class to paint axis in GL.
virtual TH1 * CreateHistogram()
Create a histogram from function.
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Render the object.
Description of TGLPlot3D.
virtual void SetBBox()
Setup bounding-box.
Service class for 2-Dim histogram classes.
A 3-Dim function with parameters.
Int_t FindFrontPoint() const
Convert 3d points into window coordinate system and find the nearest.
TGLPlotCoordinates fCoord
const TGLPlotBox & RefBackBox() const
virtual void AddOption(const TString &stringOption)=0
virtual Bool_t InitGeometry()=0
void SetCoordType(EGLCoordType type)
If coord type was changed, plot must reset sections (if any), set fModified.
Mother of all ROOT objects.
virtual void InitGL() const =0
TGLBoundingBox fBoundingBox
Also plays the role of ID.
virtual void DrawPlot() const =0