Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 ~TEveArrowGL() override {}
33
34 Bool_t SetModel(TObject* obj, const Option_t *opt = nullptr) override;
35 void SetBBox() override;
36 void DirectDraw(TGLRnrCtx & rnrCtx) const override;
37
38 ClassDefOverride(TEveArrowGL, 0); // GL renderer class for TEveArrow.
39};
40
41#endif
bool Bool_t
Definition RtypesCore.h:63
const char Option_t
Definition RtypesCore.h:66
OpenGL renderer class for TEveArrow.
Definition TEveArrowGL.h:22
void DirectDraw(TGLRnrCtx &rnrCtx) const override
Render with OpenGL.
ClassDefOverride(TEveArrowGL, 0)
Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr) override
Set model object.
void SetBBox() override
Set bounding box.
TEveArrowGL(const TEveArrowGL &)
~TEveArrowGL() override
Definition TEveArrowGL.h:32
TEveArrow * fM
Definition TEveArrowGL.h:28
TEveArrowGL & operator=(const TEveArrowGL &)
TEveArrowGL()
Constructor.
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:55
Mother of all ROOT objects.
Definition TObject.h:41