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.
TGLPhysicalShape * fPShape
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.
void RemoveReference(TGLPShapeRef *ref)
Remove reference ref.
void AddReference(TGLPShapeRef *ref)
Add reference ref.