VR-Link API Documentation for DIS
List of all members | Public Member Functions | Protected Member Functions | Private Member Functions

Instances of DtSmoothPosWithDr are used to provide the mechanism to smooth position and dead-reckon position. More...

+ Inheritance diagram for DtSmoothPosWithDr:
+ Collaboration diagram for DtSmoothPosWithDr:

Public Member Functions

 DtSmoothPosWithDr (DtDeadReckoner *dr, DtTime smoothT)
 Constructor.
virtual ~DtSmoothPosWithDr ()
 Destructor.
- Public Member Functions inherited from DtSmoothPos
 DtSmoothPos (void *usr, DtTime smoothT, const DtVector &pos, const DtVector &vel, const DtVector &acc)
 Constructors.
 DtSmoothPos (void *usr, DtTime smoothT)
 WARNING: not fully constructed until input() & tick() are called.
virtual ~DtSmoothPos ()
void input (const DtVector &pos, const DtVector &vel, const DtVector &acc, DtTime simTime, int freeze=0)
void tick (DtTime simTime)
const DtVectorposition () const
const DtVectorvelocity () const
virtual void setSmoothEnable (int on)
 Set/Get the individual smoothing switch.
virtual int smoothEnable () const
virtual void setSmoothPeriod (DtTime t)
 Set/Get smoothPeriod.
virtual DtTime smoothPeriod () const

Protected Member Functions

virtual void dfltAction (DtTime simTime, void *usr, DtVector &vs, DtVector &ps)
 The default action is to dead-reckon.
- Protected Member Functions inherited from DtSmoothPos
void init (void *u, DtTime t)
void setT1data ()

Private Member Functions

 DtSmoothPosWithDr (const DtSmoothPosWithDr &orig)
 Copy constructor – Not Implemented.
DtSmoothPosWithDroperator= (const DtSmoothPosWithDr &orig)
 Assignment operator – Not Implemented.

Additional Inherited Members

- Static Public Member Functions inherited from DtSmoothPos
static void setDfltSmoothPeriod (DtTime t)
 Set/Get default smooth period.
static DtTime dfltSmoothPeriod ()
static void setMasterSmoothEnable (bool onOff)
 Set/Get the value of the "master" smoothing-enabled switch.
static bool masterSmoothEnable ()
- Protected Attributes inherited from DtSmoothPos
int myFrozen
DtTime myT0
DtTime myT1
DtTime myT2
DtTime myLastT
DtTime myLocalTau
DtTime myLocalHtau
DtTime myLocalTauInv
DtTimemyTau
DtTimemyHtau
DtTimemyTauInv
DtVector ps
DtVector vs
DtVector p0
DtVector v0
DtVector dp
DtVector dv
DtVector p1
DtVector v1
DtVector a1
DtVector a2
DtVector ap
int myEnable
int myNeedT1Data
int myNeedT2Data
void * myUsr
- Static Protected Attributes inherited from DtSmoothPos
static DtTime theDfltTau
static DtTime theDfltHtau
static DtTime theDfltTauInv
static bool theMasterSmoothEnable

Detailed Description

Instances of DtSmoothPosWithDr are used to provide the mechanism to smooth position and dead-reckon position.

It derives from DtSmoothPos and provides the method dfltAction, which is called once the smooth period has elapsed. It is used by DtOldSmoother.

Deprecated:
This class is only used by DtOldSmoother which has been deprecated.

Constructor & Destructor Documentation

DtSmoothPosWithDr::DtSmoothPosWithDr ( DtDeadReckoner dr,
DtTime  smoothT 
)

Constructor.

Parameters
smoothTSpecifies the smooth period
virtual DtSmoothPosWithDr::~DtSmoothPosWithDr ( )
virtual

Destructor.

DtSmoothPosWithDr::DtSmoothPosWithDr ( const DtSmoothPosWithDr orig)
private

Copy constructor – Not Implemented.

Member Function Documentation

virtual void DtSmoothPosWithDr::dfltAction ( DtTime  simTime,
void *  usr,
DtVector vs,
DtVector ps 
)
protectedvirtual

The default action is to dead-reckon.

Implements DtSmoothPos.

DtSmoothPosWithDr& DtSmoothPosWithDr::operator= ( const DtSmoothPosWithDr orig)
private

Assignment operator – Not Implemented.


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

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)