Klamp't  0.8.1
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 using namespace Math;
8 using namespace std;
9 
12 
15 void SplineInterpolate(const vector<Vector>& pts,
16  vector<GeneralizedCubicBezierCurve>& paths,
17  CSpace* space=NULL,GeodesicSpace* manifold=NULL);
23 void SplineInterpolate(const vector<Vector>& pts,
24  GeneralizedCubicBezierSpline& path,
25  CSpace* space=NULL,GeodesicSpace* manifold=NULL,
26  Real coxDeBoorParameter=0);
28 void SplineInterpolate(const vector<Vector>& pts,const vector<Real>& times,
29  vector<GeneralizedCubicBezierCurve>& paths,
30  CSpace* space=NULL,GeodesicSpace* manifold=NULL);
32 void SplineInterpolate(const vector<Vector>& pts,const vector<Real>& times,
33  GeneralizedCubicBezierSpline& path,
34  CSpace* space=NULL,GeodesicSpace* manifold=NULL);
39 void MonotonicInterpolate(const vector<Vector>& pts,
40  vector<GeneralizedCubicBezierCurve>& paths,
41  CSpace* space=NULL,GeodesicSpace* manifold=NULL);
47 void MonotonicInterpolate(const vector<Vector>& pts,
48  GeneralizedCubicBezierSpline& path,
49  CSpace* space=NULL,GeodesicSpace* manifold=NULL,
50  Real coxDeBoorParameter=0);
52 void MonotonicInterpolate(const vector<Vector>& pts,const vector<Real>& times,
53  vector<GeneralizedCubicBezierCurve>& paths,
54  CSpace* space=NULL,GeodesicSpace* manifold=NULL);
56 void MonotonicInterpolate(const vector<Vector>& pts,const vector<Real>& times,
57  GeneralizedCubicBezierSpline& path,
58  CSpace* space=NULL,GeodesicSpace* manifold=NULL);
60 void MonotonicAccelInterpolate(const vector<Vector>& pts,
61  vector<GeneralizedCubicBezierCurve>& paths,
62  CSpace* space=NULL,GeodesicSpace* manifold=NULL);
65 #endif
void SplineInterpolate(const vector< Vector > &pts, vector< GeneralizedCubicBezierCurve > &paths, CSpace *space=NULL, GeodesicSpace *manifold=NULL)
void MonotonicInterpolate(const vector< Vector > &pts, vector< GeneralizedCubicBezierCurve > &paths, CSpace *space=NULL, GeodesicSpace *manifold=NULL)