![]() |
VR-Forces 4.0.4 Class Documentation
|
Total: 32 bytes. More...

Public Member Functions | |
| DtIfSetThresholds () | |
| default constructor | |
| DtIfSetThresholds (const DtIfSetThresholds &orig) | |
| copy constructor | |
| const DtIfSetThresholds & | operator= (const DtIfSetThresholds &orig) |
| assignment operator | |
| virtual | ~DtIfSetThresholds () |
| virtual int | type () const |
| Returns the type of Interface Content; DtSetFrameModeMessageType. | |
| virtual DtSimInterfaceContent * | clone () const |
| Creates of copy of this object. | |
| virtual void | setRotationThreshold (DtReal thresh) |
| Set rotation threshold in radians. | |
| virtual double | rotationThreshold () const |
| Get rotation threshold in radians. | |
| virtual void | setTranslationThreshold (DtReal thresh) |
| Set translation threshold in meters. | |
| virtual double | translationThreshold () const |
| Get translation threshold in meters. | |
| virtual void | setAggDimensionThreshold (DtReal thresh) |
| Set/Get aggregate dimension threshold. | |
| virtual double | aggDimensionThreshold () const |
| virtual bool | isRotationThresholdSpecified () |
| Accessor for the rotation value specified flag. | |
| virtual bool | isTranslationThresholdSpecified () |
| Accessor for the translation value specified flag. | |
| virtual bool | isAggDimensionThresholdSpecified () |
| Accessor for the aggregate dimension value specified flag. | |
| virtual void | printDataToString (DtString &str) |
| Pretty prints the threshold information to the str. | |
| virtual int | netRepSize () const |
| Returns the size of DtNetIfSetThresholds. | |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| Sets the member data from the contentBuffer. | |
| virtual bool | setToNet () |
| Writes the member data to myNetRep. | |
Static Public Member Functions | |
| static DtSimInterfaceContent * | creator () |
| Returns a new DtIfSetThresholds. | |
Protected Attributes | |
| DtReal | myTranslation |
| bool | myTranslationSpecified |
| DtReal | myRotation |
| bool | myRotationSpecified |
| DtReal | myAggDimension |
| bool | myAggDimensionSpecified |
Total: 32 bytes.
The DtIfSetThresholds message allows the default VR-Link thresholding values to be set. The DtVrfObjectManager registers for this message and makes the appropriate VR-Link calls documented in section 5.5.6. "Setting Position and Orientation Thresholds" of the VR-Link Developer's Guide.
Content-Type: DtSetThresholdsMessageType
default constructor
| DtIfSetThresholds::DtIfSetThresholds | ( | const DtIfSetThresholds & | orig | ) |
copy constructor
| virtual DtIfSetThresholds::~DtIfSetThresholds | ( | ) | [virtual] |
| const DtIfSetThresholds& DtIfSetThresholds::operator= | ( | const DtIfSetThresholds & | orig | ) |
assignment operator
| virtual int DtIfSetThresholds::type | ( | ) | const [virtual] |
Returns the type of Interface Content; DtSetFrameModeMessageType.
Implements DtSimInterfaceContent.
| virtual DtSimInterfaceContent* DtIfSetThresholds::clone | ( | ) | const [virtual] |
Creates of copy of this object.
Implements DtSimInterfaceContent.
| virtual void DtIfSetThresholds::setRotationThreshold | ( | DtReal | thresh | ) | [virtual] |
Set rotation threshold in radians.
| virtual double DtIfSetThresholds::rotationThreshold | ( | ) | const [virtual] |
Get rotation threshold in radians.
| virtual void DtIfSetThresholds::setTranslationThreshold | ( | DtReal | thresh | ) | [virtual] |
Set translation threshold in meters.
| virtual double DtIfSetThresholds::translationThreshold | ( | ) | const [virtual] |
Get translation threshold in meters.
| virtual void DtIfSetThresholds::setAggDimensionThreshold | ( | DtReal | thresh | ) | [virtual] |
Set/Get aggregate dimension threshold.
Thresh is a number between 0 and 1, indicating the percentage change that an aggregate dimension can undergo before causing an update to be generated.
| virtual double DtIfSetThresholds::aggDimensionThreshold | ( | ) | const [virtual] |
| virtual bool DtIfSetThresholds::isRotationThresholdSpecified | ( | ) | [virtual] |
Accessor for the rotation value specified flag.
| virtual bool DtIfSetThresholds::isTranslationThresholdSpecified | ( | ) | [virtual] |
Accessor for the translation value specified flag.
| virtual bool DtIfSetThresholds::isAggDimensionThresholdSpecified | ( | ) | [virtual] |
Accessor for the aggregate dimension value specified flag.
| virtual void DtIfSetThresholds::printDataToString | ( | DtString & | str | ) | [virtual] |
Pretty prints the threshold information to the str.
Reimplemented from DtSimInterfaceContent.
| virtual int DtIfSetThresholds::netRepSize | ( | ) | const [virtual] |
Returns the size of DtNetIfSetThresholds.
Reimplemented from DtSimInterfaceContent.
| virtual bool DtIfSetThresholds::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Sets the member data from the contentBuffer.
Reimplemented from DtSimInterfaceContent.
| virtual bool DtIfSetThresholds::setToNet | ( | ) | [virtual] |
Writes the member data to myNetRep.
Reimplemented from DtSimInterfaceContent.
| static DtSimInterfaceContent* DtIfSetThresholds::creator | ( | ) | [static] |
Returns a new DtIfSetThresholds.
DtReal DtIfSetThresholds::myTranslation [protected] |
bool DtIfSetThresholds::myTranslationSpecified [protected] |
DtReal DtIfSetThresholds::myRotation [protected] |
bool DtIfSetThresholds::myRotationSpecified [protected] |
DtReal DtIfSetThresholds::myAggDimension [protected] |
bool DtIfSetThresholds::myAggDimensionSpecified [protected] |