VR-Link API Documentation for DIS
List of all members | 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:

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

DtThresholder::DtThresholder ( )

default constructor

virtual DtThresholder::~DtThresholder ( )
virtual

destructor

DtThresholder::DtThresholder ( const DtThresholder orig)

copy constructor

Member Function Documentation

virtual double DtThresholder::aggDimensionThreshold ( ) const
virtual
virtual double DtThresholder::antennaLocationThreshold ( ) const
virtual
virtual double DtThresholder::antennaOrientationThreshold ( ) const
virtual
DtArtPartThresholder * DtThresholder::artPartThresholder ( )
inlinevirtual

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

References myArtPartThresh.

const DtArtPartThresholder & DtThresholder::artPartThresholder ( ) const
inlinevirtual

References myArtPartThresh.

double DtThresholder::dfltAggDimensionThreshold ( )
inlinestatic

References theDfltAggDimThresh.

static double DtThresholder::dfltAntennaLocationThreshold ( )
static
static double DtThresholder::dfltAntennaOrientationThreshold ( )
static
double DtThresholder::dfltRotationThreshold ( )
inlinestatic

References theDfltRotThresh.

Referenced by setDfltRotationThreshold().

double DtThresholder::dfltRotationTraceThreshold ( )
inlinestatic

Returns the "RotationTrace" threshold.

References theDfltTraceRotThresh.

double DtThresholder::dfltTranslationThreshold ( )
inlinestatic

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)
inlinestatic

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)
inlinestatic

Set/Get default rotation threshold in radians.

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

void DtThresholder::setDfltTranslationThreshold ( double  thresh)
inlinestatic

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
double DtThresholder::myAntennaLocThresh
protected
double DtThresholder::myAntennaOrientThresh
protected
DtArtPartThresholder DtThresholder::myArtPartThresh
protected

Referenced by artPartThresholder().

double DtThresholder::myRotThresh
protected
double DtThresholder::myTraceRotThresh
protected
double DtThresholder::myTransThresh
protected
bool DtThresholder::myUsingDfltAggDim
protected
bool DtThresholder::myUsingDfltAntennaLoc
protected
bool DtThresholder::myUsingDfltAntennaOrient
protected
bool DtThresholder::myUsingDfltRot
protected
bool DtThresholder::myUsingDfltTrans
protected
double DtThresholder::theDfltAggDimThresh
staticprotected
double DtThresholder::theDfltAntennaLocThresh
staticprotected
double DtThresholder::theDfltAntennaOrientThresh
staticprotected
double DtThresholder::theDfltRotThresh
staticprotected
double DtThresholder::theDfltTraceRotThresh
staticprotected
double DtThresholder::theDfltTransThresh
staticprotected

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

Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)