Classes | Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
tracking::Tracker_ Class Reference

#include <tracking.h>

Inheritance diagram for tracking::Tracker_:
Inheritance graph


struct  statistics_t
struct  transition_table

Public Types

typedef WaitingForInput initial_state

Public Member Functions

void find_flashcode_pos (input_ready const &evt)
bool flashcode_detected (input_ready const &evt)
bool flashcode_redetected (input_ready const &evt)
vpCameraParameters & get_cam ()
CmdLineget_cmd ()
vpDetectorBase & get_detector ()
std::vector< vpPoint > & get_flashcode ()
bool get_flush_display ()
vpImage< vpRGBa > & get_I ()
vpMbTracker & get_mbt ()
std::vector< vpPoint > & get_points3D_inner ()
std::vector< vpPoint > & get_points3D_middle ()
std::vector< vpPoint > & get_points3D_outer ()
statistics_tget_statistics ()
template<class T >
const T & get_tracking_box ()
const vpRect & get_tracking_box ()
bool input_selected (input_ready const &evt)
bool mbt_success (input_ready const &evt)
bool model_detected (msm::front::none const &)
bool no_input_selected (input_ready const &evt)
void set_flush_display (bool val)
void track_model (input_ready const &evt)
 Tracker_ (CmdLine &cmd, vpDetectorBase *detector, vpMbTracker *tracker_, bool flush_display=true)
void updateKltPoints (visp_tracker::KltPointsPtr klt)
void updateMovingEdgeSites (visp_tracker::MovingEdgeSitesPtr sites)

Private Types

typedef boost::array< vpHinkley, 6 > hinkley_array_t

Private Attributes

vpImage< vpRGBa > * _I
vpCameraParameters cam_
CmdLine cmd
vpHomogeneousMatrix cMo_
vpMatrix covariance_
cv::Rect cvTrackingBox_
bool cvTrackingBox_init_
vpDetectorBase * detector_
std::vector< vpPoint > f_
vpImagePoint flashcode_center_
bool flush_display_
hinkley_array_t hink_
vpImage< vpRGBa > * I_
vpImage< unsigned char > Igray_
int iter_
std::vector< vpPoint > outer_points_3D_bcp_
std::vector< vpPoint > points3D_inner_
std::vector< vpPoint > points3D_middle_
std::vector< vpPoint > points3D_outer_
statistics_t statistics
vpMbTracker * tracker_
vpMe tracker_me_config_
std::ofstream varfile_
vpRect vpTrackingBox_

Detailed Description

Definition at line 45 of file tracking.h.

Member Typedef Documentation

typedef boost::array<vpHinkley,6> tracking::Tracker_::hinkley_array_t

Definition at line 68 of file tracking.h.

typedef WaitingForInput tracking::Tracker_::initial_state

Definition at line 122 of file tracking.h.

Constructor & Destructor Documentation

