#include <CCameraPathInterpolator.h>
Public Types | |
| enum | ShapeType { SHAPE_LINE = 0, SHAPE_TCB = 1, SHAPE_CATMULL_ROM = 2 } |
| enum | PathType { PATH_OPEN = 0, PATH_CLOSED = 1 } |
Public Member Functions | |
| CCameraPathInterpolator (CList< CCameraKeyPathPoint > path, ShapeType nShapeType=SHAPE_LINE, PathType nPathType=PATH_OPEN) | |
| ~CCameraPathInterpolator () | |
| int | getNumFrames () |
| CCameraKeyPathPoint * | getFrame (int nFrame) |
| CList< CCameraKeyPathPoint > | getPath () |
Protected Member Functions | |
| void | compute () |
| CCamera | add (const CCamera &c1, const CCamera &c2) const |
| CCamera | sub (const CCamera &c1, const CCamera &c2) const |
| CCamera | mul (const CCamera &c, const double d) const |
Protected Attributes | |
| CList< CCameraKeyPathPoint > | keys |
| ShapeType | m_nShapeType |
| PathType | m_nPathType |
| CList< CCameraKeyPathPoint > | m_ShapeList |
|
|
|
|
|
|
|
||||||||||||||||
|
Constructs new Interpolator and computes path. |
|
|
Destructs (default). |
|
||||||||||||
|
Adds two CCameras. Copies first CCamera, adds (eye, ref point, view up, ratio, fovy, vpheight) |
|
|
Computes path. |
|
|
Returns frame of computed path. frame in [1..getNumFrames()] |
|
|
Returns total number of frames of computed path. |
|
|
Returns computed path. |
|
||||||||||||
|
Multiplies CCamera with double value Copies CCamera, multiplies (eye, ref point, view up, ratio, fovy, vpheight) |
|
||||||||||||
|
Subtracts two CCameras. Copies first CCamera, subtracts (eye, ref point, view up, ratio, fovy, vpheight) |
|
|
Input path (sampling points). |
|
|
Path type: open / closed. |
|
|
Shape type: linear / tcb. |
|
|
Computed output path. |
1.3-rc3