10 #ifndef CSkeletonTracker_H 11 #define CSkeletonTracker_H 54 #define NUM_JOINTS 15 // number of joints 55 #define NUM_LINES 14 // number of lines joining joints 73 mrpt::gui::CDisplayWindow3DPtr
m_win;
80 void loadConfig_sensorSpecific(
85 void processPreview(
const mrpt::obs::CObservationSkeletonPtr & obs);
86 void processPreviewNone();
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...
void * m_skeletons_ptr
Opaque pointers to specific NITE data.
mrpt::system::TTimeStamp m_timeStartTT
unsigned int m_toutCounter
Timeout counter (for internal use only)
std::vector< std::pair< JOINT, JOINT > > m_linesToPlot
Lines between joints.
int m_nUsers
Number of detected users.
This class allows loading and storing values and vectors of different types from a configuration text...
mrpt::poses::CPose3D m_sensorPose
Sensor pose.
A class for grabbing mrpt::obs::CObservationSkeleton from a PrimeSense camera.
GLsizei const GLchar ** string
#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.
mrpt::gui::CDisplayWindow3DPtr m_win
bool m_showPreview
Preview window management.
void setPreview(const bool setPreview=true)
Set/unset preview.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
unsigned __int32 uint32_t
uint32_t m_timeStartUI
Timestamp management.
std::vector< double > m_joint_theta
Joint angles when no skeleton has been detected.