NiTE 2.0
Public Member Functions
nite::UserData Class Reference

#include <NiTE.h>

Inheritance diagram for nite::UserData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

const BoundingBoxgetBoundingBox () const
const Point3fgetCenterOfMass () const
UserId getId () const
const PoseDatagetPose (PoseType type) const
const SkeletongetSkeleton () const
bool isLost () const
bool isNew () const
bool isVisible () const

Detailed Description

Provides the current information available about a specific user


Member Function Documentation

const BoundingBox& nite::UserData::getBoundingBox ( ) const [inline]

Get a bounding box (in depth coordinates), surrounding the user in the UserMap

const Point3f& nite::UserData::getCenterOfMass ( ) const [inline]

Get the center of mass of the user (in world coordinates)

UserId nite::UserData::getId ( ) const [inline]

Get the ID of the user. This ID is persistent (i.e., will stay the same int following frames)

const PoseData& nite::UserData::getPose ( PoseType  type) const [inline]

Get all information about a specific pose for this user

const Skeleton& nite::UserData::getSkeleton ( ) const [inline]

Get the full skeleton of this user

bool nite::UserData::isLost ( ) const [inline]

Check if the user is lost. This will happen once, in the first frame in which the user was declared lost. This user will not be provided in consequential frames

bool nite::UserData::isNew ( ) const [inline]

Check if this is the first frame that this user is available.

bool nite::UserData::isVisible ( ) const [inline]

Check if the user is currently visible in the field of view


The documentation for this class was generated from the following file: