
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 threedimensional Vectors) More...
#include <RobotComponents/guiplugins/RobotTrajectoryDesignerGuiPlugin/Interpolation/LinearInterpolation.h>
Public Member Functions  
PoseBasePtr  getPoseAt (double time) override 
getPoseAt returns the Pose defined by f(time) More...  
LinearInterpolation (std::vector< PoseBasePtr > controlPoints)  
LinearInterpolation creates a new LinearInterPolation defined by controlPoints. More...  
Public Member Functions inherited from AbstractInterpolation  
int  getNumberOfControlPoints () 
getNumberOfControlPoints returns number of controlPoints More...  
Additional Inherited Members  
Protected Member Functions inherited from AbstractInterpolation  
virtual const QuaternionBasePtr  calculateOrientationAt (double time) 
calculateOrientationAt calculates the rotation/orientation of the pose at a certain time More...  
void  init (const std::vector< PoseBasePtr > cp) 
init convinience method to construct the basic parts of the interpolation (copying all controlPoints) More...  
Static Protected Member Functions inherited from AbstractInterpolation  
static PoseBasePtr  deepCopy (PoseBasePtr org) 
deepCopy creates a real, independent copy of a PoseBasePtr More...  
Protected Attributes inherited from AbstractInterpolation  
std::vector< PoseBasePtr >  controlPoints 
controlPoints the controlPoints that are interpolated between More...  
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 threedimensional Vectors)
Definition at line 36 of file LinearInterpolation.h.
LinearInterpolation  (  std::vector< PoseBasePtr >  controlPoints  ) 
LinearInterpolation creates a new LinearInterPolation defined by controlPoints.
controlPoints  a vector of Poses that define the InterpolationFunction 
Definition at line 33 of file LinearInterpolation.cpp.

overridevirtual 
getPoseAt returns the Pose defined by f(time)
time  a time between 0 and 1 with getPoseAt(0) being the startingPose and getPoseAt(1) being the ending Pose 
Implements AbstractInterpolation.
Definition at line 52 of file LinearInterpolation.cpp.