Logo ROOT  
Reference Guide
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
18class TGLViewer;
19class TGLScene;
20
21class TEveLine;
22
24{
25private:
26 TEveLineGL(const TEveLineGL&); // Not implemented
27 TEveLineGL& operator=(const TEveLineGL&); // Not implemented
28
29protected:
30 TEveLine* fM; // fModel dynamic-casted to TEveLineGL
31
32public:
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
bool Bool_t
Definition: RtypesCore.h:59
const char Option_t
Definition: RtypesCore.h:62
#define ClassDef(name, id)
Definition: Rtypes.h:326
GL-renderer for TEveLine class.
Definition: TEveLineGL.h:24
TEveLineGL & operator=(const TEveLineGL &)
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
Definition: TEveLineGL.cxx:37
TEveLine * fM
Definition: TEveLineGL.h:30
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Direct GL rendering for TEveLine.
Definition: TEveLineGL.cxx:46
virtual ~TEveLineGL()
Definition: TEveLineGL.h:34
TEveLineGL()
Constructor.
Definition: TEveLineGL.cxx:28
TEveLineGL(const TEveLineGL &)
An arbitrary polyline with fixed line and marker attributes.
Definition: TEveLine.h:26
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
Direct OpenGL renderer for TPointSet3D.
Definition: TPointSet3DGL.h:21