Hide menu
cadex::ModelData_RefPropertyProvider Class Reference

Base class for property providers associated with a scene graph element. More...

Inheritance diagram for cadex::ModelData_RefPropertyProvider:
cadex::ModelData_PropertyTable::Provider cadex::ModelData_BoundingBoxProvider cadex::ModelData_ValidationPropertyProvider

Public Member Functions

 ModelData_RefPropertyProvider ()
 Constructor. More...
 
 ModelData_RefPropertyProvider (const ModelData_SceneGraphElement &theRef)
 Constructor. More...
 
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. More...
 
virtual void Feed (ModelData_PropertyTable &theTable) const =0
 Feeds the property table. More...
 

Protected Attributes

internal::ModelData_SceneGraphElementImpl * myRef
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ModelData_RefPropertyProvider() [1/2]

cadex::ModelData_RefPropertyProvider::ModelData_RefPropertyProvider ( )

Constructor.

Creates a provider not attached to any element. Use Ref() later on for attacment.

◆ ModelData_RefPropertyProvider() [2/2]

cadex::ModelData_RefPropertyProvider::ModelData_RefPropertyProvider ( const ModelData_SceneGraphElement theRef)

Constructor.

theRef specifies the source element to attach.