Go to the documentation of this file.
22 #ifndef ABSTRACTINTERPOLATION_H
23 #define ABSTRACTINTERPOLATION_H
27 #include <RobotAPI/interface/core/PoseBase.h>
45 virtual PoseBasePtr
getPoseAt(
double time) = 0;
62 void init(
const std::vector<PoseBasePtr> cp);
74 static PoseBasePtr
deepCopy(PoseBasePtr org);
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)
The AbstractInterpolation class represents a function f:t->P with P being the space of all poses The ...
std::shared_ptr< AbstractInterpolation > AbstractInterpolationPtr
int getNumberOfControlPoints()
getNumberOfControlPoints returns number of controlPoints
std::vector< PoseBasePtr > controlPoints
controlPoints the controlPoints that are interpolated between
static PoseBasePtr deepCopy(PoseBasePtr org)
deepCopy creates a real, independent copy of a PoseBasePtr
virtual PoseBasePtr getPoseAt(double time)=0
getPoseAt returns the Pose defined by f(time)
This file offers overloads of toIce() and fromIce() functions for STL container types.