#include <GteNaturalSplineCurve.h>
Public Member Functions | |
virtual void | Evaluate (Real t, unsigned int maxOrder, Vector< N, Real > values[4]) const |
int | GetNumPoints () const |
Vector< N, Real > const * | GetPoints () const |
NaturalSplineCurve (bool isFree, int numPoints, Vector< N, Real > const *points, Real const *times) | |
NaturalSplineCurve (int numPoints, Vector< N, Real > const *points, Real const *times, Vector< N, Real > const &derivative0, Vector< N, Real > const &derivative1) | |
virtual | ~NaturalSplineCurve () |
Public Member Functions inherited from gte::ParametricCurve< N, Real > | |
Real | GetLength (Real t0, Real t1) const |
int | GetNumSegments () const |
Vector< N, Real > | GetPosition (Real t) const |
Real | GetSpeed (Real t) const |
Vector< N, Real > | GetTangent (Real t) const |
Real | GetTime (Real length) const |
Real const * | GetTimes () const |
Real | GetTMax () const |
Real | GetTMin () const |
Real | GetTotalLength () const |
operator bool () const | |
void | SetMaxBisections (unsigned int maxBisections) |
void | SetRombergOrder (int order) |
void | SetTimeInterval (Real tmin, Real tmax) |
void | SubdivideByLength (int numPoints, Vector< N, Real > *points) const |
void | SubdivideByTime (int numPoints, Vector< N, Real > *points) const |
virtual | ~ParametricCurve () |
Protected Member Functions | |
void | CreateClamped (Vector< N, Real > const &derivative0, Vector< N, Real > const &derivative1) |
void | CreateClosed () |
void | CreateFree () |
void | GetKeyInfo (Real t, int &key, Real &dt) const |
Protected Member Functions inherited from gte::ParametricCurve< N, Real > | |
ParametricCurve (Real tmin, Real tmax) | |
ParametricCurve (int numSegments, Real const *times) | |
Protected Attributes | |
std::vector< Vector< N, Real > > | mA |
std::vector< Vector< N, Real > > | mB |
std::vector< Vector< N, Real > > | mC |
std::vector< Vector< N, Real > > | mD |
Protected Attributes inherited from gte::ParametricCurve< N, Real > | |
std::vector< Real > | mAccumulatedLength |
bool | mConstructed |
unsigned int | mMaxBisections |
int | mRombergOrder |
std::vector< Real > | mSegmentLength |
std::vector< Real > | mTime |
Additional Inherited Members | |
Protected Types inherited from gte::ParametricCurve< N, Real > | |
enum | { DEFAULT_ROMBERG_ORDER = 8, DEFAULT_MAX_BISECTIONS = 1024 } |
Definition at line 18 of file GteNaturalSplineCurve.h.
|
virtual |
Definition at line 69 of file GteNaturalSplineCurve.h.
gte::NaturalSplineCurve< N, Real >::NaturalSplineCurve | ( | bool | isFree, |
int | numPoints, | ||
Vector< N, Real > const * | points, | ||
Real const * | times | ||
) |
Definition at line 74 of file GteNaturalSplineCurve.h.
gte::NaturalSplineCurve< N, Real >::NaturalSplineCurve | ( | int | numPoints, |
Vector< N, Real > const * | points, | ||
Real const * | times, | ||
Vector< N, Real > const & | derivative0, | ||
Vector< N, Real > const & | derivative1 | ||
) |
Definition at line 101 of file GteNaturalSplineCurve.h.
|
protected |
Definition at line 307 of file GteNaturalSplineCurve.h.
|
protected |
Definition at line 233 of file GteNaturalSplineCurve.h.
|
protected |
Definition at line 174 of file GteNaturalSplineCurve.h.
|
virtual |
Implements gte::ParametricCurve< N, Real >.
Definition at line 133 of file GteNaturalSplineCurve.h.
|
protected |
Definition at line 376 of file GteNaturalSplineCurve.h.
|
inline |
Definition at line 121 of file GteNaturalSplineCurve.h.
|
inline |
Definition at line 127 of file GteNaturalSplineCurve.h.
|
protected |
Definition at line 64 of file GteNaturalSplineCurve.h.
|
protected |
Definition at line 64 of file GteNaturalSplineCurve.h.
|
protected |
Definition at line 64 of file GteNaturalSplineCurve.h.
|
protected |
Definition at line 64 of file GteNaturalSplineCurve.h.