10 #ifndef CSkeletonTracker_H
11 #define CSkeletonTracker_H
51 LEFT_SHOULDER,
LEFT_ELBOW, LEFT_HAND, LEFT_HIP, LEFT_KNEE, LEFT_FOOT,
52 RIGHT_SHOULDER, RIGHT_ELBOW, RIGHT_HAND, RIGHT_HIP, RIGHT_KNEE, RIGHT_FOOT,
NONE};
73 mrpt::gui::CDisplayWindow3DPtr
m_win;
80 void loadConfig_sensorSpecific(
85 void processPreview(
const mrpt::obs::CObservationSkeletonPtr & obs);
86 void processPreviewNone();
#define DEFINE_GENERIC_SENSOR(class_name)
This declaration must be inserted in all CGenericSensor classes definition, within the class declarat...
A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabbe...
A class for grabbing mrpt::obs::CObservationSkeleton from a PrimeSense camera.
unsigned int m_toutCounter
Timeout counter (for internal use only)
mrpt::poses::CPose3D m_sensorPose
Sensor pose.
std::vector< double > m_joint_theta
Joint angles when no skeleton has been detected.
void * m_skeletons_ptr
Opaque pointers to specific NITE data.
int m_nUsers
Number of detected users.
mrpt::system::TTimeStamp m_timeStartTT
std::vector< std::pair< JOINT, JOINT > > m_linesToPlot
Lines between joints.
uint32_t m_timeStartUI
Timestamp management.
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).
This class allows loading and storing values and vectors of different types from a configuration text...
GLsizei const GLchar ** string
uint64_t TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1,...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
unsigned __int32 uint32_t