Logo ROOT  
Reference Guide
TPointSet3DGL.h
Go to the documentation of this file.
1 // @(#)root/gl:$Id$
2 // Author: Matevz Tadel 7/4/2006
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2006, 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 
13 #ifndef ROOT_TPointSet3DGL
14 #define ROOT_TPointSet3DGL
15 
16 #include "TGLObject.h"
17 
18 class TGLRnrCtx;
19 
20 class TPointSet3DGL : public TGLObject
21 {
22 public:
24 
25  virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
26  virtual void SetBBox();
27  virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
28 
29  virtual Bool_t IgnoreSizeForOfInterest() const { return kTRUE; }
30 
31  virtual Bool_t ShouldDLCache(const TGLRnrCtx & rnrCtx) const;
32 
33  virtual void Draw(TGLRnrCtx & rnrCtx) const;
34 
35  virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
36  virtual void ProcessSelection(TGLRnrCtx & rnrCtx, TGLSelectRecord & rec);
37 
38  ClassDef(TPointSet3DGL,1) // GL renderer for TPointSet3D
39 };
40 
41 #endif
TGLObject.h
kTRUE
const Bool_t kTRUE
Definition: RtypesCore.h:100
TPointSet3DGL::SetModel
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model.
Definition: TPointSet3DGL.cxx:33
Option_t
const char Option_t
Definition: RtypesCore.h:66
TPointSet3DGL
Direct OpenGL renderer for TPointSet3D.
Definition: TPointSet3DGL.h:21
TPointSet3DGL::IgnoreSizeForOfInterest
virtual Bool_t IgnoreSizeForOfInterest() const
Return true if size of this shape should be ignored when determining if the object should be drawn.
Definition: TPointSet3DGL.h:29
TPointSet3DGL::Draw
virtual void Draw(TGLRnrCtx &rnrCtx) const
Draw function for TPointSet3D. Skips line-pass of outline mode.
Definition: TPointSet3DGL.cxx:61
Bool_t
bool Bool_t
Definition: RtypesCore.h:63
bool
TPointSet3DGL::DirectDraw
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Direct GL rendering for TPointSet3D.
Definition: TPointSet3DGL.cxx:72
TGLObject
Base-class for direct OpenGL renderers.
Definition: TGLObject.h:22
TPointSet3DGL::ShouldDLCache
virtual Bool_t ShouldDLCache(const TGLRnrCtx &rnrCtx) const
Override from TGLLogicalShape.
Definition: TPointSet3DGL.cxx:51
TGLSelectRecord
Standard selection record including information about containing scene and details ob out selected ob...
Definition: TGLSelectRecord.h:75
TPointSet3DGL::SetBBox
virtual void SetBBox()
Set bounding-box.
Definition: TPointSet3DGL.cxx:41
TObject
Mother of all ROOT objects.
Definition: TObject.h:37
TPointSet3DGL::SupportsSecondarySelect
virtual Bool_t SupportsSecondarySelect() const
Definition: TPointSet3DGL.h:35
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TPointSet3DGL::ProcessSelection
virtual void ProcessSelection(TGLRnrCtx &rnrCtx, TGLSelectRecord &rec)
Processes secondary selection from TGLViewer.
Definition: TPointSet3DGL.cxx:92
TPointSet3DGL::TPointSet3DGL
TPointSet3DGL()
Definition: TPointSet3DGL.h:23
TGLRnrCtx
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Definition: TGLRnrCtx.h:41