![]() |
VR-Link API Documentation for HLA 4
|
Instances of DtDDMRegion create an RTI region with specified dimensions. More...
Inheritance diagram for DtDDMRegion:
Collaboration diagram for DtDDMRegion:Public Member Functions | |
| DtDDMRegion (DtExerciseConn *exConn) | |
| Constructor that creates empty shell. More... | |
| DtDDMRegion (DtExerciseConn *exConn, const DtString &spaceName, int numberOfExtents=1) | |
| Constructor that uses the specified space to create RTI region. More... | |
| DtDDMRegion (DtExerciseConn *exConn, const DtString &spaceName, const std::vector< DtString > &dimensionNameVector, int numberOfExtents=1) | |
| Constructor with that uses specified space and dimensions to create RTI region. More... | |
| virtual | ~DtDDMRegion () |
| Destructor. More... | |
| void | init (const DtString &spaceName, const std::vector< DtString > &dimensionNameVector, int numberOfExtents=1) |
| Initialize the region with the space and dimensions specified. More... | |
| virtual void | initializeDimensions (const std::vector< DtString > &dimensionNameVector) |
| Initialize the region dimensions using the specified dimension names. More... | |
| virtual void | setUpperBound (const DtString &dimensionName, unsigned long upperBound, int extentIndex=0) |
| This method sets the upper bound of dimension, specified by dimensionName, to the normalized value specified by upperBound. More... | |
| virtual void | setLowerBound (const DtString &dimensionName, unsigned long lowerBound, int extentIndex=0) |
| This method sets the lower bound of the dimension, specified by dimensionName, to the normalized value specified by lowerBound. More... | |
| virtual void | setDimensionBounds (const DtString &dimensionName, unsigned long lowerBound, unsigned long upperBound, int extentIndex=0) |
| This method sets the lower and upper bounds of the dimension,. More... | |
| virtual void | notifyRtiOfUpdate () |
| Notify the RTI of changes to the region's extents This function will only act if a dimension has actually changed. More... | |
| virtual void | addAttributeHandle (RTI::AttributeHandle handle) |
| Add an attribute handle to the attributes associated with this region. More... | |
| virtual void | addAttributeHandle (const DtString &objClassName, const DtString &attrName) |
| Use the class and attribute names to retrieve handles then, add an attribute handle to the attributes associated with this region. More... | |
| virtual const RTI::AttributeHandleSet & | attributeHandles () const |
| Retrieve the attribute handle set associated with this region. More... | |
| virtual int | attributeHandleCount () const |
| Number of attributes associated with this region. More... | |
| virtual bool | hasAttributeHandles () const |
| Indicates if attributes have been associated with this region. More... | |
| virtual const RTI::Region * | region () const |
| Access to the RTI region representation. More... | |
| virtual RTI::Region * | region () |
| Access to the RTI region representation. More... | |
Protected Member Functions | |
| DtDDMRegion (const DtDDMRegion &orig) | |
| Copy constructor – Not implemented – not allowed. More... | |
| DtDDMRegion & | operator= (const DtDDMRegion &orig) |
| Assignment operator. Not implemented – not assignable. More... | |
Protected Attributes | |
| DtExerciseConn * | myExConn |
| DtVrlRtiAmbassador * | myRtiAmb |
| RTI::Region * | myRegion |
| std::map< DtString, RTI::DimensionHandle > | myDimensionMap |
| RTI::SpaceHandle | mySpaceHandle |
| bool | myIsDirty |
| 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 the extents can be modified, init must be called to specify dimensions and create RTI region. Before it can be used, extents must be set and RTI notified.
| DtDDMRegion::DtDDMRegion | ( | DtExerciseConn * | exConn, |
| const DtString & | spaceName, | ||
| int | numberOfExtents = 1 |
||
| ) |
Constructor that uses the specified space to create RTI region.
Before the extents can be modified, initializeDimensions() must be called. Before it can be used, extents must be set and RTI notified.
| DtException | a region cannot be created |
| DtDDMRegion::DtDDMRegion | ( | DtExerciseConn * | exConn, |
| const DtString & | spaceName, | ||
| const std::vector< DtString > & | dimensionNameVector, | ||
| int | numberOfExtents = 1 |
||
| ) |
Constructor with that uses specified space and dimensions to create RTI region.
Region extents can be modified immediately. Before it can be used, extents must be set and RTI notified.
| DtException | a region cannot be created or the dimension handles cannot be retrieved |
|
virtual |
Destructor.
|
protected |
Copy constructor – Not implemented – not allowed.
|
virtual |
Add an attribute handle to the attributes associated with this region.
|
virtual |
Use the class and attribute names to retrieve handles then, add an attribute 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.
|
virtual |
Indicates if attributes have been associated with this region.
| void DtDDMRegion::init | ( | const DtString & | spaceName, |
| const std::vector< DtString > & | dimensionNameVector, | ||
| int | numberOfExtents = 1 |
||
| ) |
Initialize the region with the space and dimensions specified.
Not virtual as it may be called from a constructor.
|
virtual |
Initialize the region dimensions using the specified dimension names.
| DtException | the dimension handle cannot be retrieved from the RTI (e.g. a name in the list is not in the FED file). |
|
virtual |
Notify the RTI of changes to the region's extents This function will only act if a dimension has actually changed.
|
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,.
|
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 |
|
protected |
|
protected |