![]() |
NiTE 2.0
|
#include <NiTE.h>
Public Member Functions | |
PoseType | getType () const |
bool | isEntered () const |
bool | isExited () const |
bool | isHeld () const |
This class wraps the output from the NiTE Pose Detection algorithms.
NiTE provides the ability for applications to detect whether a user is in a specific pose. This is most commonly used for skeleton calibration. The algorithm passes through a number of different states during the process of Pose Detection.
For each user being analyzed, this class stores the pose being detected and the state of that detection.
PoseType nite::PoseData::getType | ( | ) | const [inline] |
Get the type of this pose.
bool nite::PoseData::isEntered | ( | ) | const [inline] |
Checks whether this is the first frame in which the user has assumed the pose indicated by PoseData::getType()
bool nite::PoseData::isExited | ( | ) | const [inline] |
Check if the user has exited the pose in this frame.
bool nite::PoseData::isHeld | ( | ) | const [inline] |
Checks if the user is currently in the pose indicated by the PoseData::getType() function.