10 #ifndef artPartThresh_h_
11 #define artPartThresh_h_
28 DtArtPartDfltThreshMode = -1,
29 DtArtPartIndividualThresh = 0,
30 DtArtPartAggregateThresh = 1
49 virtual void setRotationThreshold(
double thresh);
50 virtual double rotationThreshold()
const;
53 virtual double rotationTraceThreshold()
const;
57 virtual void setTranslationThreshold(
double thresh);
58 virtual double translationThreshold()
const;
62 virtual void setFractionalThreshold(
double thresh);
63 virtual double fractionalThreshold()
const;
67 virtual void setThreshMode(DtArtPartThresholdType mode);
68 virtual DtArtPartThresholdType threshMode()
const;
72 virtual bool artPartsExceedAggThreshold(
78 virtual bool artPartsExceedIndivThreshold(
84 virtual float artPartThreshold(
int paramType)
const;
89 static void setDfltThreshMode(DtArtPartThresholdType mode);
90 static DtArtPartThresholdType dfltThreshMode();
93 static void setDfltFractionalThreshold(
DtFloat32 thresh);
94 static DtFloat32 dfltFractionalThreshold();
97 static void setDfltRotationThreshold(
double r);
98 static double dfltRotationThreshold();
101 static void setDfltTranslationThreshold(
double t);
102 static double dfltTranslationThreshold();
static double theDfltTransThresh
Definition: artPartThresholder.h:121
static double dfltRotationThreshold()
Definition: artPartThresholder.h:149
bool myUsingDfltMode
Definition: artPartThresholder.h:112
This file exists to provide backwards compatibility only, and may be removed in a future release...
bool myUsingDfltRot
Definition: artPartThresholder.h:114
static double theDfltRotThresh
Definition: artPartThresholder.h:122
double myTraceRotThresh
Definition: artPartThresholder.h:110
static double theDfltTraceRotThresh
Definition: artPartThresholder.h:123
static void setDfltFractionalThreshold(DtFloat32 thresh)
Set/Get fractional threshold value.
Definition: artPartThresholder.h:126
This file provides a declaration of the class DtArticulatedPartCollection.
DtArtPartThresholdType
Definition: artPartThresholder.h:26
static void setDfltRotationThreshold(double r)
Set/Get rotational threshold value.
Definition: artPartThresholder.h:154
DtArtPartThresholder is used to store art-part-related thresholds, and to perform some art part thres...
Definition: artPartThresholder.h:21
T DtLimit(T x, T lo, T hi)
if x is outside the limits (hi and lo) then x is set to the nearest limit
Definition: vlMath.h:130
static DtArtPartThresholdType dfltThreshMode()
Definition: artPartThresholder.h:144
DtArtPartThresholdType myThreshMode
Definition: artPartThresholder.h:106
static double dfltTranslationThreshold()
Definition: artPartThresholder.h:160
A DtArticulatedPartCollection is a collection of articulated parts typically of an entity...
Definition: articulatedPartCollection.h:29
bool myUsingDfltFrac
Definition: artPartThresholder.h:115
static void setDfltThreshMode(DtArtPartThresholdType mode)
Set/Get the threshold mode.
Definition: artPartThresholder.h:137
double myTransThresh
Definition: artPartThresholder.h:108
#define DT_DLL_VLPROTIND
Definition: vlMachineTypes.h:110
float myFracThresh
Definition: artPartThresholder.h:107
#define M_PI
Definition: vlMath.h:58
static void setDfltTranslationThreshold(double t)
Set/Get translational threshold value.
Definition: artPartThresholder.h:165
static DtArtPartThresholdType theDfltThreshMode
Definition: artPartThresholder.h:119
static DtFloat32 dfltFractionalThreshold()
Definition: artPartThresholder.h:132
provides basic Operating Independent Methods useful to a federate
double myRotThresh
Definition: artPartThresholder.h:109
bool myUsingDfltTrans
Definition: artPartThresholder.h:113
static float theDfltFracThresh
Definition: artPartThresholder.h:120