|
| CMotionControl (const CNavigationInfo *src) |
|
virtual void | setMotion (const CNavigationInfo *src) |
|
virtual void | getMotion (CNavigationInfo *dest) |
|
virtual void | clear () |
|
virtual void | reset () |
|
virtual void | setCallback (CCallbackHandler *callback) |
|
virtual void | accelerate () |
|
virtual void | deccelerate () |
|
virtual void | fullSpeed () |
|
virtual void | stop () |
|
virtual void | transitionBetweenPosOrients (const FVector &oldPos, const FVector &newPos, const FMatrix &oldOrientation, const FMatrix &newOrientation) |
|
virtual void | moveTo (const FVector &srcV, const FVector &destV, const FMatrix &orientation) |
|
virtual void | transitionBetweenOrientations (const FVector &v1, const FVector &v2, const FVector &v3, const FMatrix &m) |
|
virtual void | updatePosition (CErrorCode &errorCode, FVector &pos, FMatrix &orientation) |
|
virtual void | load (SimpleFile *file, int version=0) |
|
virtual void | save (SimpleFile *file, int indent) |
|
void | incLockCount () |
|
void | decLockCount () |
|
bool | isLocked () const |
|
|
double | _currVelocity |
|
double | _incVelocity |
|
double | _incAcceleration |
|
double | _minVelocity |
|
double | _maxVelocity |
|
double | _rotationX |
|
double | _rotationY |
|
double | _rotationZ |
|
◆ clear()
virtual void Titanic::CMotionControl::clear |
( |
| ) |
|
|
virtual |
◆ reset()
virtual void Titanic::CMotionControl::reset |
( |
| ) |
|
|
virtual |
◆ setCallback()
virtual void Titanic::CMotionControl::setCallback |
( |
CCallbackHandler * |
callback | ) |
|
|
virtual |
◆ accelerate()
virtual void Titanic::CMotionControl::accelerate |
( |
| ) |
|
|
virtual |
Increases movement speed in forward direction
◆ deccelerate()
virtual void Titanic::CMotionControl::deccelerate |
( |
| ) |
|
|
virtual |
Decreases movement speed in backward direction
◆ fullSpeed()
virtual void Titanic::CMotionControl::fullSpeed |
( |
| ) |
|
|
virtual |
◆ stop()
virtual void Titanic::CMotionControl::stop |
( |
| ) |
|
|
virtual |
◆ transitionBetweenPosOrients()
virtual void Titanic::CMotionControl::transitionBetweenPosOrients |
( |
const FVector & |
oldPos, |
|
|
const FVector & |
newPos, |
|
|
const FMatrix & |
oldOrientation, |
|
|
const FMatrix & |
newOrientation |
|
) |
| |
|
inlinevirtual |
◆ moveTo()
virtual void Titanic::CMotionControl::moveTo |
( |
const FVector & |
srcV, |
|
|
const FVector & |
destV, |
|
|
const FMatrix & |
orientation |
|
) |
| |
|
inlinevirtual |
◆ transitionBetweenOrientations()
virtual void Titanic::CMotionControl::transitionBetweenOrientations |
( |
const FVector & |
v1, |
|
|
const FVector & |
v2, |
|
|
const FVector & |
v3, |
|
|
const FMatrix & |
m |
|
) |
| |
|
inlinevirtual |
First two vectors are used to form a new orientation that gets transitioned to from the old orientation m.
Reimplemented in Titanic::CMotionControlUnmarked.
◆ updatePosition()
◆ load()
virtual void Titanic::CMotionControl::load |
( |
SimpleFile * |
file, |
|
|
int |
version = 0 |
|
) |
| |
|
virtual |
◆ save()
virtual void Titanic::CMotionControl::save |
( |
SimpleFile * |
file, |
|
|
int |
indent |
|
) |
| |
|
virtual |
◆ incLockCount()
void Titanic::CMotionControl::incLockCount |
( |
| ) |
|
Increment tthe lock counter
◆ decLockCount()
void Titanic::CMotionControl::decLockCount |
( |
| ) |
|
Decrement the lock counter
◆ isLocked()
bool Titanic::CMotionControl::isLocked |
( |
| ) |
const |
|
inline |
Returns true if the lock counter is non-zero
The documentation for this class was generated from the following file: