VR-Link API Documentation for HLA 1.3
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes
DtArtPartThresholder Class Reference

DtArtPartThresholder is used to store art-part-related thresholds, and to perform some art part thresholding. More...

+ Collaboration diagram for DtArtPartThresholder:

List of all members.

Public Types

enum  DtArtPartThresholdType { DtArtPartDfltThreshMode = -1, DtArtPartIndividualThresh = 0, DtArtPartAggregateThresh = 1 }

Public Member Functions

 DtArtPartThresholder ()
 Constructor.
virtual ~DtArtPartThresholder ()
 Destructor.
 DtArtPartThresholder (const DtArtPartThresholder &orig)
 copy constructor
DtArtPartThresholderoperator= (const DtArtPartThresholder &orig)
 assignment operator
virtual void setRotationThreshold (double thresh)
 Set/Get rotation threshold in radians.
virtual double rotationThreshold () const
virtual double rotationTraceThreshold () const
 Returns the "RotationTrace" threshold.
virtual void setTranslationThreshold (double thresh)
 Set/Get translation threshold in meters.
virtual double translationThreshold () const
virtual void setFractionalThreshold (double thresh)
 Set/Get fractional threshold (fraction between 0 and 1).
virtual double fractionalThreshold () const
virtual void setThreshMode (DtArtPartThresholdType mode)
 Set/Get the threshold mode.
virtual DtArtPartThresholdType threshMode () const
virtual bool artPartsExceedAggThreshold (const DtArticulatedPartCollection &localList, const DtArticulatedPartCollection &remoteList) const
 Get whether or not an aggregate threshold (such as position, translation, rotation, etc.) has been exceeded.
virtual bool artPartsExceedIndivThreshold (const DtArticulatedPartCollection &localList, const DtArticulatedPartCollection &remoteList) const
 Get whether or not an individual parameter threshold has been exceeded.
virtual float artPartThreshold (int paramType) const
 Get the thresholding value (functional, translational, or rotational) for the parameter type.

Static Public Member Functions

static void setDfltThreshMode (DtArtPartThresholdType mode)
 Set/Get the threshold mode.
static DtArtPartThresholdType dfltThreshMode ()
static void setDfltFractionalThreshold (DtFloat32 thresh)
 Set/Get fractional threshold value.
static DtFloat32 dfltFractionalThreshold ()
static void setDfltRotationThreshold (double r)
 Set/Get rotational threshold value.
static double dfltRotationThreshold ()
static void setDfltTranslationThreshold (double t)
 Set/Get translational threshold value.
static double dfltTranslationThreshold ()

Protected Attributes

DtArtPartThresholdType myThreshMode
float myFracThresh
double myTransThresh
double myRotThresh
double myTraceRotThresh
bool myUsingDfltMode
bool myUsingDfltTrans
bool myUsingDfltRot
bool myUsingDfltFrac

Static Protected Attributes

static DtArtPartThresholdType theDfltThreshMode
static float theDfltFracThresh
static double theDfltTransThresh
static double theDfltRotThresh
static double theDfltTraceRotThresh

Detailed Description

DtArtPartThresholder is used to store art-part-related thresholds, and to perform some art part thresholding.


Member Enumeration Documentation

Enumerator:
DtArtPartDfltThreshMode 
DtArtPartIndividualThresh 
DtArtPartAggregateThresh 

Constructor & Destructor Documentation

Constructor.

Destructor.

copy constructor


Member Function Documentation

virtual bool DtArtPartThresholder::artPartsExceedAggThreshold ( const DtArticulatedPartCollection localList,
const DtArticulatedPartCollection remoteList 
) const [virtual]

Get whether or not an aggregate threshold (such as position, translation, rotation, etc.) has been exceeded.

virtual bool DtArtPartThresholder::artPartsExceedIndivThreshold ( const DtArticulatedPartCollection localList,
const DtArticulatedPartCollection remoteList 
) const [virtual]

Get whether or not an individual parameter threshold has been exceeded.

virtual float DtArtPartThresholder::artPartThreshold ( int  paramType) const [virtual]

Get the thresholding value (functional, translational, or rotational) for the parameter type.

References theDfltFracThresh.

double DtArtPartThresholder::dfltRotationThreshold ( ) [inline, static]

References theDfltRotThresh.

Referenced by setDfltRotationThreshold().

References theDfltThreshMode.

References theDfltTransThresh.

virtual double DtArtPartThresholder::fractionalThreshold ( ) const [virtual]
DtArtPartThresholder& DtArtPartThresholder::operator= ( const DtArtPartThresholder orig)

assignment operator

virtual double DtArtPartThresholder::rotationThreshold ( ) const [virtual]
virtual double DtArtPartThresholder::rotationTraceThreshold ( ) const [virtual]

Returns the "RotationTrace" threshold.

Set/Get fractional threshold value.

References theDfltFracThresh.

void DtArtPartThresholder::setDfltRotationThreshold ( double  r) [inline, static]

Set/Get rotational threshold value.

References dfltRotationThreshold(), DtLimit(), M_PI, theDfltRotThresh, and theDfltTraceRotThresh.

Set/Get the threshold mode.

References theDfltThreshMode.

void DtArtPartThresholder::setDfltTranslationThreshold ( double  t) [inline, static]

Set/Get translational threshold value.

References theDfltTransThresh.

virtual void DtArtPartThresholder::setFractionalThreshold ( double  thresh) [virtual]

Set/Get fractional threshold (fraction between 0 and 1).

Negative number means use default.

virtual void DtArtPartThresholder::setRotationThreshold ( double  thresh) [virtual]

Set/Get rotation threshold in radians.

Negative number means use default.

Set/Get the threshold mode.

Use DtArtPartDfltThreshMode to indicate use of the default.

virtual void DtArtPartThresholder::setTranslationThreshold ( double  thresh) [virtual]

Set/Get translation threshold in meters.

Negative number means use default.

virtual double DtArtPartThresholder::translationThreshold ( ) const [virtual]

Member Data Documentation

float DtArtPartThresholder::theDfltFracThresh [static, protected]
double DtArtPartThresholder::theDfltRotThresh [static, protected]
double DtArtPartThresholder::theDfltTraceRotThresh [static, protected]
double DtArtPartThresholder::theDfltTransThresh [static, protected]

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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)