Logo ROOT   6.10/09
Reference Guide
TEvePlot3DGL.h
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Author: Matevz Tadel, 2009
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_TEvePlot3DGL
13 #define ROOT_TEvePlot3DGL
14 
15 #include "TGLObject.h"
16 
17 class TGLViewer;
18 class TGLScene;
19 
20 class TEvePlot3D;
21 class TGLPlot3D;
22 
23 class TEvePlot3DGL : public TGLObject
24 {
25 private:
26  TEvePlot3DGL(const TEvePlot3DGL&); // Not implemented
27  TEvePlot3DGL& operator=(const TEvePlot3DGL&); // Not implemented
28 
29 protected:
30  TEvePlot3D *fM; // Model object.
31  TGLPlot3D *fPlotLogical; // Actual painter.
32 
33 public:
34  TEvePlot3DGL();
35  virtual ~TEvePlot3DGL() {}
36 
37  virtual Bool_t KeepDuringSmartRefresh() const { return kFALSE; }
38 
39  virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
40  virtual void SetBBox();
41 
42  virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
43 
44  // To support two-level selection
45  // virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
46  // virtual void ProcessSelection(TGLRnrCtx & rnrCtx, TGLSelectRecord & rec);
47 
48  ClassDef(TEvePlot3DGL, 0); // GL renderer class for TEvePlot3D.
49 };
50 
51 #endif
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Definition: TGLRnrCtx.h:40
const char Option_t
Definition: RtypesCore.h:62
TGLPlot3D * fPlotLogical
Definition: TEvePlot3DGL.h:31
bool Bool_t
Definition: RtypesCore.h:59
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
virtual void SetBBox()
Set bounding box.
#define ClassDef(name, id)
Definition: Rtypes.h:297
virtual Bool_t KeepDuringSmartRefresh() const
Definition: TEvePlot3DGL.h:37
Base-class for direct OpenGL renderers.
Definition: TGLObject.h:21
OpenGL renderer class for TEvePlot3D.
Definition: TEvePlot3DGL.h:23
Description of TEvePlot3D.
Definition: TEvePlot3D.h:18
Description of TGLPlot3D.
Definition: TGLPlot3D.h:22
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Render with OpenGL.
Base GL viewer object - used by both standalone and embedded (in pad) GL.
Definition: TGLViewer.h:53
const Bool_t kFALSE
Definition: RtypesCore.h:92
Mother of all ROOT objects.
Definition: TObject.h:37
TEvePlot3D * fM
Definition: TEvePlot3DGL.h:30
TGLScene provides management and rendering of ROOT's default 3D /object representation as logical and...
Definition: TGLScene.h:30
TEvePlot3DGL & operator=(const TEvePlot3DGL &)
virtual ~TEvePlot3DGL()
Definition: TEvePlot3DGL.h:35
TEvePlot3DGL()
Constructor.