10 #ifndef CSkeletonTracker_H
11 #define CSkeletonTracker_H
52 RIGHT_SHOULDER, RIGHT_ELBOW, RIGHT_HAND, RIGHT_HIP, RIGHT_KNEE, RIGHT_FOOT, NONE};
54 #define NUM_JOINTS 15 // number of joints
55 #define NUM_LINES 14 // number of lines joining joints
61 void * m_skeletons_ptr;
62 void * m_userTracker_ptr;
65 uint32_t m_timeStartUI;
68 mrpt::poses::CPose3D m_sensorPose;
73 mrpt::gui::CDisplayWindow3DPtr m_win;
75 std::vector<
double> m_joint_theta;
77 unsigned int m_toutCounter;
80 void loadConfig_sensorSpecific(
81 const
mrpt::utils::CConfigFileBase & configSource,
82 const
std::
string & iniSection );
85 void processPreview(const
mrpt::obs::CObservationSkeletonPtr & obs);
86 void processPreviewNone();
95 virtual ~CSkeletonTracker();
106 inline
void setPreview( const
bool setPreview = true ) { m_showPreview =
setPreview; }
A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabbe...
uint64_t TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1...
A class for grabbing mrpt::obs::CObservationSkeleton from a PrimeSense camera.
#define DEFINE_GENERIC_SENSOR(class_name)
This declaration must be inserted in all CGenericSensor classes definition, within the class declarat...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
void setPreview(const bool setPreview=true)
Set/unset preview.