00001 // @(#)root/gl:$Id: TGLPShapeObj.h 20882 2007-11-19 11:31:26Z rdm $ 00002 // Author: Alja Mrak-Tadel 06/2006 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TGLPShapeObj 00013 #define ROOT_TGLPShapeObj 00014 00015 #include <TObject.h> 00016 00017 class TGLPhysicalShape; 00018 class TGLViewer; 00019 00020 class TGLPShapeObj : public TObject 00021 { 00022 public: 00023 TGLPhysicalShape *fPShape; 00024 TGLViewer *fViewer; 00025 00026 TGLPShapeObj() : TObject(), fPShape(0), fViewer(0) {} 00027 TGLPShapeObj(TGLPhysicalShape* sh, TGLViewer* v) : 00028 TObject(), fPShape(sh), fViewer(v) {} 00029 virtual ~TGLPShapeObj() {} 00030 00031 virtual const char* GetName() const { return "Selected"; } 00032 00033 private: 00034 TGLPShapeObj(const TGLPShapeObj &); // Not implemented 00035 TGLPShapeObj& operator=(const TGLPShapeObj &); // Not implemented 00036 00037 ClassDef(TGLPShapeObj, 0) // This object wraps TGLPhysicalShape (not a TObject) 00038 }; 00039 00040 #endif