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 ()
 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_code_message () const
size_t get_code_message_index () 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
std::string get_mbt_cad_file () 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_xml_file () const
void init (std::string &config_file)
bool log_checkpoints () const
bool log_pose () const
bool logging_video () const
void set_code_message (const std::string &msg)
void set_code_message_index (const size_t &index)
void set_data_directory (std::string &dir)
void set_pattern_name (std::string &name)
void set_show_fps (bool show_fps)
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 code_message_
int code_message_index_
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 49 of file cmd_line.h.

Enumerator:
KLT 
MBT 
KLT_MBT 

Definition at line 52 of file cmd_line.h.


Constructor & Destructor Documentation

Definition at line 133 of file cmd_line.cpp.

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

Definition at line 142 of file cmd_line.cpp.

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

Definition at line 128 of file cmd_line.cpp.


Member Function Documentation

void CmdLine::common ( ) [private]

Definition at line 8 of file cmd_line.cpp.

bool CmdLine::dmtx_only ( ) const

Definition at line 222 of file cmd_line.cpp.

Definition at line 336 of file cmd_line.cpp.

Definition at line 328 of file cmd_line.cpp.

Definition at line 324 of file cmd_line.cpp.

unsigned int CmdLine::get_adhoc_recovery_treshold ( ) const

Definition at line 332 of file cmd_line.cpp.

vpCameraParameters CmdLine::get_cam_calib_params ( ) const

Definition at line 154 of file cmd_line.cpp.

std::string CmdLine::get_code_message ( ) const

Definition at line 340 of file cmd_line.cpp.

Definition at line 343 of file cmd_line.cpp.

std::string CmdLine::get_data_dir ( ) const

Definition at line 262 of file cmd_line.cpp.

Definition at line 307 of file cmd_line.cpp.

int CmdLine::get_dmx_timeout ( ) const

Definition at line 242 of file cmd_line.cpp.

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

Definition at line 295 of file cmd_line.cpp.

double CmdLine::get_hinkley_alpha ( ) const

Definition at line 178 of file cmd_line.cpp.

double CmdLine::get_hinkley_delta ( ) const

Definition at line 184 of file cmd_line.cpp.

std::string CmdLine::get_init_file ( ) const

Definition at line 283 of file cmd_line.cpp.

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

Definition at line 299 of file cmd_line.cpp.

double CmdLine::get_inner_ratio ( ) const

Definition at line 246 of file cmd_line.cpp.

std::string CmdLine::get_input_file_pattern ( ) const

Definition at line 166 of file cmd_line.cpp.

std::string CmdLine::get_log_file_pattern ( ) const

Definition at line 162 of file cmd_line.cpp.

std::string CmdLine::get_mbt_cad_file ( ) const

Definition at line 270 of file cmd_line.cpp.

Definition at line 190 of file cmd_line.cpp.

Definition at line 194 of file cmd_line.cpp.

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

Definition at line 303 of file cmd_line.cpp.

double CmdLine::get_outer_ratio ( ) const

Definition at line 250 of file cmd_line.cpp.

std::string CmdLine::get_pattern_name ( ) const

Definition at line 266 of file cmd_line.cpp.

std::string CmdLine::get_single_image_path ( ) const

Definition at line 291 of file cmd_line.cpp.

Definition at line 314 of file cmd_line.cpp.

std::string CmdLine::get_var_file ( ) const

Definition at line 210 of file cmd_line.cpp.

double CmdLine::get_var_limit ( ) const

Definition at line 202 of file cmd_line.cpp.

bool CmdLine::get_verbose ( ) const

Definition at line 238 of file cmd_line.cpp.

std::string CmdLine::get_video_channel ( ) const

Definition at line 230 of file cmd_line.cpp.

std::string CmdLine::get_xml_file ( ) const

Definition at line 279 of file cmd_line.cpp.

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

Definition at line 135 of file cmd_line.cpp.

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

Definition at line 67 of file cmd_line.cpp.

bool CmdLine::log_checkpoints ( ) const

Definition at line 351 of file cmd_line.cpp.

bool CmdLine::log_pose ( ) const

Definition at line 355 of file cmd_line.cpp.

bool CmdLine::logging_video ( ) const

Definition at line 218 of file cmd_line.cpp.

void CmdLine::set_code_message ( const std::string &  msg)

Definition at line 370 of file cmd_line.cpp.

void CmdLine::set_code_message_index ( const size_t &  index)

Definition at line 374 of file cmd_line.cpp.

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

Definition at line 359 of file cmd_line.cpp.

void CmdLine::set_pattern_name ( std::string &  name)

Definition at line 363 of file cmd_line.cpp.

void CmdLine::set_show_fps ( bool  show_fps)

Definition at line 366 of file cmd_line.cpp.

bool CmdLine::should_exit ( ) const

Definition at line 226 of file cmd_line.cpp.

bool CmdLine::show_fps ( ) const

Definition at line 234 of file cmd_line.cpp.

bool CmdLine::show_plot ( ) const

Definition at line 170 of file cmd_line.cpp.

Definition at line 347 of file cmd_line.cpp.

bool CmdLine::using_data_dir ( ) const

Definition at line 254 of file cmd_line.cpp.

bool CmdLine::using_hinkley ( ) const

Definition at line 174 of file cmd_line.cpp.

Definition at line 198 of file cmd_line.cpp.

Definition at line 287 of file cmd_line.cpp.

bool CmdLine::using_var_file ( ) const

Definition at line 214 of file cmd_line.cpp.

bool CmdLine::using_var_limit ( ) const

Definition at line 206 of file cmd_line.cpp.

Definition at line 258 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::code_message_ [private]

Definition at line 44 of file cmd_line.h.

Definition at line 45 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 Fri Aug 28 2015 13:36:44