22#ifndef ABSTRACTINTERPOLATION_H
23#define ABSTRACTINTERPOLATION_H
27#include <RobotAPI/interface/core/PoseBase.h>
61 void init(
const std::vector<PoseBasePtr> cp);
73 static PoseBasePtr
deepCopy(PoseBasePtr org);
The AbstractInterpolation class represents a function f:t->P with P being the space of all poses The ...
virtual const QuaternionBasePtr calculateOrientationAt(double time)
calculateOrientationAt calculates the rotation/orientation of the pose at a certain time
int getNumberOfControlPoints()
getNumberOfControlPoints returns number of controlPoints
static PoseBasePtr deepCopy(PoseBasePtr org)
deepCopy creates a real, independent copy of a PoseBasePtr
void init(const std::vector< PoseBasePtr > cp)
init convinience method to construct the basic parts of the interpolation (copying all controlPoints)
virtual PoseBasePtr getPoseAt(double time)=0
getPoseAt returns the Pose defined by f(time)
std::vector< PoseBasePtr > controlPoints
controlPoints the controlPoints that are interpolated between
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< AbstractInterpolation > AbstractInterpolationPtr