The LinearInterpolation class represents a linear Interpolation between a series of control points Linear means that the position is calcualed by a function with the Form a + time * b (with a and b as three-dimensional Vectors)
More...
#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/Interpolation/LinearInterpolation.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 LinearInterpolation class represents a linear Interpolation between a series of control points Linear means that the position is calcualed by a function with the Form a + time * b (with a and b as three-dimensional Vectors)
◆ LinearInterpolation()
LinearInterpolation creates a new LinearInterPolation defined by controlPoints.
- Parameters
-
| controlPoints | a vector of Poses that define the Interpolation-Function |
◆ 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: