![]() |
VR-Link API Documentation for HLA 1516
|
Instances of DtDDMRegion create an RTI region with specified dimensions. More...
Inheritance diagram for DtDDMRegion:
Collaboration diagram for DtDDMRegion:Classes | |
| struct | DtDimensionHandleBoundsStruct |
Public Member Functions | |
| DtDDMRegion (DtExerciseConn *exConn) | |
| Constructor that creates empty shell. | |
| DtDDMRegion (DtExerciseConn *exConn, const std::vector< DtString > &dimensionNameVector) | |
| Constructor that uses specified dimensions to create RTI region. | |
| virtual | ~DtDDMRegion () |
| Destructor. | |
| virtual void | init (const std::vector< DtString > &dimensionNameVector) |
| Initialize the dimensions and create the RTI region. | |
| virtual void | initializeDimensions (const std::vector< DtString > &dimensionNameVector) |
| Initializes the specified dimensions. | |
| virtual void | initializeDimensions (const RTI::DimensionHandleSet &dimHandles) |
| Initialize the internal mapping using the specified dimension handles. | |
| virtual void | setUpperBound (const DtString &dimensionName, unsigned long upperBound) |
| This method sets the upper bound of dimension, specified by dimensionName, to the normalized value specified by upperBound. | |
| virtual void | setLowerBound (const DtString &dimensionName, unsigned long lowerBound) |
| This method sets the lower bound of the dimension, specified by dimensionName, to the normalized value specified by lowerBound. | |
| virtual void | setDimensionBounds (const DtString &dimensionName, unsigned long lowerBound, unsigned long upperBound) |
| This method sets the lower and upper bounds of the dimension, specified by dimensionName, to the normalized value specified by bounds. | |
| virtual void | notifyRtiOfUpdate () |
| Notify the RTI of changes to the region's extents. | |
| virtual void | addAttributeHandle (RTI::AttributeHandle handle) |
| Add an attribute to the handle to the attributes associated with this region. | |
| virtual void | addAttributeHandle (const DtString &objClassName, const DtString &attrName) |
| Add an attribute to the handle to the attributes associated with this region. | |
| virtual const RTI::AttributeHandleSet & | attributeHandles () const |
| Retrieve the attribute handle set associated with this region. | |
| virtual int | attributeHandleCount () const |
| Number of attributes associated with this region. | |
| virtual bool | hasAttributeHandles () const |
| Indicates if attributes have been associated with this region. | |
| virtual RTI::RegionHandle | regionHandle () |
| Access to the RTI region representation. | |
| virtual const RTI::RegionHandle | regionHandle () const |
| Access to the RTI region representation. | |
Protected Member Functions | |
| virtual void | createRegion () |
| Utility function that actually creates the region and stores the handle. | |
| DtDDMRegion (const DtDDMRegion &orig) | |
| Copy constructor – Not implemented – not allowed. | |
| DtDDMRegion & | operator= (const DtDDMRegion &orig) |
| Assignment operator. Not implemented – not assignable. | |
Protected Attributes | |
| RTI::RegionHandle | myRegionHandle |
| DtVrlRtiAmbassador * | myRtiAmb |
| std::map< DtString, DtDimensionHandleBoundsStruct > | myDimensionMap |
| DtExerciseConn * | myExConn |
| RTI::AttributeHandleSet * | myAttributeHandles |
Instances of DtDDMRegion create an RTI region with specified dimensions.
The region can be used for subscription, associating with objects, or sending interactions.
| DtDDMRegion::DtDDMRegion | ( | DtExerciseConn * | exConn | ) |
Constructor that creates empty shell.
Before it can be used, init must be called to specify dimensions and create RTI region.
| DtDDMRegion::DtDDMRegion | ( | DtExerciseConn * | exConn, |
| const std::vector< DtString > & | dimensionNameVector | ||
| ) |
Constructor that uses specified dimensions to create RTI region.
| DtException | the region cannot be created |
|
virtual |
Destructor.
|
protected |
Copy constructor – Not implemented – not allowed.
|
virtual |
Add an attribute to the handle to the attributes associated with this region.
|
virtual |
Add an attribute to the handle to the attributes associated with this region.
| DtException | if objClassName or attrName doesn't exist in the FOM. |
|
virtual |
Number of attributes associated with this region.
|
virtual |
Retrieve the attribute handle set associated with this region.
|
protectedvirtual |
Utility function that actually creates the region and stores the handle.
The dimensions need to be initialized before this call is made.
| DtException | if the region cannot be created |
|
virtual |
Indicates if attributes have been associated with this region.
|
virtual |
Initialize the dimensions and create the RTI region.
|
virtual |
Initializes the specified dimensions.
Retrieves the dimension handles from the RTI and adds them to the internal mapping.
| DtException | dimension handles cannot be retrieved. |
|
virtual |
Initialize the internal mapping using the specified dimension handles.
|
virtual |
Notify the RTI of changes to the region's extents.
|
protected |
Assignment operator. Not implemented – not assignable.
|
virtual |
Access to the RTI region representation.
|
virtual |
Access to the RTI region representation.
|
virtual |
This method sets the lower and upper bounds of the dimension, specified by dimensionName, to the normalized value specified by bounds.
|
virtual |
This method sets the lower bound of the dimension, specified by dimensionName, to the normalized value specified by lowerBound.
Referenced by DtHyperspaceRegion< SubspaceType, DimensionType >::DtHyperspaceRegion().
|
virtual |
This method sets the upper bound of dimension, specified by dimensionName, to the normalized value specified by upperBound.
Referenced by DtHyperspaceRegion< SubspaceType, DimensionType >::DtHyperspaceRegion().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |