Public Member Functions

options Class Reference

#include <options.h>

List of all members.

Public Member Functions

 options (const std::string filename)
std::string data_template () const
int data_start_idx () const
std::string left_image_template () const
std::string right_image_template () const
std::string background_image () const
std::string output_directory () const
tracker_state_type state_type () const
int num_particles () const
std::string initial_pose () const
double pred_noise () const
bool extrapolate () const
double convex_lambda () const
const matrix3intrinsic_matrix () const
double data_scaling () const
std::string external_view () const
const vector3external_translation () const
const matrix3external_rotation () const
const std::stringkinect_calibration () const
const std::stringdepth_background () const
std::string skeleton_xsf () const
std::string bone_appearance () const
double bone_size (const std::string name) const
std::string joint_limits () const
std::string bumblebee_configuration () const
tracker_observation_type observation_type () const
double measure_threshold () const
double measure_variance () const
double depth_threshold () const
int measure_downsampling () const
std::string stick_filename () const
std::string mocap_filename () const

Detailed Description

The options class contains a basic interface for accessing information stored in configuration files.

A configuration file as written in plain text with one line per option. The first word of the line is the name of the option, while the rest of the line should contain the value of the option. As an example, the following text could be the contents of a configuration file.

 observation_type          point_cloud_and_stick
 state_type                stick_state
 data_template             Movies3D/triangles/stick2_060110/stick2_060110_%.3d.points

In this case the file contains three options, all having string values.


Constructor & Destructor Documentation

options::options ( const std::string  filename  ) 

Constructor for the options class. This class contains the information stored in configuration files. The information is read from the configuration file once by the constructor and the file is never touched again.

In general function names correspond to the name of the options in the configuration file.

Parameters:
[in] filename The name of the configuration file.

Member Function Documentation

std::string options::background_image (  )  const
std::string options::bone_appearance (  )  const
double options::bone_size ( const std::string  name  )  const
std::string options::bumblebee_configuration (  )  const
double options::convex_lambda (  )  const
double options::data_scaling (  )  const
int options::data_start_idx (  )  const
std::string options::data_template (  )  const

A string in printf format with the path of the file containing the data to be analysed. The string should allow for one integer to be insterted by printf. This integer will correspond to the number of the current frame.

As an example, the following

   Movies3D/triangles/stick2_060110/stick2_060110_%.3d.points

is a valid string for this option.

const std::string & options::depth_background (  )  const
double options::depth_threshold (  )  const
const matrix3 & options::external_rotation (  )  const
const vector3 & options::external_translation (  )  const
std::string options::external_view (  )  const
bool options::extrapolate (  )  const
std::string options::initial_pose (  )  const
const matrix3 & options::intrinsic_matrix (  )  const
std::string options::joint_limits (  )  const
const std::string & options::kinect_calibration (  )  const
std::string options::left_image_template (  )  const
int options::measure_downsampling (  )  const
double options::measure_threshold (  )  const
double options::measure_variance (  )  const
std::string options::mocap_filename (  )  const
int options::num_particles (  )  const
tracker_observation_type options::observation_type (  )  const
std::string options::output_directory (  )  const
double options::pred_noise (  )  const
std::string options::right_image_template (  )  const
std::string options::skeleton_xsf (  )  const
tracker_state_type options::state_type (  )  const
std::string options::stick_filename (  )  const

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