MRPT  2.0.4
Macros | Variables
CSkeletonTracker.cpp File Reference
#include "hwdrivers-precomp.h"
#include <mrpt/hwdrivers/CSkeletonTracker.h>
#include <mrpt/opengl/CBox.h>
#include <mrpt/opengl/CCylinder.h>
#include <mrpt/opengl/CGridPlaneXZ.h>
#include <mrpt/opengl/CSetOfLines.h>
#include <mrpt/opengl/CSimpleLine.h>
#include <mrpt/opengl/CSphere.h>
#include <mrpt/opengl/CText.h>
#include <mrpt/opengl/CTexturedPlane.h>
#include <mrpt/opengl/stock_objects.h>
#include <mrpt/poses/CPoint3D.h>
Include dependency graph for CSkeletonTracker.cpp:

Go to the source code of this file.

Macros

#define skl_states   (static_cast<nite::SkeletonState*>(m_skeletons_ptr))
 
#define user_tracker   (static_cast<nite::UserTracker*>(m_userTracker_ptr))
 
#define MAX_USERS   10
 
#define FILL_JOINT_DATA(_J1, _J2)
 

Variables

string jointNames []
 

Macro Definition Documentation

◆ FILL_JOINT_DATA

#define FILL_JOINT_DATA (   _J1,
  _J2 
)
Value:
obs->_J1.x = user.getSkeleton().getJoint(_J2).getPosition().x; \
obs->_J1.y = user.getSkeleton().getJoint(_J2).getPosition().y; \
obs->_J1.z = user.getSkeleton().getJoint(_J2).getPosition().z; \
obs->_J1.conf = user.getSkeleton().getJoint(_J2).getPositionConfidence();

Definition at line 37 of file CSkeletonTracker.cpp.

Referenced by mrpt::hwdrivers::CSkeletonTracker::doProcess().

◆ MAX_USERS

#define MAX_USERS   10

◆ skl_states

#define skl_states   (static_cast<nite::SkeletonState*>(m_skeletons_ptr))

◆ user_tracker

#define user_tracker   (static_cast<nite::UserTracker*>(m_userTracker_ptr))

Variable Documentation

◆ jointNames

string jointNames[]
Initial value:
= {
"head", "neck", "torso", "left_shoulder", "left_elbow",
"left_hand", "left_hip", "left_knee", "left_foot", "right_shoulder",
"right_elbow", "right_hand", "right_hip", "right_knee", "right_foot"}

Definition at line 48 of file CSkeletonTracker.cpp.

Referenced by mrpt::hwdrivers::CSkeletonTracker::processPreview(), and mrpt::hwdrivers::CSkeletonTracker::processPreviewNone().




Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020