OpenSim::BSpline Class Reference
#include <BSpline.h>
List of all members.
Public Member Functions |
| BSpline () |
| Default constructor.
|
| BSpline (int, int, int, int) |
| TODO: add comment.
|
virtual | ~BSpline () |
| Destructor.
|
void | createComponents (int, int, int) |
| TODO: add comment.
|
void | createParametricKnots () |
| Create parametric knots (or knot values) for open curve B-spline, which relate the parametric variable u to the control points.
|
void | createBlendingFunction () |
| Create blending function for open curve B-spline, which relate each curve point to the control points.
|
void | createCurvePoints () |
| TODO: add comment.
|
void | createControlPoints () |
| TODO: add comment.
|
void | setOrder (int) |
| TODO: add comment.
|
int | getOrder () |
| TODO: add comment.
|
void | setNControlPoints (int) |
| TODO: add comment.
|
int | getNControlPoints () |
| TODO: add comment.
|
void | setControlPoint (int, int, SimTK::Real) |
| TODO: add comment.
|
SimTK::Real | getControlPoint (int, int) |
| TODO: add comment.
|
void | setControlPoints (SimTK::Matrix) |
| TODO: add comment.
|
SimTK::Matrix | getControlPoints () |
| TODO: add comment.
|
int | getNParametricKnots () |
| TODO: add comment.
|
SimTK::Real | getParametricKnotValue (int) |
| TODO: add comment.
|
SimTK::Vector | getParametricKnots () |
| TODO: add comment.
|
void | setNCurvePoints (int) |
| TODO: add comment.
|
int | getNCurvePoints () |
| TODO: add comment.
|
SimTK::Real | getCurvePoint (int, int) |
| TODO: add comment.
|
SimTK::Matrix | getCurvePoints () |
| TODO: add comment.
|
void | setDataPoint (int, int, SimTK::Real) |
| TODO: add comment.
|
SimTK::Real | getDataPoint (int, int) |
| TODO: add comment.
|
void | setDataPoints (SimTK::Matrix) |
| TODO: add comment.
|
SimTK::Matrix | getDataPoints () |
| TODO: add comment.
|
| OPENSIM_DECLARE_DERIVED (BSpline, Function) |
Protected Attributes |
int | _order |
int | _nControlPoints |
int | _nParametricKnots |
int | _nCurvePoints |
int | _nDimensions |
SimTK::Matrix | _controlPoints |
SimTK::Vector | _parametricKnots |
SimTK::Matrix | _blendingFunction |
SimTK::Matrix | _curvePoints |
SimTK::Matrix | _dataPoints |
Constructor & Destructor Documentation
BSpline::BSpline |
( |
int |
o, |
|
|
int |
ncp1, |
|
|
int |
ncp2, |
|
|
int |
nd | |
|
) |
| | |
BSpline::~BSpline |
( |
|
) |
[virtual] |
Member Function Documentation
void BSpline::createBlendingFunction |
( |
|
) |
|
Create blending function for open curve B-spline, which relate each curve point to the control points.
void BSpline::createComponents |
( |
int |
o, |
|
|
int |
ncp1, |
|
|
int |
ncp2 | |
|
) |
| | |
void BSpline::createControlPoints |
( |
|
) |
|
void BSpline::createCurvePoints |
( |
|
) |
|
void BSpline::createParametricKnots |
( |
|
) |
|
Create parametric knots (or knot values) for open curve B-spline, which relate the parametric variable u to the control points.
SimTK::Real BSpline::getControlPoint |
( |
int |
r, |
|
|
int |
c | |
|
) |
| | |
SimTK::Matrix BSpline::getControlPoints |
( |
|
) |
|
SimTK::Real BSpline::getCurvePoint |
( |
int |
r, |
|
|
int |
c | |
|
) |
| | |
TODO: add comment.
TODO: add comment
SimTK::Matrix BSpline::getCurvePoints |
( |
|
) |
|
TODO: add comment.
TODO: add comment
SimTK::Real BSpline::getDataPoint |
( |
int |
r, |
|
|
int |
c | |
|
) |
| | |
SimTK::Matrix BSpline::getDataPoints |
( |
|
) |
|
int BSpline::getNControlPoints |
( |
|
) |
|
int BSpline::getNCurvePoints |
( |
|
) |
|
int BSpline::getNParametricKnots |
( |
|
) |
|
TODO: add comment.
TODO: add comment
int BSpline::getOrder |
( |
|
) |
|
SimTK::Vector BSpline::getParametricKnots |
( |
|
) |
|
TODO: add comment.
TODO: add comment
SimTK::Real BSpline::getParametricKnotValue |
( |
int |
i |
) |
|
TODO: add comment.
TODO: add comment
void BSpline::setControlPoint |
( |
int |
r, |
|
|
int |
c, |
|
|
SimTK::Real |
value | |
|
) |
| | |
void BSpline::setControlPoints |
( |
SimTK::Matrix |
cp |
) |
|
void BSpline::setDataPoint |
( |
int |
r, |
|
|
int |
c, |
|
|
SimTK::Real |
value | |
|
) |
| | |
void BSpline::setDataPoints |
( |
SimTK::Matrix |
dp |
) |
|
void BSpline::setNControlPoints |
( |
int |
ncp |
) |
|
void BSpline::setNCurvePoints |
( |
int |
ncp |
) |
|
void BSpline::setOrder |
( |
int |
o |
) |
|
Member Data Documentation
The documentation for this class was generated from the following files:
- OpenSim/Common/BSpline.h
- OpenSim/Common/BSpline.cpp