#include <ivfctl/IvfCameraController.h>
Inheritance diagram for CIvfCameraController:
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 | |
CIvfCameraController () | |
virtual | ~CIvfCameraController () |
void | setPath (CIvfSpline3d *spline) |
CIvfSpline3d * | getPath () |
void | setTargetPath (CIvfSpline3d *spline) |
CIvfSpline3d * | getTargetPath () |
void | setCamera (CIvfCamera *camera) |
CIvfCamera * | getCamera () |
void | setInitialPos (double t) |
void | setInitialSpeed (double v) |
void | setInitialAcceleration (double a) |
void | setStartActionType (TStartAction action) |
void | setEndActionType (TEndAction action) |
void | setInitialTargetAcceleration (double a) |
void | setInitialTargetSpeed (double v) |
void | setInitialTargetPos (double t) |
void | setUseTargetPath (bool flag) |
bool | getUseTargetPath () |
void | setFollowPath (bool flag) |
void | setTargetEndActionType (TEndAction action) |
void | setTargetStartActionType (TStartAction action) |
virtual void | doUpdate (double dt) |
virtual void | doReset () |
Controller for controlling a camera along both a position path and target path.
Definition at line 38 of file IvfCameraController.h.
|
CIvfCameraController constructor |
|
CIvfCameraController destructor |
|
Virtual update routine This method should be overridden in derived classes to handle incremental time update
Reimplemented from CIvfController. |
|
Return controlled camera |
|
Return path controlling camera position |
|
Return path controlling camera target |
|
Returns true if target path is used |
|
Set camera to be controller |
|
Define what to do when arriving at end position
|
|
Set follow path flag This flag determines if the camera target should follow the path. If false the target from the initial camera object is used. |
|
Set initial acceleration on curve
|
|
Set initial position on curve
|
|
Set initial speed on curve
|
|
Set initial position on curve
|
|
Set initial acceleration on curve
|
|
Set initial speed on curve
|
|
Set path controlling camera position |
|
Define what to do when returning to start position
|
|
Define what to do when arriving at end position
|
|
Set path controlling camera target If target path is not set the camera target is used. |
|
Define what to do when returning to start position
|
|
Enable/Disable use of target path |