Klamp't  0.9.0
SplineInterpolate.h
1 #ifndef INTERPOLATE_CUBIC_SPLINES_H
2 #define INTERPOLATE_CUBIC_SPLINES_H
3 
4 #include <KrisLibrary/planning/GeneralizedBezierCurve.h>
5 #include <KrisLibrary/math/misc.h>
6 #include <vector>
7 
8 namespace Klampt {
9  using namespace Math;
10  using namespace std;
11 
14 
17 void SplineInterpolate(const vector<Vector>& pts,
18  vector<GeneralizedCubicBezierCurve>& paths,
19  CSpace* space=NULL,GeodesicSpace* manifold=NULL);
25 void SplineInterpolate(const vector<Vector>& pts,
26  GeneralizedCubicBezierSpline& path,
27  CSpace* space=NULL,GeodesicSpace* manifold=NULL,
28  Real coxDeBoorParameter=0);
30 void SplineInterpolate(const vector<Vector>& pts,const vector<Real>& times,
31  vector<GeneralizedCubicBezierCurve>& paths,
32  CSpace* space=NULL,GeodesicSpace* manifold=NULL);
34 void SplineInterpolate(const vector<Vector>& pts,const vector<Real>& times,
35  GeneralizedCubicBezierSpline& path,
36  CSpace* space=NULL,GeodesicSpace* manifold=NULL);
41 void MonotonicInterpolate(const vector<Vector>& pts,
42  vector<GeneralizedCubicBezierCurve>& paths,
43  CSpace* space=NULL,GeodesicSpace* manifold=NULL);
49 void MonotonicInterpolate(const vector<Vector>& pts,
50  GeneralizedCubicBezierSpline& path,
51  CSpace* space=NULL,GeodesicSpace* manifold=NULL,
52  Real coxDeBoorParameter=0);
54 void MonotonicInterpolate(const vector<Vector>& pts,const vector<Real>& times,
55  vector<GeneralizedCubicBezierCurve>& paths,
56  CSpace* space=NULL,GeodesicSpace* manifold=NULL);
58 void MonotonicInterpolate(const vector<Vector>& pts,const vector<Real>& times,
59  GeneralizedCubicBezierSpline& path,
60  CSpace* space=NULL,GeodesicSpace* manifold=NULL);
62 void MonotonicAccelInterpolate(const vector<Vector>& pts,
63  vector<GeneralizedCubicBezierCurve>& paths,
64  CSpace* space=NULL,GeodesicSpace* manifold=NULL);
67 } //namespace Klampt
68 
69 #endif
void SplineInterpolate(const vector< Vector > &pts, const vector< Real > &times, GeneralizedCubicBezierSpline &path, CSpace *space=NULL, GeodesicSpace *manifold=NULL)
Same as above but outputs a spline, sets the path&#39;s durations.
void MonotonicInterpolate(const vector< Vector > &pts, const vector< Real > &times, GeneralizedCubicBezierSpline &path, CSpace *space=NULL, GeodesicSpace *manifold=NULL)
Same as above but outputs a spline, sets the path&#39;s durations.
Definition: ContactDistance.h:6