Public Types | Public Member Functions | Private Member Functions | Private Attributes
CmdLine Class Reference

#include <cmd_line.h>

List of all members.

Public Types

enum  DETECTOR_TYPE { DMTX, ZBAR }
enum  TRACKER_TYPE { KLT, MBT, KLT_MBT }

Public Member Functions

 CmdLine (int argc, char **argv)
 CmdLine (std::string &config_file)
bool dmtx_only () const
bool get_adhoc_recovery_display () const
double get_adhoc_recovery_ratio () const
double get_adhoc_recovery_size () const
unsigned int get_adhoc_recovery_treshold () const
vpCameraParameters get_cam_calib_params () const
std::string get_data_dir () const
DETECTOR_TYPE get_detector_type () const
int get_dmx_timeout () const
std::vector< vpPoint > & get_flashcode_points_3D ()
double get_hinkley_alpha () const
double get_hinkley_delta () const
std::string get_init_file () const
std::vector< vpPoint > & get_inner_points_3D ()
double get_inner_ratio () const
std::string get_input_file_pattern () const
std::string get_log_file_pattern () const
int get_mbt_convergence_steps () const
double get_mbt_dynamic_range () const
std::vector< vpPoint > & get_outer_points_3D ()
double get_outer_ratio () const
std::string get_pattern_name () const
std::string get_single_image_path () const
TRACKER_TYPE get_tracker_type () const
std::string get_var_file () const
double get_var_limit () const
bool get_verbose () const
std::string get_video_channel () const
std::string get_wrl_file () const
std::string get_xml_file () const
bool log_checkpoints () const
bool log_pose () const
bool logging_video () const
void set_data_directory (std::string dir)
bool should_exit () const
bool show_fps () const
bool show_plot () const
bool using_adhoc_recovery () const
bool using_data_dir () const
bool using_hinkley () const
bool using_mbt_dynamic_range ()
bool using_single_image () const
bool using_var_file () const
bool using_var_limit () const
bool using_video_camera () const

Private Member Functions

void common ()
void loadConfig (std::string &config_file)

Private Attributes

bool adhoc_recovery_
bool adhoc_recovery_display_
double adhoc_recovery_ratio_
double adhoc_recovery_size_
unsigned int adhoc_recovery_treshold_
std::string config_file
std::string data_dir_
int dmx_timeout_
std::vector< double > flashcode_coordinates
std::vector< vpPoint > flashcode_points_3D_
std::vector< double > hinkley_range_
std::vector< double > inner_coordinates
std::vector< vpPoint > inner_points_3D_
double inner_ratio_
std::string input_file_pattern_
std::string log_file_pattern_
bool log_pose_
int mbt_convergence_steps_
double mbt_dynamic_range_
std::vector< double > outer_coordinates
std::vector< vpPoint > outer_points_3D_
double outer_ratio_
std::string pattern_name_
po::options_description prog_args
bool should_exit_
bool show_fps_
bool show_plot_
std::string single_image_name_
std::string var_file_
double var_limit_
bool verbose_
std::string video_channel_
boost::program_options::variables_map vm_

Detailed Description

Definition at line 12 of file cmd_line.h.


Member Enumeration Documentation

Enumerator:
DMTX 
ZBAR 

Definition at line 47 of file cmd_line.h.

Enumerator:
KLT 
MBT 
KLT_MBT 

Definition at line 50 of file cmd_line.h.


Constructor & Destructor Documentation

CmdLine::CmdLine ( int  argc,
char **  argv 
)

Definition at line 132 of file cmd_line.cpp.

CmdLine::CmdLine ( std::string &  config_file)

Definition at line 126 of file cmd_line.cpp.


Member Function Documentation

void CmdLine::common ( ) [private]

Definition at line 7 of file cmd_line.cpp.

bool CmdLine::dmtx_only ( ) const

Definition at line 213 of file cmd_line.cpp.

Definition at line 322 of file cmd_line.cpp.

Definition at line 314 of file cmd_line.cpp.

Definition at line 310 of file cmd_line.cpp.

unsigned int CmdLine::get_adhoc_recovery_treshold ( ) const

Definition at line 318 of file cmd_line.cpp.

vpCameraParameters CmdLine::get_cam_calib_params ( ) const

Definition at line 145 of file cmd_line.cpp.

std::string CmdLine::get_data_dir ( ) const

Definition at line 253 of file cmd_line.cpp.

Definition at line 293 of file cmd_line.cpp.

int CmdLine::get_dmx_timeout ( ) const

Definition at line 233 of file cmd_line.cpp.

std::vector< vpPoint > & CmdLine::get_flashcode_points_3D ( )

Definition at line 281 of file cmd_line.cpp.

double CmdLine::get_hinkley_alpha ( ) const

Definition at line 169 of file cmd_line.cpp.

double CmdLine::get_hinkley_delta ( ) const

Definition at line 175 of file cmd_line.cpp.

std::string CmdLine::get_init_file ( ) const

Definition at line 269 of file cmd_line.cpp.

std::vector< vpPoint > & CmdLine::get_inner_points_3D ( )

Definition at line 285 of file cmd_line.cpp.

double CmdLine::get_inner_ratio ( ) const

Definition at line 237 of file cmd_line.cpp.

std::string CmdLine::get_input_file_pattern ( ) const

Definition at line 157 of file cmd_line.cpp.

std::string CmdLine::get_log_file_pattern ( ) const

Definition at line 153 of file cmd_line.cpp.

Definition at line 181 of file cmd_line.cpp.

Definition at line 185 of file cmd_line.cpp.

std::vector< vpPoint > & CmdLine::get_outer_points_3D ( )

Definition at line 289 of file cmd_line.cpp.

double CmdLine::get_outer_ratio ( ) const

