![]() |
NiTE 2.0
|
#include <NiTE.h>
Public Member Functions | |
const BoundingBox & | getBoundingBox () const |
const Point3f & | getCenterOfMass () const |
UserId | getId () const |
const PoseData & | getPose (PoseType type) const |
const Skeleton & | getSkeleton () const |
bool | isLost () const |
bool | isNew () const |
bool | isVisible () const |
Provides the current information available about a specific user
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