VR-Link API Documentation for HLA 1516
Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes
DtThresholder Class Reference

Instances of DtThresholder store thresholding information used to determine what attributes of an entity need to be updated. More...

+ Collaboration diagram for DtThresholder:

List of all members.

Public Member Functions

 DtThresholder ()
 default constructor
virtual ~DtThresholder ()
 destructor
 DtThresholder (const DtThresholder &orig)
 copy constructor
DtThresholderoperator= (const DtThresholder &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 setAggDimensionThreshold (double thresh)
 Set/Get aggregate dimension threshold.
virtual double aggDimensionThreshold () const
virtual void setAntennaLocationThreshold (double thresh)
 Set/Get the antenna location threshold for radio transmitters' world location.
virtual double antennaLocationThreshold () const
virtual void setAntennaOrientationThreshold (double thresh)
 Set/get the antenna orientation threshold for radio transmitters' orientation (as specified in the antenna pattern data).
virtual double antennaOrientationThreshold () const
virtual DtArtPartThresholderartPartThresholder ()
 Returns a pointer to an object that maintains thresholds for articulated parts.
virtual const
DtArtPartThresholder
artPartThresholder () const

Static Public Member Functions

static void setDfltTranslationThreshold (double thresh)
 Set/Get default translation threshold in radians.
static double dfltTranslationThreshold ()
static void setDfltRotationThreshold (double thresh)
 Set/Get default rotation threshold in radians.
static double dfltRotationThreshold ()
static double dfltRotationTraceThreshold ()
 Returns the "RotationTrace" threshold.
static void setDfltAggDimensionThreshold (double thresh)
 Set/Get aggregate dimension threshold.
static double dfltAggDimensionThreshold ()
static void setDfltAntennaLocationThreshold (double thresh)
 Set/Get the default antenna location threshold for radio transmitters' world location.
static double dfltAntennaLocationThreshold ()
static void setDfltAntennaOrientationThreshold (double thresh)
 Set/get the antenna orientation threshold for radio transmitters' orientation (as specified in the antenna pattern data).
static double dfltAntennaOrientationThreshold ()

Protected Attributes

double myTransThresh
double myRotThresh
double myTraceRotThresh
double myAggDimThresh
double myAntennaLocThresh
double myAntennaOrientThresh
bool myUsingDfltTrans
bool myUsingDfltRot
bool myUsingDfltAggDim
bool myUsingDfltAntennaLoc
bool myUsingDfltAntennaOrient
DtArtPartThresholder myArtPartThresh

Static Protected Attributes

static double theDfltTransThresh
static double theDfltRotThresh
static double theDfltTraceRotThresh
static double theDfltAggDimThresh
static double theDfltAntennaLocThresh
static double theDfltAntennaOrientThresh

Detailed Description

Instances of DtThresholder store thresholding information used to determine what attributes of an entity need to be updated.


Constructor & Destructor Documentation

default constructor

virtual DtThresholder::~DtThresholder ( ) [virtual]

destructor

copy constructor


Member Function Documentation

virtual double DtThresholder::aggDimensionThreshold ( ) const [virtual]
virtual double DtThresholder::antennaLocationThreshold ( ) const [virtual]
virtual double DtThresholder::antennaOrientationThreshold ( ) const [virtual]

Returns a pointer to an object that maintains thresholds for articulated parts.

References myArtPartThresh.

const DtArtPartThresholder & DtThresholder::artPartThresholder ( ) const [inline, virtual]

References myArtPartThresh.

double DtThresholder::dfltAggDimensionThreshold ( ) [inline, static]

References theDfltAggDimThresh.

static double DtThresholder::dfltAntennaLocationThreshold ( ) [static]
double DtThresholder::dfltRotationThreshold ( ) [inline, static]

References theDfltRotThresh.

Referenced by setDfltRotationThreshold().

double DtThresholder::dfltRotationTraceThreshold ( ) [inline, static]

Returns the "RotationTrace" threshold.

References theDfltTraceRotThresh.

double DtThresholder::dfltTranslationThreshold ( ) [inline, static]

References theDfltTransThresh.

DtThresholder& DtThresholder::operator= ( const DtThresholder orig)

assignment operator

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

Returns the "RotationTrace" threshold.

virtual void DtThresholder::setAggDimensionThreshold ( double  thresh) [virtual]

Set/Get aggregate dimension threshold.

Thresh is a number between 0 and 1, indicating the percentage change that an aggregate dimension can undergo before causing an update to be generated. Negative number means use default. Applies only to aggregate entities.

virtual void DtThresholder::setAntennaLocationThreshold ( double  thresh) [virtual]

Set/Get the antenna location threshold for radio transmitters' world location.

Thresh is a number that indicates the number of meters in distance that the location of the antenna may change by before another update is sent out. Defaults to 500 meters. A negative number means use default;

virtual void DtThresholder::setAntennaOrientationThreshold ( double  thresh) [virtual]

Set/get the antenna orientation threshold for radio transmitters' orientation (as specified in the antenna pattern data).

Thresh is the number of radians by which the orientation may change before another update is sent out. Defaults to 180 degrees. Is only applicable to DIS, by default. A negative number means use default.

void DtThresholder::setDfltAggDimensionThreshold ( double  thresh) [inline, static]

Set/Get aggregate dimension threshold.

Thresh is a number between 0 and 1, indicating the percentage change that an aggregate dimension can undergo before causing an update to be generated. Applies only to aggregate entities.

References theDfltAggDimThresh.

static void DtThresholder::setDfltAntennaLocationThreshold ( double  thresh) [static]

Set/Get the default antenna location threshold for radio transmitters' world location.

Thresh is a number that indicates the number of meters in distance that the location of the antenna may change by before another update is sent out. Defaults to 500 meters.

static void DtThresholder::setDfltAntennaOrientationThreshold ( double  thresh) [static]

Set/get the antenna orientation threshold for radio transmitters' orientation (as specified in the antenna pattern data).

Thresh is the number of radians by which the orientation may change before another update is sent out. Defaults to 180 degrees. Is only applicable to DIS, by default.

void DtThresholder::setDfltRotationThreshold ( double  thresh) [inline, static]

Set/Get default rotation threshold in radians.

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

void DtThresholder::setDfltTranslationThreshold ( double  thresh) [inline, static]

Set/Get default translation threshold in radians.

References theDfltTransThresh.

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

Set/Get rotation threshold in radians.

Negative number means use default.

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

Set/Get translation threshold in meters.

Negative number means use default.

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

Member Data Documentation

double DtThresholder::myAggDimThresh [protected]

Referenced by artPartThresholder().

double DtThresholder::myRotThresh [protected]
double DtThresholder::myTraceRotThresh [protected]
double DtThresholder::myTransThresh [protected]
double DtThresholder::theDfltAggDimThresh [static, protected]
double DtThresholder::theDfltAntennaLocThresh [static, protected]
double DtThresholder::theDfltAntennaOrientThresh [static, protected]
double DtThresholder::theDfltRotThresh [static, protected]
double DtThresholder::theDfltTraceRotThresh [static, protected]
double DtThresholder::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)