tracking::Tracker_::Tracker_ ( CmdLine cmd,
vpDetectorBase *  detector,
vpMbTracker *  tracker_,
bool  flush_display = true 

Definition at line 20 of file tracking.cpp.

Member Function Documentation

void tracking::Tracker_::find_flashcode_pos ( input_ready const &  evt)

Definition at line 247 of file tracking.cpp.

bool tracking::Tracker_::flashcode_detected ( input_ready const &  evt)

Definition at line 149 of file tracking.cpp.

bool tracking::Tracker_::flashcode_redetected ( input_ready const &  evt)

Definition at line 195 of file tracking.cpp.

vpCameraParameters & tracking::Tracker_::get_cam ( )

Definition at line 122 of file tracking.cpp.

CmdLine & tracking::Tracker_::get_cmd ( )

Definition at line 126 of file tracking.cpp.

vpDetectorBase & tracking::Tracker_::get_detector ( )

Definition at line 92 of file tracking.cpp.

std::vector< vpPoint > & tracking::Tracker_::get_flashcode ( )

Definition at line 114 of file tracking.cpp.

bool tracking::Tracker_::get_flush_display ( )

Definition at line 513 of file tracking.cpp.

vpImage< vpRGBa > & tracking::Tracker_::get_I ( )

Definition at line 118 of file tracking.cpp.

vpMbTracker & tracking::Tracker_::get_mbt ( )

Definition at line 97 of file tracking.cpp.

std::vector< vpPoint > & tracking::Tracker_::get_points3D_inner ( )

Definition at line 101 of file tracking.cpp.

std::vector< vpPoint > & tracking::Tracker_::get_points3D_middle ( )

Definition at line 110 of file tracking.cpp.

std::vector< vpPoint > & tracking::Tracker_::get_points3D_outer ( )

Definition at line 105 of file tracking.cpp.

Tracker_::statistics_t & tracking::Tracker_::get_statistics ( )

Definition at line 505 of file tracking.cpp.

template<class T >
const T& tracking::Tracker_::get_tracking_box ( )
const vpRect& tracking::Tracker_::get_tracking_box ( )

Definition at line 136 of file tracking.cpp.

bool tracking::Tracker_::input_selected ( input_ready const &  evt)

Definition at line 140 of file tracking.cpp.

bool tracking::Tracker_::mbt_success ( input_ready const &  evt)

Definition at line 359 of file tracking.cpp.

bool tracking::Tracker_::model_detected ( msm::front::none const &  )

Definition at line 290 of file tracking.cpp.

bool tracking::Tracker_::no_input_selected ( input_ready const &  evt)

Definition at line 145 of file tracking.cpp.

void tracking::Tracker_::set_flush_display ( bool  val)

Definition at line 509 of file tracking.cpp.

void tracking::Tracker_::track_model ( input_ready const &  evt)

Definition at line 454 of file tracking.cpp.

void tracking::Tracker_::updateKltPoints ( visp_tracker::KltPointsPtr  klt)

Definition at line 586 of file tracking.cpp.

void tracking::Tracker_::updateMovingEdgeSites ( visp_tracker::MovingEdgeSitesPtr  sites)

Definition at line 518 of file tracking.cpp.

Member Data Documentation

vpImage<vpRGBa>* tracking::Tracker_::_I

Definition at line 74 of file tracking.h.

vpCameraParameters tracking::Tracker_::cam_

Definition at line 77 of file tracking.h.

CmdLine tracking::Tracker_::cmd

Definition at line 59 of file tracking.h.

vpHomogeneousMatrix tracking::Tracker_::cMo_

Definition at line 75 of file tracking.h.

vpMatrix tracking::Tracker_::covariance_

Definition at line 76 of file tracking.h.

cv::Rect tracking::Tracker_::cvTrackingBox_

Definition at line 86 of file tracking.h.

bool tracking::Tracker_::cvTrackingBox_init_

Definition at line 87 of file tracking.h.

vpDetectorBase* tracking::Tracker_::detector_

Definition at line 66 of file tracking.h.

std::vector<vpPoint> tracking::Tracker_::f_

Definition at line 84 of file tracking.h.

vpImagePoint tracking::Tracker_::flashcode_center_

Definition at line 61 of file tracking.h.

bool tracking::Tracker_::flush_display_

Definition at line 90 of file tracking.h.

hinkley_array_t tracking::Tracker_::hink_

Definition at line 69 of file tracking.h.

vpImage<vpRGBa>* tracking::Tracker_::I_

Definition at line 73 of file tracking.h.

vpImage<unsigned char> tracking::Tracker_::Igray_

Definition at line 78 of file tracking.h.

int tracking::Tracker_::iter_

Definition at line 60 of file tracking.h.

std::vector<vpPoint> tracking::Tracker_::outer_points_3D_bcp_

Definition at line 80 of file tracking.h.

std::vector<vpPoint> tracking::Tracker_::points3D_inner_

Definition at line 81 of file tracking.h.

std::vector<vpPoint> tracking::Tracker_::points3D_middle_

Definition at line 83 of file tracking.h.

std::vector<vpPoint> tracking::Tracker_::points3D_outer_

Definition at line 82 of file tracking.h.

statistics_t tracking::Tracker_::statistics

Definition at line 89 of file tracking.h.

vpMbTracker* tracking::Tracker_::tracker_

Definition at line 71 of file tracking.h.

vpMe tracking::Tracker_::tracker_me_config_

Definition at line 72 of file tracking.h.

std::ofstream tracking::Tracker_::varfile_

Definition at line 62 of file tracking.h.

vpRect tracking::Tracker_::vpTrackingBox_

Definition at line 85 of file tracking.h.

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

Author(s): Filip Novotny
autogenerated on Sat Mar 13 2021 03:20:08