9#ifndef CObservationSkeleton_H
10#define CObservationSkeleton_H
40 head(), neck(), torso(),
41 left_shoulder(), left_elbow(), left_hand(), left_hip(), left_knee(), left_foot(),
42 right_shoulder(), right_elbow(), right_hand(), right_hip(), right_knee(), right_foot()
68 left_shoulder,
left_elbow, left_hand, left_hip, left_knee, left_foot,
69 right_shoulder,
right_elbow, right_hand, right_hip, right_knee, right_foot;
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
Declares a class that represents any robot's observation.
This class stores a skeleton as tracked by OPENNI2 & NITE2 libraries from PrimeSense sensors.
TSkeletonJoint head
The skeleton joints (15)
TSkeletonJoint left_elbow
void getDescriptionAsText(std::ostream &o) const MRPT_OVERRIDE
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...
void setSensorPose(const mrpt::poses::CPose3D &newSensorPose) MRPT_OVERRIDE
A general method to change the sensor pose on the robot.
CObservationSkeleton()
Constructor.
TSkeletonJoint right_elbow
void getSensorPose(mrpt::poses::CPose3D &out_sensorPose) const MRPT_OVERRIDE
A general method to retrieve the sensor pose on the robot.
virtual ~CObservationSkeleton()
Destructor.
mrpt::poses::CPose3D sensorPose
The pose of the sensor on the robot.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A generic joint for the skeleton observation.
TSkeletonJoint()
Default constructor.
double conf
Confidence value [0...1].