Show All |
Public Member Functions
-
BSpline (const std::vector< VecT > &points, int degree, bool loop, bool open)
-
BSpline ()
-
BSpline (int numControlPoints, const VecT *controlPoints, int degree, bool loop, const float *knots)
-
BSpline (const BSpline &bspline)
-
BSpline &operator= (const BSpline &bspline)
-
~BSpline ()
-
intgetNumControlPoints () const
-
intgetDegree () const
-
intgetNumSpans () const
-
boolisOpen () const
-
boolisUniform () const
-
boolisLoop () const
-
voidsetControlPoint (int i, const VecT &rkCtrl)
-
getControlPoint (int i) const
-
voidsetKnot (int i, float fKnot)
-
floatgetKnot (int i) const
-
getPosition (float t) const
-
getDerivative (float t) const
-
getSecondDerivative (float t) const
-
getThirdDerivative (float t) const
-
TgetSpeed (float t) const
-
floatgetLength (float fT0, float fT1) const
-
voidget (float t, VecT *position, VecT *firstDerivative=NULL, VecT *secondDerivative=NULL, VecT *thirdDerivative=NULL) const
-
getBasis ()
Protected Member Functions
Protected Attributes
-
intmNumCtrlPoints
-
VecT *mCtrlPoints
-
boolmLoop
-
mBasis
-
intmReplicate