Logo ROOT   6.10/09
Reference Guide
TEveLineGL.h
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 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_TEveLineGL
13 #define ROOT_TEveLineGL
14 
15 #include "TGLObject.h"
16 #include "TPointSet3DGL.h"
17 
18 class TGLViewer;
19 class TGLScene;
20 
21 class TEveLine;
22 
23 class TEveLineGL : public TPointSet3DGL
24 {
25 private:
26  TEveLineGL(const TEveLineGL&); // Not implemented
27  TEveLineGL& operator=(const TEveLineGL&); // Not implemented
28 
29 protected:
30  TEveLine* fM; // fModel dynamic-casted to TEveLineGL
31 
32 public:
33  TEveLineGL();
34  virtual ~TEveLineGL() {}
35 
36  virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
37  virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
38 
39  // To support two-level selection
40  // virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
41  // virtual void ProcessSelection(UInt_t* ptr, TGLViewer*, TGLScene*);
42 
43  ClassDef(TEveLineGL, 0); // GL-renderer for TEveLine class.
44 };
45 
46 #endif
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Definition: TGLRnrCtx.h:40
TEveLineGL & operator=(const TEveLineGL &)
const char Option_t
Definition: RtypesCore.h:62
An arbitrary polyline with fixed line and marker attributes.
Definition: TEveLine.h:24
bool Bool_t
Definition: RtypesCore.h:59
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
Definition: TEveLineGL.cxx:37
#define ClassDef(name, id)
Definition: Rtypes.h:297
GL-renderer for TEveLine class.
Definition: TEveLineGL.h:23
TEveLine * fM
Definition: TEveLineGL.h:30
Base GL viewer object - used by both standalone and embedded (in pad) GL.
Definition: TGLViewer.h:53
virtual ~TEveLineGL()
Definition: TEveLineGL.h:34
TEveLineGL()
Constructor.
Definition: TEveLineGL.cxx:28
Mother of all ROOT objects.
Definition: TObject.h:37
Direct OpenGL renderer for TPointSet3D.
Definition: TPointSet3DGL.h:20
TGLScene provides management and rendering of ROOT's default 3D /object representation as logical and...
Definition: TGLScene.h:30
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Direct GL rendering for TEveLine.
Definition: TEveLineGL.cxx:46