#include <GteBezierCurve.h>
Public Member Functions | |
BezierCurve (int degree, Vector< N, Real > const *controls) | |
virtual void | Evaluate (Real t, unsigned int maxOrder, Vector< N, Real > values[4]) const |
Vector< N, Real > const * | GetControls () const |
int | GetDegree () const |
int | GetNumControls () const |
virtual | ~BezierCurve () |
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 | |
Vector< N, Real > | Compute (Real t, Real omt, int order) const |
Protected Member Functions inherited from gte::ParametricCurve< N, Real > | |
ParametricCurve (Real tmin, Real tmax) | |
ParametricCurve (int numSegments, Real const *times) | |
Protected Attributes | |
Array2< Real > | mChoose |
std::vector< Vector< N, Real > > | mControls [4] |
int | mDegree |
int | mNumControls |
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 GteBezierCurve.h.
|
virtual |
Definition at line 54 of file GteBezierCurve.h.
gte::BezierCurve< N, Real >::BezierCurve | ( | int | degree, |
Vector< N, Real > const * | controls | ||
) |
Definition at line 59 of file GteBezierCurve.h.
|
protected |
Definition at line 176 of file GteBezierCurve.h.
|
virtual |
Implements gte::ParametricCurve< N, Real >.
Definition at line 138 of file GteBezierCurve.h.
|
inline |
Definition at line 132 of file GteBezierCurve.h.
|
inline |
Definition at line 120 of file GteBezierCurve.h.
|
inline |
Definition at line 126 of file GteBezierCurve.h.
|
protected |
Definition at line 49 of file GteBezierCurve.h.
|
protected |
Definition at line 48 of file GteBezierCurve.h.
|
protected |
Definition at line 47 of file GteBezierCurve.h.
|
protected |
Definition at line 47 of file GteBezierCurve.h.