Logo ROOT   6.10/09
Reference Guide
TGLPolyLine.h
Go to the documentation of this file.
1 // @(#)root/gl:$Id$
2 // Author: Timur Pocheptsov 03/08/2004
3 // NOTE: This code moved from obsoleted TGLSceneObject.h / .cxx - see these
4 // attic files for previous CVS history
5 
6 /*************************************************************************
7  * Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *
8  * All rights reserved. *
9  * *
10  * For the licensing terms see $ROOTSYS/LICENSE. *
11  * For the list of contributors see $ROOTSYS/README/CREDITS. *
12  *************************************************************************/
13 
14 #ifndef ROOT_TGLPolyLine
15 #define ROOT_TGLPolyLine
16 
17 #include "TGLLogicalShape.h"
18 
19 #include <vector>
20 
21 class TBuffer3D;
22 
24 {
25 private:
26  std::vector<Double_t> fVertices;
28 
29 public:
30  TGLPolyLine(const TBuffer3D & buffer);
31 
32  virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
33 
34  ClassDef(TGLPolyLine,0) // a polyline logical shape
35 };
36 
37 #endif
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Definition: TGLRnrCtx.h:40
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Debug tracing.
Definition: TGLPolyLine.cxx:50
To draw a 3D polyline in a GL window.
Definition: TGLPolyLine.h:23
#define ClassDef(name, id)
Definition: Rtypes.h:297
Generic 3D primitive description class.
Definition: TBuffer3D.h:17
Double_t fLineWidth
Definition: TGLPolyLine.h:27
Abstract logical shape - a GL &#39;drawable&#39; - base for all shapes - faceset sphere etc.
double Double_t
Definition: RtypesCore.h:55
std::vector< Double_t > fVertices
Definition: TGLPolyLine.h:26
TGLPolyLine(const TBuffer3D &buffer)
constructor dynamic_cast because of multiple inheritance.
Definition: TGLPolyLine.cxx:37