Logo ROOT  
Reference Guide
TEveArrowGL.h
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Author: Matevz Tadel 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_TEveArrowGL
13 #define ROOT_TEveArrowGL
14 
15 #include "TGLObject.h"
16 
17 class TGLViewer;
18 class TGLScene;
19 class TEveArrow;
20 
21 class TEveArrowGL : public TGLObject
22 {
23 private:
24  TEveArrowGL(const TEveArrowGL&); // Not implemented
25  TEveArrowGL& operator=(const TEveArrowGL&); // Not implemented
26 
27 protected:
28  mutable TEveArrow *fM; // Model object.
29 
30 public:
31  TEveArrowGL();
32  virtual ~TEveArrowGL() {}
33 
34  virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
35  virtual void SetBBox();
36  virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
37 
38  ClassDef(TEveArrowGL, 0); // GL renderer class for TEveArrow.
39 };
40 
41 #endif
TEveArrowGL::SetBBox
virtual void SetBBox()
Set bounding box.
Definition: TEveArrowGL.cxx:49
TGLObject.h
TEveArrowGL::~TEveArrowGL
virtual ~TEveArrowGL()
Definition: TEveArrowGL.h:32
TEveArrowGL::SetModel
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
Definition: TEveArrowGL.cxx:40
TEveArrow
Definition: TEveArrow.h:21
Bool_t
bool Bool_t
Definition: RtypesCore.h:63
TGLScene
Definition: TGLScene.h:28
TEveArrowGL
Definition: TEveArrowGL.h:21
TEveArrowGL::fM
TEveArrow * fM
Definition: TEveArrowGL.h:28
TGLObject
Definition: TGLObject.h:21
Option_t
const typedef char Option_t
Definition: RtypesCore.h:66
TGLViewer
Definition: TGLViewer.h:51
TEveArrowGL::operator=
TEveArrowGL & operator=(const TEveArrowGL &)
TObject
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TEveArrowGL::TEveArrowGL
TEveArrowGL()
Constructor.
Definition: TEveArrowGL.cxx:30
TEveArrowGL::DirectDraw
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Render with OpenGL.
Definition: TEveArrowGL.cxx:60
TGLRnrCtx
Definition: TGLRnrCtx.h:40