![]() |
VR-Link API Documentation for HLA 1.3
|
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 | |
| DtArtPartThresholder & | operator= (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 |
DtArtPartThresholder is used to store art-part-related thresholds, and to perform some art part thresholding.
Constructor.
| virtual DtArtPartThresholder::~DtArtPartThresholder | ( | ) | [virtual] |
Destructor.
| DtArtPartThresholder::DtArtPartThresholder | ( | const DtArtPartThresholder & | orig | ) |
copy constructor
| 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 | ( | ) | [inline, static] |
References theDfltFracThresh.
| double DtArtPartThresholder::dfltRotationThreshold | ( | ) | [inline, static] |
References theDfltRotThresh.
Referenced by setDfltRotationThreshold().
| DtArtPartThresholder::DtArtPartThresholdType DtArtPartThresholder::dfltThreshMode | ( | ) | [inline, static] |
References theDfltThreshMode.
| double DtArtPartThresholder::dfltTranslationThreshold | ( | ) | [inline, static] |
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 | ) | [inline, static] |
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.
| void DtArtPartThresholder::setDfltThreshMode | ( | DtArtPartThresholdType | mode | ) | [inline, static] |
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.
| 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] |
float DtArtPartThresholder::myFracThresh [protected] |
double DtArtPartThresholder::myRotThresh [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 [static, protected] |
Referenced by dfltFractionalThreshold(), and setDfltFractionalThreshold().
double DtArtPartThresholder::theDfltRotThresh [static, protected] |
Referenced by dfltRotationThreshold(), and setDfltRotationThreshold().
DtArtPartThresholdType DtArtPartThresholder::theDfltThreshMode [static, protected] |
Referenced by dfltThreshMode(), and setDfltThreshMode().
double DtArtPartThresholder::theDfltTraceRotThresh [static, protected] |
Referenced by setDfltRotationThreshold().
double DtArtPartThresholder::theDfltTransThresh [static, protected] |
Referenced by dfltTranslationThreshold(), and setDfltTranslationThreshold().