Base class for property providers associated with a scene graph element. More...
#include <cadex/ModelData_RefPropertyProvider.hxx>
Public Member Functions | |
ModelData_RefPropertyProvider () | |
Constructor. | |
ModelData_RefPropertyProvider (const ModelData_SceneGraphElement &theRef) | |
Constructor. | |
ModelData_SceneGraphElement | Ref () const |
Returns the element the provider is attached to. | |
void | SetRef (const ModelData_SceneGraphElement &theRef) |
Sets the element the provider is attached to. | |
Public Member Functions inherited from cadex::ModelData_PropertyTable::Provider | |
virtual | ~Provider () |
Destructor. | |
virtual void | Feed (ModelData_PropertyTable &theTable) const =0 |
Feeds the property table. | |
Protected Attributes | |
internal::ModelData_SceneGraphElementImpl * | myRef |
Base class for property providers associated with a scene graph element.
Associated reference element is returned by Ref() and can be specified either in the constructor or later on.
cadex::ModelData_RefPropertyProvider::ModelData_RefPropertyProvider | ( | ) |
Constructor.
Creates a provider not attached to any element. Use Ref() later on for attacment.
cadex::ModelData_RefPropertyProvider::ModelData_RefPropertyProvider | ( | const ModelData_SceneGraphElement & | theRef | ) |
Constructor.
theRef specifies the source element to attach.