Detailed Description
- Deprecated:
- This class is only used by DtOldSmoother which has been deprecated.
Constructor & Destructor Documentation
Constructors.
smoothT is the initial smoothPeriod. Use a value of -1 to indicate use of the default period.
| DtSmoothPos::DtSmoothPos |
( |
void * |
usr, |
|
|
DtTime |
smoothT |
|
) |
| |
WARNING: not fully constructed until input() & tick() are called.
| virtual DtSmoothPos::~DtSmoothPos |
( |
| ) |
|
|
inlinevirtual |
Copy Constructor not implemented - do not copy.
Member Function Documentation
| static DtTime DtSmoothPos::dfltSmoothPeriod |
( |
| ) |
|
|
static |
| void DtSmoothPos::init |
( |
void * |
u, |
|
|
DtTime |
t |
|
) |
| |
|
protected |
| static bool DtSmoothPos::masterSmoothEnable |
( |
| ) |
|
|
static |
Assignment Operator not implemented - to not copy.
| const DtVector& DtSmoothPos::position |
( |
| ) |
const |
|
inline |
| virtual void DtSmoothPos::reset |
( |
| ) |
|
|
virtual |
This resets the smoother parameters.
This does not change the smoothing period or the last updated position.
| static void DtSmoothPos::setDfltSmoothPeriod |
( |
DtTime |
t | ) |
|
|
static |
Set/Get default smooth period.
| static void DtSmoothPos::setMasterSmoothEnable |
( |
bool |
onOff | ) |
|
|
static |
Set/Get the value of the "master" smoothing-enabled switch.
| virtual void DtSmoothPos::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 DtSmoothPos::setSmoothPeriod |
( |
DtTime |
t | ) |
|
|
virtual |
Set/Get smoothPeriod.
If set to -1, smooth period reverts to the current default smooth period.
| void DtSmoothPos::setT1data |
( |
| ) |
|
|
protected |
| virtual int DtSmoothPos::smoothEnable |
( |
| ) |
const |
|
virtual |
| DtTime DtSmoothPos::smoothPeriod |
( |
| ) |
const |
|
inlinevirtual |
| void DtSmoothPos::tick |
( |
DtTime |
simTime | ) |
|
| const DtVector& DtSmoothPos::velocity |
( |
| ) |
const |
|
inline |
Member Data Documentation
| int DtSmoothPos::myEnable |
|
protected |
| int DtSmoothPos::myFrozen |
|
protected |
| DtTime DtSmoothPos::myLocalHtau |
|
protected |
| DtTime DtSmoothPos::myLocalTau |
|
protected |
| DtTime DtSmoothPos::myLocalTauInv |
|
protected |
| int DtSmoothPos::myNeedT1Data |
|
protected |
| int DtSmoothPos::myNeedT2Data |
|
protected |
| DtTime DtSmoothPos::theDfltHtau |
|
staticprotected |
| DtTime DtSmoothPos::theDfltTau |
|
staticprotected |
| DtTime DtSmoothPos::theDfltTauInv |
|
staticprotected |
| bool DtSmoothPos::theMasterSmoothEnable |
|
staticprotected |
The documentation for this class was generated from the following file: