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

Public Methods | |
| Spline (double stepsize, OSCARError &err=DUMMY_ERROR(noError)) | |
| Spline (OSCARError &err=DUMMY_ERROR(noError)) | |
| Spline (const Spline &rhs) | |
| Spline & | operator= (const Spline &rhs) |
| bool | SetControlPoints (const std::vector< Vector3 > &ctrlPt) |
| bool | AddControlPoint (const Vector3 &ctrlPt) |
| bool | InsertControlPoint (const Vector3 &ctrlPt, unsigned int index) |
| bool | DeleteControlPoint (unsigned int index) |
| bool | ClearControlPoints () |
| bool | GetControlPoints (std::vector< Vector3 > &ctrlPoints) |
| bool | GetTrajectoryPoint (unsigned int i, Vector3 &point) |
| unsigned int | GetTrajectorySize () |
| bool | SetStepSize (double stepSize) |
| bool | GetTrajectory (std::vector< Vector3 > ¶Trajectory) |
| virtual bool | GenerateTrajectory ()=0 |
| virtual bool | GetParameterRange (double &tInitial, double &tFinal)=0 |
| virtual bool | GetCurvePoint (double t, Vector3 &curvePoint)=0 |
| virtual | ~Spline () |
Protected Attributes | |
| double | stepSize |
| double | tStart |
| double | tEnd |
| std::vector< Vector3 > | controlPoints |
| std::vector< Vector3 > | trajectory |
|
||||||||||||
|
Constructor. This constructor creates an Spline object.
|
|
|
|
|
|
Copy Constructor. This is the Copy constructor for an object of type Spline. Use this to construct an Spline object from an existing Spline object.
|
|
|
|
|
|
Use this method to append a single control point to the current internally stored list of control points.
|
|
|
Use this method to clear the current control points.
|
|
|
Use this method to delete a control point at a specified index.
|
|
|
Use this method to generate a trajectory from the set of control points.
Implemented in OSCAR::BezierCurve, OSCAR::BSpline, and OSCAR::ParabolicBlend. |
|
|
Use this method to retrieve the current list of control points.
|
|
||||||||||||
|
This method is used to determine a specific point along the trajectory for a given value of the independent parameter.
Implemented in OSCAR::BezierCurve, OSCAR::BSpline, and OSCAR::ParabolicBlend. |
|
||||||||||||
|
This method is used to determine the range of the independent parameter t that will fully interpolate the provided control points.
Implemented in OSCAR::BezierCurve, OSCAR::BSpline, and OSCAR::ParabolicBlend. |
|
|
Use this method to retrieve the generated trajectory.
|
|
||||||||||||
|
Use this method to retrieve a specific point from the internally stored trajectory. If you provide an index which is not valid, this method will fail.
|
|
|
Use this method to retrieve the size of the internally stored trajectory. If the trajectory has not been generated, this value will be zero.
|
|
||||||||||||
|
Use this method to insert a control point at a specified index.
|
|
|
Assignment operator. This is the Assignment operator for an object of type Spline. This operator assumes that the order and DOF of the two planners are the same.
|
|
|
Use this method to set the control points from a list of points.
|
|
|
Use this method to set the step size to use in trajectory generation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |