File indexing completed on 2025-01-18 10:12:01
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TGLPShapeObj
0013 #define ROOT_TGLPShapeObj
0014
0015 #include <TObject.h>
0016
0017 class TGLPhysicalShape;
0018 class TGLViewer;
0019
0020 class TGLPShapeObj : public TObject
0021 {
0022 public:
0023 TGLPhysicalShape *fPShape;
0024 TGLViewer *fViewer;
0025
0026 TGLPShapeObj() : TObject(), fPShape(nullptr), fViewer(nullptr) {}
0027 TGLPShapeObj(TGLPhysicalShape* sh, TGLViewer* v) :
0028 TObject(), fPShape(sh), fViewer(v) {}
0029 ~TGLPShapeObj() override {}
0030
0031 const char* GetName() const override { return "Selected"; }
0032
0033 private:
0034 TGLPShapeObj(const TGLPShapeObj &) = delete;
0035 TGLPShapeObj& operator=(const TGLPShapeObj &) = delete;
0036
0037 ClassDefOverride(TGLPShapeObj, 0)
0038 };
0039
0040 #endif