Logo ROOT   6.18/05
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
17class TGLViewer;
18class TGLScene;
19class TEveArrow;
20
21class TEveArrowGL : public TGLObject
22{
23private:
24 TEveArrowGL(const TEveArrowGL&); // Not implemented
25 TEveArrowGL& operator=(const TEveArrowGL&); // Not implemented
26
27protected:
28 mutable TEveArrow *fM; // Model object.
29
30public:
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
bool Bool_t
Definition: RtypesCore.h:59
const char Option_t
Definition: RtypesCore.h:62
#define ClassDef(name, id)
Definition: Rtypes.h:326
OpenGL renderer class for TEveArrow.
Definition: TEveArrowGL.h:22
TEveArrowGL(const TEveArrowGL &)
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
Definition: TEveArrowGL.cxx:40
virtual ~TEveArrowGL()
Definition: TEveArrowGL.h:32
TEveArrow * fM
Definition: TEveArrowGL.h:28
virtual void SetBBox()
Set bounding box.
Definition: TEveArrowGL.cxx:49
TEveArrowGL & operator=(const TEveArrowGL &)
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Render with OpenGL.
Definition: TEveArrowGL.cxx:60
TEveArrowGL()
Constructor.
Definition: TEveArrowGL.cxx:30
Class used for display of a thick arrow.
Definition: TEveArrow.h:25
Base-class for direct OpenGL renderers.
Definition: TGLObject.h:22
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:57
Mother of all ROOT objects.
Definition: TObject.h:37