VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | 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:

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

DtArtPartThresholder::DtArtPartThresholder ( )

Constructor.

virtual DtArtPartThresholder::~DtArtPartThresholder ( )
virtual

Destructor.

DtArtPartThresholder::DtArtPartThresholder ( const DtArtPartThresholder orig)

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.

DtFloat32 DtArtPartThresholder::dfltFractionalThreshold ( )
inlinestatic

References theDfltFracThresh.

double DtArtPartThresholder::dfltRotationThreshold ( )
inlinestatic

References theDfltRotThresh.

Referenced by setDfltRotationThreshold().

DtArtPartThresholder::DtArtPartThresholdType DtArtPartThresholder::dfltThreshMode ( )
inlinestatic

References theDfltThreshMode.

double DtArtPartThresholder::dfltTranslationThreshold ( )
inlinestatic

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.

void DtArtPartThresholder::setDfltFractionalThreshold ( DtFloat32  thresh)
inlinestatic

Set/Get fractional threshold value.

References theDfltFracThresh.

void DtArtPartThresholder::setDfltRotationThreshold ( double  r)
inlinestatic

Set/Get rotational threshold value.

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

void DtArtPartThresholder::setDfltThreshMode ( DtArtPartThresholdType  mode)
inlinestatic

Set/Get the threshold mode.

References theDfltThreshMode.

void DtArtPartThresholder::setDfltTranslationThreshold ( double  t)
inlinestatic

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.

virtual void DtArtPartThresholder::setThreshMode ( DtArtPartThresholdType  mode)
virtual

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 DtArtPartThresholdType DtArtPartThresholder::threshMode ( ) const
virtual
virtual double DtArtPartThresholder::translationThreshold ( ) const
virtual

Member Data Documentation

float DtArtPartThresholder::myFracThresh
protected
double DtArtPartThresholder::myRotThresh
protected
DtArtPartThresholdType DtArtPartThresholder::myThreshMode
protected
double DtArtPartThresholder::myTraceRotThresh
protected
double DtArtPartThresholder::myTransThresh
protected
bool DtArtPartThresholder::myUsingDfltFrac
protected
bool DtArtPartThresholder::myUsingDfltMode
protected
bool DtArtPartThresholder::myUsingDfltRot
protected
bool DtArtPartThresholder::myUsingDfltTrans
protected
float DtArtPartThresholder::theDfltFracThresh
staticprotected
double DtArtPartThresholder::theDfltRotThresh
staticprotected
DtArtPartThresholdType DtArtPartThresholder::theDfltThreshMode
staticprotected
double DtArtPartThresholder::theDfltTraceRotThresh
staticprotected
double DtArtPartThresholder::theDfltTransThresh
staticprotected

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

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)