10 #ifndef CSkeletonTracker_H 11 #define CSkeletonTracker_H 70 #define NUM_JOINTS 15 // number of joints 71 #define NUM_LINES 14 // number of lines joining joints A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabbe...
void doProcess()
This method will be invoked at a minimum rate of "process_rate" (Hz)
void * m_skeletons_ptr
Opaque pointers to specific NITE data.
virtual ~CSkeletonTracker()
Destructor.
mrpt::system::TTimeStamp m_timeStartTT
void loadConfig_sensorSpecific(const mrpt::config::CConfigFileBase &configSource, const std::string &iniSection)
See the class documentation at the top for expected parameters.
unsigned int m_toutCounter
Timeout counter (for internal use only)
Contains classes for various device interfaces.
int m_nUsers
Number of detected users.
mrpt::poses::CPose3D m_sensorPose
Sensor pose.
void processPreview(const mrpt::obs::CObservationSkeleton::Ptr &obs)
Displays real-time info for the captured skeleton.
mrpt::Clock::time_point TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1...
This class allows loading and storing values and vectors of different types from a configuration text...
A class for grabbing mrpt::obs::CObservationSkeleton from a PrimeSense camera.
void initialize()
Connects to the PrimeSense camera and prepares it to get skeleton data.
std::vector< std::pair< JOINT, JOINT > > m_linesToPlot
Lines between joints.
void processPreviewNone()
GLsizei const GLchar ** string
CSkeletonTracker()
Constructor.
#define DEFINE_GENERIC_SENSOR(class_name)
This declaration must be inserted in all CGenericSensor classes definition, within the class declarat...
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.
mrpt::gui::CDisplayWindow3D::Ptr m_win
std::vector< double > m_joint_theta
Joint angles when no skeleton has been detected.