Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
17class TGLViewer;
18class TGLScene;
19
20class TEvePlot3D;
21class TGLPlot3D;
22
23class TEvePlot3DGL : public TGLObject
24{
25private:
26 TEvePlot3DGL(const TEvePlot3DGL&); // Not implemented
27 TEvePlot3DGL& operator=(const TEvePlot3DGL&); // Not implemented
28
29protected:
30 TEvePlot3D *fM; // Model object.
31 TGLPlot3D *fPlotLogical; // Actual painter.
32
33public:
35 virtual ~TEvePlot3DGL() {}
36
37 virtual Bool_t KeepDuringSmartRefresh() const { return kFALSE; }
38
39 virtual Bool_t SetModel(TObject* obj, const Option_t *opt = nullptr);
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
bool Bool_t
Definition RtypesCore.h:63
constexpr Bool_t kFALSE
Definition RtypesCore.h:101
const char Option_t
Definition RtypesCore.h:66
OpenGL renderer class for TEvePlot3D.
virtual ~TEvePlot3DGL()
virtual Bool_t KeepDuringSmartRefresh() const
TEvePlot3DGL(const TEvePlot3DGL &)
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr)
Set model object.
ClassDef(TEvePlot3DGL, 0)
TGLPlot3D * fPlotLogical
TEvePlot3DGL & operator=(const TEvePlot3DGL &)
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Render with OpenGL.
virtual void SetBBox()
Set bounding box.
TEvePlot3D * fM
TEvePlot3DGL()
Constructor.
Description of TEvePlot3D.
Definition TEvePlot3D.h:19
Base-class for direct OpenGL renderers.
Definition TGLObject.h:22
Description of TGLPlot3D.
Definition TGLPlot3D.h:23
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Definition TGLRnrCtx.h:41
TGLScene provides management and rendering of ROOT's default 3D /object representation as logical and...
Definition TGLScene.h:29
Base GL viewer object - used by both standalone and embedded (in pad) GL.
Definition TGLViewer.h:55
Mother of all ROOT objects.
Definition TObject.h:41