OpenSim::BSpline Class Reference

#include <BSpline.h>

Inheritance diagram for OpenSim::BSpline:
OpenSim::Function OpenSim::Object

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 (  ) 

Default constructor.

BSpline::BSpline ( int  o,
int  ncp1,
int  ncp2,
int  nd 
)

TODO: add comment.

BSpline::~BSpline (  )  [virtual]

Destructor.


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 
)

TODO: add comment.

void BSpline::createControlPoints (  ) 

TODO: add comment.

void BSpline::createCurvePoints (  ) 

TODO: add comment.

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 
)

TODO: add comment.

SimTK::Matrix BSpline::getControlPoints (  ) 

TODO: add comment.

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 
)

TODO: add comment.

SimTK::Matrix BSpline::getDataPoints (  ) 

TODO: add comment.

int BSpline::getNControlPoints (  ) 

TODO: add comment.

int BSpline::getNCurvePoints (  ) 

TODO: add comment.

int BSpline::getNParametricKnots (  ) 

TODO: add comment.

TODO: add comment

int BSpline::getOrder (  ) 

TODO: add comment.

SimTK::Vector BSpline::getParametricKnots (  ) 

TODO: add comment.

TODO: add comment

SimTK::Real BSpline::getParametricKnotValue ( int  i  ) 

TODO: add comment.

TODO: add comment

OpenSim::BSpline::OPENSIM_DECLARE_DERIVED ( BSpline  ,
Function   
)
void BSpline::setControlPoint ( int  r,
int  c,
SimTK::Real  value 
)

TODO: add comment.

void BSpline::setControlPoints ( SimTK::Matrix  cp  ) 

TODO: add comment.

void BSpline::setDataPoint ( int  r,
int  c,
SimTK::Real  value 
)

TODO: add comment.

void BSpline::setDataPoints ( SimTK::Matrix  dp  ) 

TODO: add comment.

void BSpline::setNControlPoints ( int  ncp  ) 

TODO: add comment.

void BSpline::setNCurvePoints ( int  ncp  ) 

TODO: add comment.

void BSpline::setOrder ( int  o  ) 

TODO: add comment.


Member Data Documentation

SimTK::Matrix OpenSim::BSpline::_blendingFunction [protected]
SimTK::Matrix OpenSim::BSpline::_controlPoints [protected]
SimTK::Matrix OpenSim::BSpline::_curvePoints [protected]
SimTK::Matrix OpenSim::BSpline::_dataPoints [protected]
int OpenSim::BSpline::_order [protected]
SimTK::Vector OpenSim::BSpline::_parametricKnots [protected]

The documentation for this class was generated from the following files:

Generated on Wed Dec 16 15:03:39 2009 for OpenSim by  doxygen 1.6.1