Logo ROOT   6.08/07
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
virtual void SetBBox()
Set bounding box.
Definition: TEveArrowGL.cxx:49
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Definition: TGLRnrCtx.h:40
const char Option_t
Definition: RtypesCore.h:62
Class used for display of a thick arrow.
Definition: TEveArrow.h:21
bool Bool_t
Definition: RtypesCore.h:59
#define ClassDef(name, id)
Definition: Rtypes.h:254
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
Definition: TEveArrowGL.cxx:40
Base-class for direct OpenGL renderers.
Definition: TGLObject.h:21
TEveArrowGL & operator=(const TEveArrowGL &)
TEveArrow * fM
Definition: TEveArrowGL.h:28
Base GL viewer object - used by both standalone and embedded (in pad) GL.
Definition: TGLViewer.h:53
TEveArrowGL()
Constructor.
Definition: TEveArrowGL.cxx:30
Mother of all ROOT objects.
Definition: TObject.h:37
TGLScene provides management and rendering of ROOT's default 3D /object representation as logical and...
Definition: TGLScene.h:30
OpenGL renderer class for TEveArrow.
Definition: TEveArrowGL.h:21
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Render with OpenGL.
Definition: TEveArrowGL.cxx:60
virtual ~TEveArrowGL()
Definition: TEveArrowGL.h:32