Public Types | Public Member Functions | Protected Attributes

ProjectedTrackerGUI< tracker_type > Class Template Reference

List of all members.

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

Detailed Description

template<class tracker_type>
class ProjectedTrackerGUI< tracker_type >

A basic class for visualising tracking results in the image plane.


Member Typedef Documentation

template<class tracker_type >
typedef mesh_type::const_face_iterator ProjectedTrackerGUI< tracker_type >::const_face_iterator
template<class tracker_type >
typedef tracker_type::state_type ProjectedTrackerGUI< tracker_type >::state_type

Constructor & Destructor Documentation

template<class tracker_type >
ProjectedTrackerGUI< tracker_type >::ProjectedTrackerGUI ( const std::string  _window,
const options opts,
const bool  _playback 
) [inline]
template<class tracker_type >
ProjectedTrackerGUI< tracker_type >::~ProjectedTrackerGUI (  )  [inline]

Member Function Documentation

template<class tracker_type >
void ProjectedTrackerGUI< tracker_type >::draw_cylinder_pose ( const state_type pose  )  [inline]
template<class tracker_type >
void ProjectedTrackerGUI< tracker_type >::draw_mesh_pose ( const state_type pose  )  [inline]
template<class tracker_type >
void ProjectedTrackerGUI< tracker_type >::draw_pose ( const state_type pose  )  [inline]
template<class tracker_type >
bool ProjectedTrackerGUI< tracker_type >::is_front_facing ( const_face_iterator f,
const vector3 origin 
) [inline]
template<class tracker_type >
bool ProjectedTrackerGUI< tracker_type >::refresh (  )  [inline]
template<class tracker_type >
void ProjectedTrackerGUI< tracker_type >::run (  )  [inline]
template<class tracker_type >
void ProjectedTrackerGUI< tracker_type >::show (  )  [inline]

Member Data Documentation

template<class tracker_type >
calibration ProjectedTrackerGUI< tracker_type >::calib [protected]
template<class tracker_type >
CvMat * ProjectedTrackerGUI< tracker_type >::camera_matrix [protected]
template<class tracker_type >
int ProjectedTrackerGUI< tracker_type >::first_frame [protected]
template<class tracker_type >
int ProjectedTrackerGUI< tracker_type >::frame [protected]
template<class tracker_type >
IplImage* ProjectedTrackerGUI< tracker_type >::im [protected]
template<class tracker_type >
CvMat * ProjectedTrackerGUI< tracker_type >::image_points [protected]
template<class tracker_type >
const std::string ProjectedTrackerGUI< tracker_type >::left_image_template [protected]
template<class tracker_type >
const int ProjectedTrackerGUI< tracker_type >::num_faces [protected]
template<class tracker_type >
CvMat* ProjectedTrackerGUI< tracker_type >::object_points [protected]
template<class tracker_type >
const bool ProjectedTrackerGUI< tracker_type >::playback [protected]
template<class tracker_type >
CvMat * ProjectedTrackerGUI< tracker_type >::rot_vec [protected]
template<class tracker_type >
IplImage * ProjectedTrackerGUI< tracker_type >::scaled [protected]
template<class tracker_type >
tracker_type ProjectedTrackerGUI< tracker_type >::track [protected]
template<class tracker_type >
CvMat * ProjectedTrackerGUI< tracker_type >::trans_vec [protected]
template<class tracker_type >
const std::string ProjectedTrackerGUI< tracker_type >::window [protected]

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