Main MRPT website > C++ reference for MRPT 1.5.7
Macros | Variables
CSkeletonTracker.cpp File Reference
#include "hwdrivers-precomp.h"
#include <mrpt/system/threads.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>
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 38 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 49 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.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019