Hide menu
Loading...
Searching...
No Matches
cadex::ModelData_RefPropertyProvider Class Reference

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

#include <cadex/ModelData_RefPropertyProvider.hxx>

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

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
 

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.