#include <GteParametricCurve.h>
Public Member Functions | |
virtual void | Evaluate (Real t, unsigned int maxOrder, Vector< N, Real > values[4]) const =0 |
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 Types | |
enum | { DEFAULT_ROMBERG_ORDER = 8, DEFAULT_MAX_BISECTIONS = 1024 } |
Protected Member Functions | |
ParametricCurve (Real tmin, Real tmax) | |
ParametricCurve (int numSegments, Real const *times) | |
Protected Attributes | |
std::vector< Real > | mAccumulatedLength |
bool | mConstructed |
unsigned int | mMaxBisections |
int | mRombergOrder |
std::vector< Real > | mSegmentLength |
std::vector< Real > | mTime |
Definition at line 20 of file GteParametricCurve.h.
|
protected |
Enumerator | |
---|---|
DEFAULT_ROMBERG_ORDER | |
DEFAULT_MAX_BISECTIONS |
Definition at line 82 of file GteParametricCurve.h.
|
protected |
Definition at line 99 of file GteParametricCurve.h.
|
protected |
Definition at line 115 of file GteParametricCurve.h.
|
virtual |
Definition at line 130 of file GteParametricCurve.h.
|
pure virtual |
Real gte::ParametricCurve< N, Real >::GetLength | ( | Real | t0, |
Real | t1 | ||
) | const |
Definition at line 212 of file GteParametricCurve.h.
|
inline |
Definition at line 153 of file GteParametricCurve.h.
Vector< N, Real > gte::ParametricCurve< N, Real >::GetPosition | ( | Real | t | ) | const |
Definition at line 187 of file GteParametricCurve.h.
Real gte::ParametricCurve< N, Real >::GetSpeed | ( | Real | t | ) | const |
Definition at line 204 of file GteParametricCurve.h.
Vector< N, Real > gte::ParametricCurve< N, Real >::GetTangent | ( | Real | t | ) | const |
Definition at line 195 of file GteParametricCurve.h.
Real gte::ParametricCurve< N, Real >::GetTime | ( | Real | length | ) | const |
Definition at line 286 of file GteParametricCurve.h.
|
inline |
Definition at line 159 of file GteParametricCurve.h.
|
inline |
Definition at line 147 of file GteParametricCurve.h.
|
inline |
Definition at line 141 of file GteParametricCurve.h.
Real gte::ParametricCurve< N, Real >::GetTotalLength | ( | ) | const |
Definition at line 274 of file GteParametricCurve.h.
|
inline |
Definition at line 135 of file GteParametricCurve.h.
void gte::ParametricCurve< N, Real >::SetMaxBisections | ( | unsigned int | maxBisections | ) |
Definition at line 181 of file GteParametricCurve.h.
void gte::ParametricCurve< N, Real >::SetRombergOrder | ( | int | order | ) |
Definition at line 175 of file GteParametricCurve.h.
void gte::ParametricCurve< N, Real >::SetTimeInterval | ( | Real | tmin, |
Real | tmax | ||
) |
Definition at line 165 of file GteParametricCurve.h.
void gte::ParametricCurve< N, Real >::SubdivideByLength | ( | int | numPoints, |
Vector< N, Real > * | points | ||
) | const |
Definition at line 342 of file GteParametricCurve.h.
void gte::ParametricCurve< N, Real >::SubdivideByTime | ( | int | numPoints, |
Vector< N, Real > * | points | ||
) | const |
Definition at line 330 of file GteParametricCurve.h.
|
mutableprotected |
Definition at line 90 of file GteParametricCurve.h.
|
protected |
Definition at line 94 of file GteParametricCurve.h.
|
protected |
Definition at line 92 of file GteParametricCurve.h.
|
protected |
Definition at line 91 of file GteParametricCurve.h.
|
mutableprotected |
Definition at line 89 of file GteParametricCurve.h.
|
protected |
Definition at line 88 of file GteParametricCurve.h.