12#ifndef ROOT_TGLPShapeRef
13#define ROOT_TGLPShapeRef
#define ClassDef(name, id)
Base class for references to TGLPysicalShape that need to be notified when the shape is destroyed.
TGLPShapeRef()
Default constructor.
virtual void SetPShape(TGLPhysicalShape *shape)
Set the shape.
TGLPShapeRef * fNextPSRef
TGLPhysicalShape * fPShape
TGLPShapeRef(const TGLPShapeRef &)=delete
TGLPShapeRef & operator=(const TGLPShapeRef &)=delete
TGLPhysicalShape * GetPShape() const
virtual void PShapeModified()
This is called from physical shape when it is modified.
virtual ~TGLPShapeRef()
Destructor - unreference the shape if set.
Concrete physical shape - a GL drawable.