Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
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