Logo ROOT  
Reference Guide
TGLPShapeObj.h
Go to the documentation of this file.
1 // @(#)root/gl:$Id$
2 // Author: Alja Mrak-Tadel 06/2006
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2004, 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_TGLPShapeObj
13 #define ROOT_TGLPShapeObj
14 
15 #include <TObject.h>
16 
17 class TGLPhysicalShape;
18 class TGLViewer;
19 
20 class TGLPShapeObj : public TObject
21 {
22 public:
25 
28  TObject(), fPShape(sh), fViewer(v) {}
29  virtual ~TGLPShapeObj() {}
30 
31  virtual const char* GetName() const { return "Selected"; }
32 
33 private:
34  TGLPShapeObj(const TGLPShapeObj &); // Not implemented
35  TGLPShapeObj& operator=(const TGLPShapeObj &); // Not implemented
36 
37  ClassDef(TGLPShapeObj, 0) // This object wraps TGLPhysicalShape (not a TObject)
38 };
39 
40 #endif
TGLPShapeObj::operator=
TGLPShapeObj & operator=(const TGLPShapeObj &)
TGLPShapeObj::TGLPShapeObj
TGLPShapeObj()
Definition: TGLPShapeObj.h:26
TGLPShapeObj
Definition: TGLPShapeObj.h:20
v
@ v
Definition: rootcling_impl.cxx:3635
TGLPShapeObj::fPShape
TGLPhysicalShape * fPShape
Definition: TGLPShapeObj.h:23
TGLViewer
Definition: TGLViewer.h:51
TGLPShapeObj::~TGLPShapeObj
virtual ~TGLPShapeObj()
Definition: TGLPShapeObj.h:29
TGLPShapeObj::TGLPShapeObj
TGLPShapeObj(TGLPhysicalShape *sh, TGLViewer *v)
Definition: TGLPShapeObj.h:27
TObject.h
TObject
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TGLPhysicalShape
Definition: TGLPhysicalShape.h:31
TGLPShapeObj::GetName
virtual const char * GetName() const
Returns name of object.
Definition: TGLPShapeObj.h:31
TGLPShapeObj::fViewer
TGLViewer * fViewer
Definition: TGLPShapeObj.h:24