#include <TrackerThread.h>
Public Member Functions | |
int | addModelFromFile (const char *ply_file, TomGine::tgPose &pose, std::string label, bool bfc=true) |
void | init (const Tracking::Tracker::Parameter ¶ms) |
TrackerThread () | |
~TrackerThread () | |
Private Types | |
enum | Command { INIT, TRACK, ADD_MODEL_FROM_FILE, IDLE } |
Private Member Functions | |
virtual BOOL | OnTask () |
Private Attributes | |
Command | cmd |
bool | m_bfc |
CEventClass | m_evCmd |
CEventClass | m_evData |
int | m_model_id |
std::string | m_model_label |
Tracking::Tracker::Parameter | m_params |
std::string | m_ply_file |
TomGine::tgPose | m_pose |
bool | m_quit |
CMutexClass | m_running |
std::string | m_tracking_ini |
Definition at line 13 of file TrackerThread.h.
enum Tracking::TrackerThread::Command [private] |
Definition at line 16 of file TrackerThread.h.
Definition at line 11 of file TrackerThread.cpp.
Definition at line 19 of file TrackerThread.cpp.
int TrackerThread::addModelFromFile | ( | const char * | ply_file, |
TomGine::tgPose & | pose, | ||
std::string | label, | ||
bool | bfc = true |
||
) |
Definition at line 41 of file TrackerThread.cpp.
void TrackerThread::init | ( | const Tracking::Tracker::Parameter & | params | ) |
Definition at line 31 of file TrackerThread.cpp.
BOOL TrackerThread::OnTask | ( | ) | [private, virtual] |
OnTask overloaded implementation of OnTask that takes no arguments
Reimplemented from CThread.
Definition at line 62 of file TrackerThread.cpp.
Command Tracking::TrackerThread::cmd [private] |
Definition at line 22 of file TrackerThread.h.
bool Tracking::TrackerThread::m_bfc [private] |
Definition at line 31 of file TrackerThread.h.
CEventClass Tracking::TrackerThread::m_evCmd [private] |
Definition at line 27 of file TrackerThread.h.
CEventClass Tracking::TrackerThread::m_evData [private] |
Definition at line 27 of file TrackerThread.h.
int Tracking::TrackerThread::m_model_id [private] |
Definition at line 37 of file TrackerThread.h.
std::string Tracking::TrackerThread::m_model_label [private] |
Definition at line 36 of file TrackerThread.h.
Definition at line 33 of file TrackerThread.h.
std::string Tracking::TrackerThread::m_ply_file [private] |
Definition at line 35 of file TrackerThread.h.
Definition at line 38 of file TrackerThread.h.
bool Tracking::TrackerThread::m_quit [private] |
Definition at line 30 of file TrackerThread.h.
Definition at line 28 of file TrackerThread.h.
std::string Tracking::TrackerThread::m_tracking_ini [private] |
Definition at line 34 of file TrackerThread.h.