forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TGLPShapeObj.h
40 lines (30 loc) · 1.26 KB
/
TGLPShapeObj.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// @(#)root/gl:$Id$
// Author: Alja Mrak-Tadel 06/2006
/*************************************************************************
* Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TGLPShapeObj
#define ROOT_TGLPShapeObj
#include <TObject.h>
class TGLPhysicalShape;
class TGLViewer;
class TGLPShapeObj : public TObject
{
public:
TGLPhysicalShape *fPShape;
TGLViewer *fViewer;
TGLPShapeObj() : TObject(), fPShape(0), fViewer(0) {}
TGLPShapeObj(TGLPhysicalShape* sh, TGLViewer* v) :
TObject(), fPShape(sh), fViewer(v) {}
virtual ~TGLPShapeObj() {}
virtual const char* GetName() const { return "Selected"; }
private:
TGLPShapeObj(const TGLPShapeObj &); // Not implemented
TGLPShapeObj& operator=(const TGLPShapeObj &); // Not implemented
ClassDef(TGLPShapeObj, 0) // This object wraps TGLPhysicalShape (not a TObject)
};
#endif