Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
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:
23  TPointSet3DGL() : TGLObject() {}
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