Public Types | |
typedef tracker_type::state_type | state_type |
typedef mesh_type::const_face_iterator | const_face_iterator |
Public Member Functions | |
ProjectedTrackerGUI (const std::string _window, const options &opts, const bool _playback) | |
~ProjectedTrackerGUI () | |
void | draw_pose (const state_type &pose) |
void | draw_cylinder_pose (const state_type &pose) |
bool | is_front_facing (const_face_iterator &f, const vector3 &origin) |
void | draw_mesh_pose (const state_type &pose) |
void | show () |
void | run () |
bool | refresh () |
Protected Attributes | |
const std::string | window |
const std::string | left_image_template |
calibration | calib |
tracker_type | track |
const bool | playback |
IplImage * | im |
IplImage * | scaled |
int | frame |
int | first_frame |
CvMat * | object_points |
CvMat * | rot_vec |
CvMat * | trans_vec |
CvMat * | camera_matrix |
CvMat * | image_points |
const int | num_faces |
A basic class for visualising tracking results in the image plane.
typedef mesh_type::const_face_iterator ProjectedTrackerGUI< tracker_type >::const_face_iterator |
typedef tracker_type::state_type ProjectedTrackerGUI< tracker_type >::state_type |
ProjectedTrackerGUI< tracker_type >::ProjectedTrackerGUI | ( | const std::string | _window, | |
const options & | opts, | |||
const bool | _playback | |||
) | [inline] |
ProjectedTrackerGUI< tracker_type >::~ProjectedTrackerGUI | ( | ) | [inline] |
void ProjectedTrackerGUI< tracker_type >::draw_cylinder_pose | ( | const state_type & | pose | ) | [inline] |
void ProjectedTrackerGUI< tracker_type >::draw_mesh_pose | ( | const state_type & | pose | ) | [inline] |
void ProjectedTrackerGUI< tracker_type >::draw_pose | ( | const state_type & | pose | ) | [inline] |
bool ProjectedTrackerGUI< tracker_type >::is_front_facing | ( | const_face_iterator & | f, | |
const vector3 & | origin | |||
) | [inline] |
bool ProjectedTrackerGUI< tracker_type >::refresh | ( | ) | [inline] |
void ProjectedTrackerGUI< tracker_type >::run | ( | ) | [inline] |
void ProjectedTrackerGUI< tracker_type >::show | ( | ) | [inline] |
calibration ProjectedTrackerGUI< tracker_type >::calib [protected] |
CvMat * ProjectedTrackerGUI< tracker_type >::camera_matrix [protected] |
int ProjectedTrackerGUI< tracker_type >::first_frame [protected] |
int ProjectedTrackerGUI< tracker_type >::frame [protected] |
IplImage* ProjectedTrackerGUI< tracker_type >::im [protected] |
CvMat * ProjectedTrackerGUI< tracker_type >::image_points [protected] |
const std::string ProjectedTrackerGUI< tracker_type >::left_image_template [protected] |
const int ProjectedTrackerGUI< tracker_type >::num_faces [protected] |
CvMat* ProjectedTrackerGUI< tracker_type >::object_points [protected] |
const bool ProjectedTrackerGUI< tracker_type >::playback [protected] |
CvMat * ProjectedTrackerGUI< tracker_type >::rot_vec [protected] |
IplImage * ProjectedTrackerGUI< tracker_type >::scaled [protected] |
tracker_type ProjectedTrackerGUI< tracker_type >::track [protected] |
CvMat * ProjectedTrackerGUI< tracker_type >::trans_vec [protected] |
const std::string ProjectedTrackerGUI< tracker_type >::window [protected] |