![]() |
VR-Link API Documentation for DIS
|
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. More... | |
| virtual | ~DtArtPartThresholder () |
| Destructor. More... | |
| DtArtPartThresholder (const DtArtPartThresholder &orig) | |
| copy constructor More... | |
| DtArtPartThresholder & | operator= (const DtArtPartThresholder &orig) |
| assignment operator More... | |
| virtual void | setRotationThreshold (double thresh) |
| Set/Get rotation threshold in radians. More... | |
| virtual double | rotationThreshold () const |
| virtual double | rotationTraceThreshold () const |
| Returns the "RotationTrace" threshold. More... | |
| virtual void | setTranslationThreshold (double thresh) |
| Set/Get translation threshold in meters. More... | |
| virtual double | translationThreshold () const |
| virtual void | setFractionalThreshold (double thresh) |
| Set/Get fractional threshold (fraction between 0 and 1). More... | |
| virtual double | fractionalThreshold () const |
| virtual void | setThreshMode (DtArtPartThresholdType mode) |
| Set/Get the threshold mode. More... | |
| 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. More... | |
| virtual bool | artPartsExceedIndivThreshold (const DtArticulatedPartCollection &localList, const DtArticulatedPartCollection &remoteList) const |
| Get whether or not an individual parameter threshold has been exceeded. More... | |
| virtual float | artPartThreshold (int paramType) const |
| Get the thresholding value (functional, translational, or rotational) for the parameter type. More... | |
Static Public Member Functions | |
| static void | setDfltThreshMode (DtArtPartThresholdType mode) |
| Set/Get the threshold mode. More... | |
| static DtArtPartThresholdType | dfltThreshMode () |
| static void | setDfltFractionalThreshold (DtFloat32 thresh) |
| Set/Get fractional threshold value. More... | |
| static DtFloat32 | dfltFractionalThreshold () |
| static void | setDfltRotationThreshold (double r) |
| Set/Get rotational threshold value. More... | |
| static double | dfltRotationThreshold () |
| static void | setDfltTranslationThreshold (double t) |
| Set/Get translational threshold value. More... | |
| static double | dfltTranslationThreshold () |
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.
| DtArtPartThresholder::DtArtPartThresholder | ( | ) |
Constructor.
|
virtual |
Destructor.
| DtArtPartThresholder::DtArtPartThresholder | ( | const DtArtPartThresholder & | orig | ) |
copy constructor
|
virtual |
Get whether or not an aggregate threshold (such as position, translation, rotation, etc.) has been exceeded.
|
virtual |
Get whether or not an individual parameter threshold has been exceeded.
Get the thresholding value (functional, translational, or rotational) for the parameter type.
|
inlinestatic |
References theDfltFracThresh.
|
inlinestatic |
References theDfltRotThresh.
Referenced by setDfltRotationThreshold().
|
inlinestatic |
References theDfltThreshMode.
|
inlinestatic |
References theDfltTransThresh.
|
virtual |
| DtArtPartThresholder& DtArtPartThresholder::operator= | ( | const DtArtPartThresholder & | orig | ) |
assignment operator
|
virtual |
|
virtual |
Returns the "RotationTrace" threshold.
|
inlinestatic |
Set/Get fractional threshold value.
References theDfltFracThresh.
|
inlinestatic |
Set/Get rotational threshold value.
References dfltRotationThreshold(), DtLimit(), M_PI, theDfltRotThresh, and theDfltTraceRotThresh.
|
inlinestatic |
Set/Get the threshold mode.
References theDfltThreshMode.
|
inlinestatic |
Set/Get translational threshold value.
References theDfltTransThresh.
|
virtual |
Set/Get fractional threshold (fraction between 0 and 1).
Negative number means use default.
|
virtual |
Set/Get rotation threshold in radians.
Negative number means use default.
|
virtual |
Set/Get the threshold mode.
Use DtArtPartDfltThreshMode to indicate use of the default.
|
virtual |
Set/Get translation threshold in meters.
Negative number means use default.
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
Referenced by dfltFractionalThreshold(), and setDfltFractionalThreshold().
|
staticprotected |
Referenced by dfltRotationThreshold(), and setDfltRotationThreshold().
|
staticprotected |
Referenced by dfltThreshMode(), and setDfltThreshMode().
|
staticprotected |
Referenced by setDfltRotationThreshold().
|
staticprotected |
Referenced by dfltTranslationThreshold(), and setDfltTranslationThreshold().