VR-Link API Documentation for HLA 1.3
 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 Member Functions | Protected Attributes | Static Protected Attributes
DtSmoothOrient Class Referenceabstract
+ Inheritance diagram for DtSmoothOrient:
+ Collaboration diagram for DtSmoothOrient:

Public Member Functions

 DtSmoothOrient (void *usr, DtTime smoothT, const DtDcm &orient, const DtDirectedRotRate &drr)
 Constructors. More...
 
 DtSmoothOrient (void *usr, DtTime smoothT)
 WARNING: not fully constructed until input() & tick() are called. More...
 
virtual ~DtSmoothOrient ()
 
 DtSmoothOrient (const DtSmoothOrient &)
 Copy Constructor. More...
 
DtSmoothOrientoperator= (const DtSmoothOrient &)
 Assignment Operator. More...
 
void input (const DtDcm &orient, const DtDirectedRotRate &drr, DtTime simTime, int freeze=0)
 
void tick (DtTime simTime)
 
const DtDcmorientation () const
 
virtual void setSmoothEnable (int on)
 Set/Get the individual smoothing switch. More...
 
virtual int smoothEnable () const
 
virtual void setSmoothPeriod (DtTime t)
 Set/Get smoothPeriod. More...
 
virtual DtTime smoothPeriod () const
 
virtual void reset ()
 This resets the smoother parameters. More...
 

Static Public Member Functions

static void setDfltSmoothPeriod (DtTime t)
 Set/Get default smooth period. More...
 
static DtTime dfltSmoothPeriod ()
 
static void setMasterSmoothEnable (bool onOff)
 Set/Get the value of the "master" smoothing-enabled switch. More...
 
static bool masterSmoothEnable ()
 
static void setDfltSmoothPrecision (double t)
 Set/Get default smooth precision. More...
 
static double dfltSmoothPrecision ()
 

Protected Member Functions

virtual void dfltAction (DtTime simTime, void *usr, DtDcm &os)=0
 
void init (void *u, DtTime t)
 
void setT1data ()
 

Protected Attributes

int myFrozen
 
DtTime myT0
 
DtTime myT2
 
DtTime myLastT
 
DtTimemyTau
 
DtTime myLocalTau
 
DtDcm myOs
 
DtDcm myO0
 
DtVector myWs
 
int myEnable
 
void * myUsr
 
double myPrecision
 

Static Protected Attributes

static DtTime theDfltTau
 
static bool theMasterSmoothEnable
 
static double theDfltPrecision
 

Detailed Description

Deprecated:
This class is only used by DtExponentialSmoother

Constructor & Destructor Documentation

DtSmoothOrient::DtSmoothOrient ( void *  usr,
DtTime  smoothT,
const DtDcm orient,
const DtDirectedRotRate drr 
)

Constructors.

smoothT is the initial smoothPeriod. Use a value of -1 to indicate use of the default period.

DtSmoothOrient::DtSmoothOrient ( void *  usr,
DtTime  smoothT 
)

WARNING: not fully constructed until input() & tick() are called.

virtual DtSmoothOrient::~DtSmoothOrient ( )
inlinevirtual
DtSmoothOrient::DtSmoothOrient ( const DtSmoothOrient )

Copy Constructor.

Member Function Documentation

virtual void DtSmoothOrient::dfltAction ( DtTime  simTime,
void *  usr,
DtDcm os 
)
protectedpure virtual

Implemented in DtSmoothOriWithDr.

static DtTime DtSmoothOrient::dfltSmoothPeriod ( )
static
static double DtSmoothOrient::dfltSmoothPrecision ( )
static
void DtSmoothOrient::init ( void *  u,
DtTime  t 
)
protected
void DtSmoothOrient::input ( const DtDcm orient,
const DtDirectedRotRate drr,
DtTime  simTime,
int  freeze = 0 
)
static bool DtSmoothOrient::masterSmoothEnable ( )
static
DtSmoothOrient& DtSmoothOrient::operator= ( const DtSmoothOrient )

Assignment Operator.

const DtDcm& DtSmoothOrient::orientation ( ) const
inline
virtual void DtSmoothOrient::reset ( )
virtual

This resets the smoother parameters.

This does not change the smoothing period or the last updated position.

static void DtSmoothOrient::setDfltSmoothPeriod ( DtTime  t)
static

Set/Get default smooth period.

static void DtSmoothOrient::setDfltSmoothPrecision ( double  t)
static

Set/Get default smooth precision.

static void DtSmoothOrient::setMasterSmoothEnable ( bool  onOff)
static

Set/Get the value of the "master" smoothing-enabled switch.

virtual void DtSmoothOrient::setSmoothEnable ( int  on)
virtual

Set/Get the individual smoothing switch.

In order for smoothing to be enabled, the "master" smoothing-enabled switch must be on, AND the individual smoothing switch (accessed through these functions), must be on.

virtual void DtSmoothOrient::setSmoothPeriod ( DtTime  t)
virtual

Set/Get smoothPeriod.

If set to -1, smooth period reverts to the current default smooth period.

void DtSmoothOrient::setT1data ( )
protected
virtual int DtSmoothOrient::smoothEnable ( ) const
virtual
DtTime DtSmoothOrient::smoothPeriod ( ) const
inlinevirtual

References myTau.

void DtSmoothOrient::tick ( DtTime  simTime)

Member Data Documentation

int DtSmoothOrient::myEnable
protected
int DtSmoothOrient::myFrozen
protected
DtTime DtSmoothOrient::myLastT
protected
DtTime DtSmoothOrient::myLocalTau
protected
DtDcm DtSmoothOrient::myO0
protected
DtDcm DtSmoothOrient::myOs
protected
double DtSmoothOrient::myPrecision
protected
DtTime DtSmoothOrient::myT0
protected
DtTime DtSmoothOrient::myT2
protected
DtTime* DtSmoothOrient::myTau
protected

Referenced by smoothPeriod().

void* DtSmoothOrient::myUsr
protected
DtVector DtSmoothOrient::myWs
protected
double DtSmoothOrient::theDfltPrecision
staticprotected
DtTime DtSmoothOrient::theDfltTau
staticprotected
bool DtSmoothOrient::theMasterSmoothEnable
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)