#include <ivfctl/IvfPathController.h>
Inheritance diagram for CIvfPathController:
Public Types | |
enum | TEndAction { EA_STOP, EA_REVERSE, EA_RESET, EA_DEACTIVATE } |
enum | TStartAction { SA_STOP, SA_REVERSE, SA_RESET, SA_DEACTIVATE } |
Public Member Functions | |
CIvfPathController () | |
virtual | ~CIvfPathController () |
IvfClassInfo ("CIvfPathController", CIvfController) | |
void | setPath (CIvfSpline3d *spline) |
CIvfSpline3d * | getPath () |
void | setInitialPos (double t) |
void | setInitialSpeed (double v) |
void | setInitialAcceleration (double a) |
void | setStartActionType (TStartAction action) |
void | setEndActionType (TEndAction action) |
virtual void | doUpdate (double dt) |
virtual void | doReset () |
Moves objects along a given path. Speed and acceleration can bes set as well as actions at the start point and end point.
Definition at line 37 of file IvfPathController.h.
|
CIvfPathController contructor |
|
CIvfPathController destructor |
|
Virtual update routine This method should be overridden in derived classes to handle incremental time update
Reimplemented from CIvfController. |
|
Return path |
|
Define what to do when arriving at end position
|
|
Set initial acceleration on path
|
|
Set initial position on path
|
|
Set initial speed on path
|
|
Set path controlling the movement |
|
Define what to do when returning to start position
|