Definition at line 241 of file cmd_line.cpp.

std::string CmdLine::get_pattern_name ( ) const

Definition at line 257 of file cmd_line.cpp.

std::string CmdLine::get_single_image_path ( ) const

Definition at line 277 of file cmd_line.cpp.

Definition at line 300 of file cmd_line.cpp.

std::string CmdLine::get_var_file ( ) const

Definition at line 201 of file cmd_line.cpp.

double CmdLine::get_var_limit ( ) const

Definition at line 193 of file cmd_line.cpp.

bool CmdLine::get_verbose ( ) const

Definition at line 229 of file cmd_line.cpp.

std::string CmdLine::get_video_channel ( ) const

Definition at line 221 of file cmd_line.cpp.

std::string CmdLine::get_wrl_file ( ) const

Definition at line 261 of file cmd_line.cpp.

std::string CmdLine::get_xml_file ( ) const

Definition at line 265 of file cmd_line.cpp.

void CmdLine::loadConfig ( std::string &  config_file) [private]

Definition at line 65 of file cmd_line.cpp.

bool CmdLine::log_checkpoints ( ) const

Definition at line 330 of file cmd_line.cpp.

bool CmdLine::log_pose ( ) const

Definition at line 334 of file cmd_line.cpp.

bool CmdLine::logging_video ( ) const

Definition at line 209 of file cmd_line.cpp.

void CmdLine::set_data_directory ( std::string  dir)

Definition at line 338 of file cmd_line.cpp.

bool CmdLine::should_exit ( ) const

Definition at line 217 of file cmd_line.cpp.

bool CmdLine::show_fps ( ) const

Definition at line 225 of file cmd_line.cpp.

bool CmdLine::show_plot ( ) const

Definition at line 161 of file cmd_line.cpp.

Definition at line 326 of file cmd_line.cpp.

bool CmdLine::using_data_dir ( ) const

Definition at line 245 of file cmd_line.cpp.

bool CmdLine::using_hinkley ( ) const

Definition at line 165 of file cmd_line.cpp.

Definition at line 189 of file cmd_line.cpp.

Definition at line 273 of file cmd_line.cpp.

bool CmdLine::using_var_file ( ) const

Definition at line 205 of file cmd_line.cpp.

bool CmdLine::using_var_limit ( ) const

Definition at line 197 of file cmd_line.cpp.

Definition at line 249 of file cmd_line.cpp.


Member Data Documentation

bool CmdLine::adhoc_recovery_ [private]

Definition at line 24 of file cmd_line.h.

Definition at line 25 of file cmd_line.h.

Definition at line 26 of file cmd_line.h.

Definition at line 28 of file cmd_line.h.

unsigned int CmdLine::adhoc_recovery_treshold_ [private]

Definition at line 27 of file cmd_line.h.

std::string CmdLine::config_file [private]

Definition at line 43 of file cmd_line.h.

std::string CmdLine::data_dir_ [private]

Definition at line 33 of file cmd_line.h.

int CmdLine::dmx_timeout_ [private]

Definition at line 30 of file cmd_line.h.

std::vector<double> CmdLine::flashcode_coordinates [private]

Definition at line 41 of file cmd_line.h.

std::vector<vpPoint> CmdLine::flashcode_points_3D_ [private]

Definition at line 37 of file cmd_line.h.

std::vector<double> CmdLine::hinkley_range_ [private]

Definition at line 29 of file cmd_line.h.

std::vector<double> CmdLine::inner_coordinates [private]

Definition at line 41 of file cmd_line.h.

std::vector<vpPoint> CmdLine::inner_points_3D_ [private]

Definition at line 38 of file cmd_line.h.

double CmdLine::inner_ratio_ [private]

Definition at line 21 of file cmd_line.h.

std::string CmdLine::input_file_pattern_ [private]

Definition at line 42 of file cmd_line.h.

std::string CmdLine::log_file_pattern_ [private]

Definition at line 42 of file cmd_line.h.

bool CmdLine::log_pose_ [private]

Definition at line 18 of file cmd_line.h.

Definition at line 31 of file cmd_line.h.

double CmdLine::mbt_dynamic_range_ [private]

Definition at line 32 of file cmd_line.h.

std::vector<double> CmdLine::outer_coordinates [private]

Definition at line 41 of file cmd_line.h.

std::vector<vpPoint> CmdLine::outer_points_3D_ [private]

Definition at line 38 of file cmd_line.h.

double CmdLine::outer_ratio_ [private]

Definition at line 22 of file cmd_line.h.

std::string CmdLine::pattern_name_ [private]

Definition at line 34 of file cmd_line.h.

po::options_description CmdLine::prog_args [private]

Definition at line 40 of file cmd_line.h.

bool CmdLine::should_exit_ [private]

Definition at line 19 of file cmd_line.h.

bool CmdLine::show_fps_ [private]

Definition at line 16 of file cmd_line.h.

bool CmdLine::show_plot_ [private]

Definition at line 17 of file cmd_line.h.

std::string CmdLine::single_image_name_ [private]

Definition at line 36 of file cmd_line.h.

std::string CmdLine::var_file_ [private]

Definition at line 35 of file cmd_line.h.

double CmdLine::var_limit_ [private]

Definition at line 23 of file cmd_line.h.

bool CmdLine::verbose_ [private]

Definition at line 15 of file cmd_line.h.

std::string CmdLine::video_channel_ [private]

Definition at line 20 of file cmd_line.h.

boost::program_options::variables_map CmdLine::vm_ [private]

Definition at line 14 of file cmd_line.h.


The documentation for this class was generated from the following files:


visp_auto_tracker
Author(s): Filip Novotny
autogenerated on Mon Oct 6 2014 08:40:41