# HG changeset patch # User Nicolas Saunier # Date 1320035734 14400 # Node ID d7df8ecf5ccdb35df9b403163c00f2498448dc28 # Parent ae2286b1a3fddb540c6031ae0c8b7991831ae930 next steps diff -r ae2286b1a3fd -r d7df8ecf5ccd c/feature-based-tracking.cpp --- a/c/feature-based-tracking.cpp Sun Oct 30 11:25:51 2011 -0400 +++ b/c/feature-based-tracking.cpp Mon Oct 31 00:35:34 2011 -0400 @@ -281,7 +281,7 @@ // boost::shared_ptr > trajectory; // success = trajectoryDB->read(trajectory, trajectoryId, "positions"); // velocities FeatureTrajectoryPtr ft = FeatureTrajectoryPtr(new FeatureTrajectory(trajectoryId, *trajectoryDB, "positions", "velocities")); - stringstream ss;ss << *ft; cout << ss.str() << endl; + //stringstream ss;ss << *ft; cout << ss.str() << endl; } // should the trajectory be loaded one by one? yes diff -r ae2286b1a3fd -r d7df8ecf5ccd include/Motion.hpp --- a/include/Motion.hpp Sun Oct 30 11:25:51 2011 -0400 +++ b/include/Motion.hpp Mon Oct 31 00:35:34 2011 -0400 @@ -80,6 +80,9 @@ public: FeatureGraph(float _minDistance, float _maxDistance) : minDistance (_minDistance), maxDistance(_maxDistance) {} + // add vertex, includes adding links to current vertices + // find connected components, check if old enough, if so, remove + protected: struct FeatureConnection { float minDistance;