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 ~TEvePlot3DGL() override {}
36
37 Bool_t KeepDuringSmartRefresh() const override { return kFALSE; }
38
39 Bool_t SetModel(TObject* obj, const Option_t *opt = nullptr) override;
40 void SetBBox() override;
41
42 void DirectDraw(TGLRnrCtx & rnrCtx) const override;
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 ClassDefOverride(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.
void DirectDraw(TGLRnrCtx &rnrCtx) const override
Render with OpenGL.
Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr) override
Set model object.
~TEvePlot3DGL() override
void SetBBox() override
Set bounding box.
Bool_t KeepDuringSmartRefresh() const override
TEvePlot3DGL(const TEvePlot3DGL &)
ClassDefOverride(TEvePlot3DGL, 0)
TGLPlot3D * fPlotLogical
TEvePlot3DGL & operator=(const TEvePlot3DGL &)
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