ROOT  6.06/09
Reference Guide
TGLPolyMarker.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_TGLPolyMarker
15 #define ROOT_TGLPolyMarker
16 
17 #ifndef ROOT_TGLLogicalShape
18 #include "TGLLogicalShape.h"
19 #endif
20 
21 #include <vector>
22 
23 class TBuffer3D;
24 
25 ////////////////////////////////////////////////////////////////////////
27 {
28 private:
29  std::vector<Double_t> fVertices;
32 
33 public:
34  TGLPolyMarker(const TBuffer3D & buffer);
35 
36  virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
37 
38  virtual Bool_t IgnoreSizeForOfInterest() const { return kTRUE; }
39 
40 private:
41  void DrawStars()const;
42 
43  ClassDef(TGLPolyMarker,0) // a polymarker logical shape
44 };
45 
46 #endif
std::vector< Double_t > fVertices
Definition: TGLPolyMarker.h:29
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Definition: TGLRnrCtx.h:40
bool Bool_t
Definition: RtypesCore.h:59
#define ClassDef(name, id)
Definition: Rtypes.h:254
Double_t fSize
Definition: TGLPolyMarker.h:31
unsigned int UInt_t
Definition: RtypesCore.h:42
Generic 3D primitive description class.
Definition: TBuffer3D.h:19
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Debug tracing.
Abstract logical shape - a GL 'drawable' - base for all shapes - faceset sphere etc.
void DrawStars() const
Draw stars.
double Double_t
Definition: RtypesCore.h:55
TGLPolyMarker(const TBuffer3D &buffer)
const Bool_t kTRUE
Definition: Rtypes.h:91
virtual Bool_t IgnoreSizeForOfInterest() const
Return true if size of this shape should be ignored when determining if the object should be drawn...
Definition: TGLPolyMarker.h:38