The SplineInterpolationSegment class represents the segment of a parent SplineInterpolation between two control points.
More...
#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/Interpolation/SplineInterpolationSegment.h>
|
| virtual const QuaternionBasePtr | calculateOrientationAt (double time) |
| | calculateOrientationAt calculates the rotation/orientation of the pose at a certain time
|
| |
| void | init (const std::vector< PoseBasePtr > cp) |
| | init convinience method to construct the basic parts of the interpolation (copying all controlPoints)
|
| |
| static PoseBasePtr | deepCopy (PoseBasePtr org) |
| | deepCopy creates a real, independent copy of a PoseBasePtr
|
| |
| std::vector< PoseBasePtr > | controlPoints |
| | controlPoints the controlPoints that are interpolated between
|
| |
The SplineInterpolationSegment class represents the segment of a parent SplineInterpolation between two control points.
◆ SplineInterpolationSegment()
◆ getNumberOfControlPoints()
| int getNumberOfControlPoints |
( |
| ) |
|
always returns 2 as there are always 2 control points in a spline interpolation segment
◆ getPoseAt()
| PoseBasePtr getPoseAt |
( |
double | time | ) |
|
|
overridevirtual |
getPoseAt returns the Pose defined by f(time)
- Parameters
-
| time | a time between 0 and 1 with getPoseAt(0) being the startingPose and getPoseAt(1) being the ending Pose |
- Returns
- the pose of the interpolation-function at time
Implements AbstractInterpolation.
The documentation for this class was generated from the following files: