Main MRPT website > C++ reference for MRPT 1.9.9
Macros | Variables
CSkeletonTracker.cpp File Reference
#include "hwdrivers-precomp.h"
#include <mrpt/hwdrivers/CSkeletonTracker.h>
#include <mrpt/opengl/CSphere.h>
#include <mrpt/opengl/CSimpleLine.h>
#include <mrpt/opengl/C3DSScene.h>
#include <mrpt/opengl/CGridPlaneXZ.h>
#include <mrpt/opengl/CSetOfLines.h>
#include <mrpt/opengl/CBox.h>
#include <mrpt/opengl/CText.h>
#include <mrpt/opengl/CCylinder.h>
#include <mrpt/opengl/CTexturedPlane.h>
#include <mrpt/opengl/stock_objects.h>

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 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019