VR-Link API Documentation for DIS
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
+ Inheritance diagram for DtSmoothOrient:
+ Collaboration diagram for DtSmoothOrient:

List of all members.

Public Member Functions

 DtSmoothOrient (void *usr, DtTime smoothT, const DtDcm &orient, const DtDirectedRotRate &drr)
 Constructors.
 DtSmoothOrient (void *usr, DtTime smoothT)
 WARNING: not fully constructed until input() & tick() are called.
virtual ~DtSmoothOrient ()
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.
virtual int smoothEnable () const
virtual void setSmoothPeriod (DtTime t)
 Set/Get smoothPeriod.
virtual DtTime smoothPeriod () const

Static Public Member Functions

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

Static Protected Attributes

static DtTime theDfltTau
static bool theMasterSmoothEnable

Detailed Description

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

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 ( ) [inline, virtual]

Member Function Documentation

virtual void DtSmoothOrient::dfltAction ( DtTime  simTime,
void *  usr,
DtDcm os 
) [protected, pure virtual]

Implemented in DtSmoothOriWithDr.

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]
const DtDcm& DtSmoothOrient::orientation ( ) const [inline]
static void DtSmoothOrient::setDfltSmoothPeriod ( DtTime  t) [static]

Set/Get default smooth period.

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 [inline, virtual]

References myTau.

void DtSmoothOrient::tick ( DtTime  simTime)

Member Data Documentation

int DtSmoothOrient::myEnable [protected]
int DtSmoothOrient::myFrozen [protected]

Referenced by smoothPeriod().

void* DtSmoothOrient::myUsr [protected]
DtTime DtSmoothOrient::theDfltTau [static, protected]
bool DtSmoothOrient::theMasterSmoothEnable [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)