KrisLibrary
1.0.0
|
An interpolator that concatenates a list of other interpolators. The interpolators may have nonuniform duration. More...
#include <InterpolatorHelpers.h>
Public Member Functions | |
PathInterpolator (const InterpolatorPtr &interp) | |
PathInterpolator (const std::vector< InterpolatorPtr > &segments, Real totalTime=1.0) | |
void | Append (const InterpolatorPtr &interp, Real duration=0) |
Adds a new segment. If duration = 0, all durations / times are scaled to keep the current total time. | |
void | Concat (const PathInterpolator &path) |
void | ScaleDuration (Real scale) |
void | SetTotalTime (Real ttotal) |
virtual void | Eval (Real u, Config &x) const |
virtual Real | Length () const |
virtual const Config & | Start () const |
virtual const Config & | End () const |
virtual Real | ParamStart () const |
virtual Real | ParamEnd () const |
Public Attributes | |
std::vector< InterpolatorPtr > | segments |
std::vector< Real > | durations |
std::vector< Real > | times |
An interpolator that concatenates a list of other interpolators. The interpolators may have nonuniform duration.