VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
DtIfSetThresholds Class Reference

Total: 32 bytes. More...

Inheritance diagram for DtIfSetThresholds:
Inheritance graph
[legend]

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

DtIfSetThresholds::DtIfSetThresholds ( )

default constructor

DtIfSetThresholds::DtIfSetThresholds ( const DtIfSetThresholds orig)

copy constructor

virtual DtIfSetThresholds::~DtIfSetThresholds ( )
virtual

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.

virtual DtSimInterfaceContent* DtIfSetThresholds::clone ( ) const
virtual

Creates of copy of this object.

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.

virtual int DtIfSetThresholds::netRepSize ( ) const
virtual

Returns the size of DtNetIfSetThresholds.

virtual bool DtIfSetThresholds::setFromNet ( const char contentBuffer,
unsigned  contentSize 
)
virtual

Sets the member data from the contentBuffer.

virtual bool DtIfSetThresholds::setToNet ( )
virtual

Writes the member data to myNetRep.

static DtSimInterfaceContent* DtIfSetThresholds::creator ( )
static

Returns a new DtIfSetThresholds.

Member Data Documentation

DtReal DtIfSetThresholds::myTranslation
protected
bool DtIfSetThresholds::myTranslationSpecified
protected
DtReal DtIfSetThresholds::myRotation
protected
bool DtIfSetThresholds::myRotationSpecified
protected
DtReal DtIfSetThresholds::myAggDimension
protected
bool DtIfSetThresholds::myAggDimensionSpecified
protected

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

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)