VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
DtIfSetThresholds Class Reference

Total: 32 bytes. More...

Inheritance diagram for DtIfSetThresholds:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtIfSetThresholds ()
 default constructor
 DtIfSetThresholds (const DtIfSetThresholds &orig)
 copy constructor
const DtIfSetThresholdsoperator= (const DtIfSetThresholds &orig)
 assignment operator
virtual ~DtIfSetThresholds ()
virtual int type () const
 Returns the type of Interface Content; DtSetFrameModeMessageType.
virtual DtSimInterfaceContentclone () 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 DtSimInterfaceContentcreator ()
 Returns a new DtIfSetThresholds.

Protected Attributes

DtReal myTranslation
bool myTranslationSpecified
DtReal myRotation
bool myRotationSpecified
DtReal myAggDimension
bool myAggDimensionSpecified

Detailed Description

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


Constructor & Destructor Documentation

default constructor

copy constructor


Member Function Documentation

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]

Accessor for the rotation value specified flag.

Accessor for the translation value specified flag.

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.

Returns a new DtIfSetThresholds.


Member Data Documentation

DtReal DtIfSetThresholds::myRotation [protected]

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)