iPath Struct Reference
[Geometry utilities]
A path in 3D.
More...
#include <igeom/path.h>
Inheritance diagram for iPath:

Public Member Functions | |
virtual int | Length ()=0 |
Return the number of points defining the path. | |
virtual void | CalculateAtTime (float time)=0 |
Calculate internal values for this spline given some time value. | |
virtual int | GetCurrentIndex ()=0 |
Get the index of the current point we are in (valid after Calculate()). | |
virtual void | SetPositionVectors (csVector3 *v)=0 |
Set the position vectors (first three dimensions of the cubic spline). | |
virtual void | SetUpVectors (csVector3 *v)=0 |
Set the up vectors (dimensions 3 to 5). | |
virtual void | SetForwardVectors (csVector3 *v)=0 |
Set the forward vectors (dimensions 6 to 8). | |
virtual void | SetPositionVector (int idx, const csVector3 &v)=0 |
Set one position vector. | |
virtual void | SetUpVector (int idx, const csVector3 &v)=0 |
Set one up vector. | |
virtual void | SetForwardVector (int idx, const csVector3 &v)=0 |
Set one forward vector. | |
virtual void | GetPositionVector (int idx, csVector3 &v)=0 |
Get one position vector. | |
virtual void | GetUpVector (int idx, csVector3 &v)=0 |
Get one up vector. | |
virtual void | GetForwardVector (int idx, csVector3 &v)=0 |
Get one forward vector. | |
virtual float | GetTime (int idx)=0 |
Get one time value. | |
virtual void | SetTime (int idx, float t)=0 |
Set one time value. | |
virtual void | GetInterpolatedPosition (csVector3 &pos)=0 |
Get the interpolated position. | |
virtual void | GetInterpolatedUp (csVector3 &pos)=0 |
Get the interpolated up vector. | |
virtual void | GetInterpolatedForward (csVector3 &pos)=0 |
Get the interpolated forward vector. |
Detailed Description
A path in 3D.An object or camera can use this object to trace a path in 3D. This is particularly useful in combination with csReversibleTransform::LookAt().
Definition at line 38 of file path.h.
Member Function Documentation
|
Calculate internal values for this spline given some time value.
Implemented in csPath. |
|
Get the index of the current point we are in (valid after Calculate()).
Implemented in csPath. |
|
Get one forward vector.
Implemented in csPath. |
|
Get the interpolated forward vector.
Implemented in csPath. |
|
Get the interpolated position.
Implemented in csPath. |
|
Get the interpolated up vector.
Implemented in csPath. |
|
Get one position vector.
Implemented in csPath. |
|
Get one time value.
Implemented in csPath. |
|
Get one up vector.
Implemented in csPath. |
|
Return the number of points defining the path. Calling this GetPointCount as in the real classes causes MANY ambiguous function call errors in msvc7. Implemented in csPath. |
|
Set one forward vector.
Implemented in csPath. |
|
Set the forward vectors (dimensions 6 to 8).
Implemented in csPath. |
|
Set one position vector.
Implemented in csPath. |
|
Set the position vectors (first three dimensions of the cubic spline).
Implemented in csPath. |
|
Set one time value.
Implemented in csPath. |
|
Set one up vector.
Implemented in csPath. |
|
Set the up vectors (dimensions 3 to 5).
Implemented in csPath. |
The documentation for this struct was generated from the following file:
- igeom/path.h
Generated for Crystal Space by doxygen 1.3.9.1