#include <BSpline.h>
Inheritance diagram for OSCAR::BSpline:

Public Methods | |
| BSpline (double stepsize, OSCARError &err=DUMMY_ERROR(noError)) | |
| BSpline (OSCARError &err=DUMMY_ERROR(noError)) | |
| BSpline (const BSpline &rhs) | |
| BSpline & | operator= (const BSpline &rhs) |
| virtual bool | GenerateTrajectory () |
| bool | SetOrder (unsigned int order) |
| double | GetOrder () |
| bool | SetKnots (std::vector< double > &knots) |
| virtual bool | GetParameterRange (double &tInitial, double &tFinal) |
| virtual bool | GetCurvePoint (double t, Vector3 &curvePoint) |
| virtual | ~BSpline () |
Protected Methods | |
| double | bsplineFunc (unsigned int i, unsigned int k, double t) |
| void | calculateKnots () |
Protected Attributes | |
| std::vector< double > | knotVector |
| unsigned int | knotSize |
| unsigned int | order |
|
||||||||||||
|
Constructor. This constructor creates an BSpline object.
|
|
|
|
|
|
Copy Constructor. This is the Copy constructor for an object of type BSpline. Use this to construct an BSpline object from an existing BSpline object.
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
Use this method to generate a BSpline curve from the set of control points. This method will use an Open Uniform Knot Vector (recommended) unless a different one has been set in SetKnots().
Implements OSCAR::Spline. |
|
||||||||||||
|
This method is used to determine a specific point along the trajectory for a given value of the independent parameter.
Implements OSCAR::Spline. |
|
|
Use this method to get the order of the curve.
|
|
||||||||||||
|
This method is used to determine the range of the independent parameter t that will fully interpolate the provided control points.
Implements OSCAR::Spline. |
|
|
Assignment operator. This is the Assignment operator for an object of type BSpline. This operator assumes that the order and DOF of the two planners are the same.
|
|
|
Use this method to set the Knot Vector of the system. The size of the knot vector needs to be (order+#of_control_points). Thus, if you manually set the knot vector, the order and number of control points should not be changed again. By default, an Open Uniform Knot Vector is used. This ensures that the first and last control points are interpolated and should not be changed except by advanced users.
|
|
|
Use this method to set the order of the system. If you set the order to 0, it will use the maximum order possible (order=#of_control_points).
|
|
|
|
|
|
|
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |