VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 More...
 
virtual ~DtThresholder ()
 destructor More...
 
 DtThresholder (const DtThresholder &orig)
 copy constructor More...
 
DtThresholderoperator= (const DtThresholder &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 double translationThresholdSquared () const
 
virtual void setAggDimensionThreshold (double thresh)
 Set/Get aggregate dimension threshold. More...
 
virtual double aggDimensionThreshold () const
 
virtual void setAntennaLocationThreshold (double thresh)
 Set/Get the antenna location threshold for radio transmitters' world location. More...
 
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). More...
 
virtual double antennaOrientationThreshold () const
 
virtual DtArtPartThresholderartPartThresholder ()
 Returns a pointer to an object that maintains thresholds for articulated parts. More...
 
virtual const
DtArtPartThresholder
artPartThresholder () const
 

Static Public Member Functions

static void setDfltTranslationThreshold (double thresh)
 Set/Get default translation threshold in radians. More...
 
static double dfltTranslationThreshold ()
 
static void setDfltRotationThreshold (double thresh)
 Set/Get default rotation threshold in radians. More...
 
static double dfltRotationThreshold ()
 
static double dfltRotationTraceThreshold ()
 Returns the "RotationTrace" threshold. More...
 
static void setDfltAggDimensionThreshold (double thresh)
 Set/Get aggregate dimension threshold. More...
 
static double dfltAggDimensionThreshold ()
 
static void setDfltAntennaLocationThreshold (double thresh)
 Set/Get the default antenna location threshold for radio transmitters' world location. More...
 
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). More...
 
static double dfltAntennaOrientationThreshold ()
 

Protected Attributes

double myTransThresh
 
double myTransThreshSquared
 
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
double DtThresholder::dfltRotationTraceThreshold ( )
inlinestatic

Returns the "RotationTrace" threshold.

References theDfltTraceRotThresh.

double DtThresholder::dfltTranslationThreshold ( )
inlinestatic
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.

Referenced by DtEntityPublisher::setDfltRotationThreshold().

void DtThresholder::setDfltTranslationThreshold ( double  thresh)
inlinestatic

Set/Get default translation threshold in radians.

References theDfltTransThresh.

Referenced by DtEntityPublisher::setDfltTranslationThreshold().

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
virtual double DtThresholder::translationThresholdSquared ( ) 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
double DtThresholder::myTransThreshSquared
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 Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)