comparison include/Motion.hpp @ 142:a3532db00c28

added code to write velocities
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 24 Aug 2011 02:12:06 -0400
parents 47329bd16cc0
children 0089fb29cd26
comparison
equal deleted inserted replaced
141:6f10a227486c 142:a3532db00c28
26 26
27 void addPoint(const int& frameNum, const cv::Point2f& p); 27 void addPoint(const int& frameNum, const cv::Point2f& p);
28 28
29 void shorten(void); 29 void shorten(void);
30 30
31 void write(TrajectoryDBAccess<cv::Point2f>& trajectoryDB) const; 31 void write(TrajectoryDBAccess<cv::Point2f>& trajectoryDB, const string& positionsTableName, const string& velocitiesTableName) const;
32 32
33 #ifdef USE_OPENCV 33 #ifdef USE_OPENCV
34 void draw(cv::Mat& img, const cv::Scalar& color) const; 34 void draw(cv::Mat& img, const cv::Scalar& color) const;
35 #endif 35 #endif
36 36