diff c/Parameters.cpp @ 164:76610dcf3b8d

added test code to read trajectories
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 28 Sep 2011 13:27:20 -0400
parents 6f10a227486c
children 0e60a306d324
line wrap: on
line diff
--- a/c/Parameters.cpp	Tue Sep 27 01:38:05 2011 -0400
+++ b/c/Parameters.cpp	Wed Sep 28 13:27:20 2011 -0400
@@ -16,6 +16,8 @@
   // configuration filename
   onlyCmdLine.add_options()
     ("help,h", "displays this help message")
+    ("tf", "tracks features")
+    ("gf", "groups features")
     ("config-file", po::value<string>(&configurationFilename)->default_value("tracking.cfg"), "configuration file")
     ;
 
@@ -75,6 +77,9 @@
 
     parameterDescription = getParameterDescription(cmdLineAndFile, vm);
 
+    trackFeatures = vm.count("tf")>0;
+    groupFeatures = vm.count("gf")>0;
+
     if (vm.count("help")) {
       cout << cmdLine << endl;
       // cout << "Positional options:";