#ifndef _STEMPLATE_H #define _STEMPLATE_H #include "spline.h" #include "vec.h" #include "cv.h" typedef vec ShapeState; class SplineTemplate { public: Spline s; Spline d; void drawNormals(IplImage* image); void addPoint(int x, int y); void setTemplate(); void setDerived(ShapeState state); double mse(Spline& other); }; #endif // _STEMPLATE_H