00001 /* 00002 * ViconBridge.h 00003 * 00004 * Created on: Oct 17, 2011 00005 * Author: mriedel 00006 */ 00007 00008 #ifndef VICONTRACKER_H_ 00009 #define VICONTRACKER_H_ 00010 00011 #include <telekyb_defines/telekyb_defines.hpp> 00012 #include <telekyb_vicon/ViconSubject.hpp> 00013 00014 // stl 00015 #include <vector> 00016 00017 // Constant Bridge 00018 #include <telekyb_vicon/ViconBridge.hpp> 00019 00020 // Single Options 00021 #include <telekyb_vicon/ViconTrackerOptions.hpp> 00022 00023 00024 00025 namespace TELEKYB_NAMESPACE 00026 { 00027 00028 00029 class ViconTracker { 00030 protected: 00031 // Options 00032 ViconTrackerOptions& options; 00033 00034 // Subjects 00035 std::vector<ViconSubject> subjects; 00036 00037 // current Frame number 00038 unsigned int totalFrameCount; 00039 unsigned int totalDroppedFrameCount; 00040 00041 public: 00042 ViconTracker(); 00043 virtual ~ViconTracker(); 00044 00045 void init(); 00046 void spin(); 00047 00048 }; 00049 00050 } 00051 00052 #endif /* VICONTRACKER_H_ */