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

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

Inheritance diagram for DtIfSetThresholds:
Inheritance graph
[legend]

Public Member Functions

 DtIfSetThresholds ()
 
 DtIfSetThresholds (const DtIfSetThresholds &orig)
 
const DtIfSetThresholdsoperator= (const DtIfSetThresholds &orig)
 
virtual ~DtIfSetThresholds ()
 
virtual int type () const
 
virtual DtSimInterfaceContentclone () const
 
virtual void setRotationThreshold (DtReal thresh)
 
virtual double rotationThreshold () const
 
virtual void setTranslationThreshold (DtReal thresh)
 
virtual double translationThreshold () const
 
virtual void setAggDimensionThreshold (DtReal thresh)
 
virtual double aggDimensionThreshold () const
 
virtual bool isRotationThresholdSpecified ()
 
virtual bool isTranslationThresholdSpecified ()
 
virtual bool isAggDimensionThresholdSpecified ()
 
virtual void printDataToString (DtString &str)
 
virtual int netRepSize () const
 
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize)
 
virtual bool setToNet ()
 
- Public Member Functions inherited from DtSimInterfaceContent
virtual ~DtSimInterfaceContent ()
 
virtual bool update (const DtSimInterfaceContent *data)
 
virtual charnetRep ()
 
virtual void printContentType (DtString &str)
 
virtual void setUseSessionId (bool yesNo)
 
virtual bool useSessionId () const
 

Static Public Member Functions

static DtSimInterfaceContentcreator ()
 
- Static Public Member Functions inherited from DtSimInterfaceContent
static DtSimInterfaceContentcreateInterfaceContent (int type)
 
static void addInterfaceContentCreatorFcn (int type, DtInterfaceContentCreatorFcn fcn)
 
static void setFactory (DtInterfaceContentFactory *factory)
 
static DtInterfaceContentFactoryfactory ()
 
static void registerContentTypePrinter (DtSimInterfaceContentTypePrinterFcn printFcn)
 

Protected Attributes

DtReal myTranslation
 
bool myTranslationSpecified
 
DtReal myRotation
 
bool myRotationSpecified
 
DtReal myAggDimension
 
bool myAggDimensionSpecified
 
- Protected Attributes inherited from DtSimInterfaceContent
charmyNetRep
 
bool myUseSessionId
 

Additional Inherited Members

- Protected Member Functions inherited from DtSimInterfaceContent
 DtSimInterfaceContent ()
 
 DtSimInterfaceContent (const DtSimInterfaceContent &orig)
 
const DtSimInterfaceContentoperator= (const DtSimInterfaceContent &orig)
 
virtual charcreateNetworkBuffer ()
 
- Static Protected Attributes inherited from DtSimInterfaceContent
static DtInterfaceContentFactorymyFactory
 
static
DtSimInterfaceContentTypePrinterFcn 
theContentTypePrinterFcn
 

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.

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.

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 Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)