Logo ROOT   6.12/07
Reference Guide
TGLParametricEquationGL.h
Go to the documentation of this file.
1 // @(#)root/gl:$Id$
2 // Author: Matevz Tadel, Jun 2007
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TGLParametricEquationGL
13 #define ROOT_TGLParametricEquationGL
14 
15 #include "TGLPlot3D.h"
16 
17 class TGLRnrCtx;
19 class TH2;
20 
21 
23 {
24 private:
25  TGLParametricEquationGL(const TGLParametricEquationGL&); // Not implemented
26  TGLParametricEquationGL& operator=(const TGLParametricEquationGL&); // Not implemented
27 
28 protected:
30 
31 public:
33  virtual ~TGLParametricEquationGL();
34 
35  virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
36  virtual void SetBBox();
37  virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
38 
39  virtual Bool_t KeepDuringSmartRefresh() const { return kFALSE; }
40 
41  // To support two-level selection
42  // virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
43  // virtual void ProcessSelection(UInt_t* ptr, TGLViewer*, TGLScene*);
44 
45  ClassDef(TGLParametricEquationGL, 0); // GL renderer for TGLParametricEquation
46 };
47 
48 #endif
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Definition: TGLRnrCtx.h:40
virtual ~TGLParametricEquationGL()
Destructor.
const char Option_t
Definition: RtypesCore.h:62
virtual Bool_t KeepDuringSmartRefresh() const
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
bool Bool_t
Definition: RtypesCore.h:59
TGLParametricEquationGL & operator=(const TGLParametricEquationGL &)
#define ClassDef(name, id)
Definition: Rtypes.h:320
GL-renderer wrapper for TGLParametricEquation.
virtual void SetBBox()
Setup bounding-box.
Description of TGLPlot3D.
Definition: TGLPlot3D.h:22
Service class for 2-Dim histogram classes.
Definition: TH2.h:30
TGLParametricEquation * fM
A parametric surface is a surface defined by a parametric equation, involving two parameters (u...
Definition: TGLParametric.h:35
const Bool_t kFALSE
Definition: RtypesCore.h:88
Mother of all ROOT objects.
Definition: TObject.h:37
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Render the object.