#include <GteBSplineCurve.h>
Public Member Functions | |
BSplineCurve (BasisFunctionInput< Real > const &input, Vector< N, Real > const *controls) | |
virtual void | Evaluate (Real t, unsigned int maxOrder, Vector< N, Real > values[4]) const |
BasisFunction< Real > const & | GetBasisFunction () const |
Vector< N, Real > const & | GetControl (int i) const |
Vector< N, Real > const * | GetControls () const |
Vector< N, Real > * | GetControls () |
int | GetNumControls () const |
void | SetControl (int i, Vector< N, Real > const &control) |
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 () |
Private Member Functions | |
Vector< N, Real > | Compute (unsigned int order, int imin, int imax) const |
Private Attributes | |
BasisFunction< Real > | mBasisFunction |
std::vector< Vector< N, Real > > | mControls |
Additional Inherited Members | |
Protected Types inherited from gte::ParametricCurve< N, Real > | |
enum | { DEFAULT_ROMBERG_ORDER = 8, DEFAULT_MAX_BISECTIONS = 1024 } |
Protected Member Functions inherited from gte::ParametricCurve< N, Real > | |
ParametricCurve (Real tmin, Real tmax) | |
ParametricCurve (int numSegments, Real const *times) | |
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 |
Definition at line 17 of file GteBSplineCurve.h.
gte::BSplineCurve< N, Real >::BSplineCurve | ( | BasisFunctionInput< Real > const & | input, |
Vector< N, Real > const * | controls | ||
) |
Definition at line 58 of file GteBSplineCurve.h.
|
private |
Definition at line 175 of file GteBSplineCurve.h.
|
virtual |
Implements gte::ParametricCurve< N, Real >.
Definition at line 136 of file GteBSplineCurve.h.
|
inline |
Definition at line 90 of file GteBSplineCurve.h.
Vector< N, Real > const & gte::BSplineCurve< N, Real >::GetControl | ( | int | i | ) | const |
Definition at line 123 of file GteBSplineCurve.h.
|
inline |
Definition at line 102 of file GteBSplineCurve.h.
|
inline |
Definition at line 108 of file GteBSplineCurve.h.
|
inline |
Definition at line 96 of file GteBSplineCurve.h.
void gte::BSplineCurve< N, Real >::SetControl | ( | int | i, |
Vector< N, Real > const & | control | ||
) |
Definition at line 114 of file GteBSplineCurve.h.
|
private |
Definition at line 52 of file GteBSplineCurve.h.
|
private |
Definition at line 53 of file GteBSplineCurve.h.