![]() |
NiTE 2.0
|
#include <NiTE.h>
Public Member Functions | |
HandId | getId () const |
const Point3f & | getPosition () const |
bool | isLost () const |
bool | isNew () const |
bool | isTouchingFov () const |
bool | isTracking () const |
This class stores data on a single hand during a single frame of hand detection by the .
It can be used to find out where the hand is in space, the hand's ID, and the tracking status.
All positions are given in "real world" coordinates. See the OpenNI 2.0 documentation for more information on the coordinate systems used by OpenNI/NiTE.
HandId nite::HandData::getId | ( | ) | const [inline] |
Get the ID of the hand referred to by this data.
const Point3f& nite::HandData::getPosition | ( | ) | const [inline] |
Get the position in space of the hand during this frame.
bool nite::HandData::isLost | ( | ) | const [inline] |
Indicates whether the hand tracking algorithm has lost track of the hand. This can happen, for example, if the hand leaves the field of view of the sensor or becomes occluded.
bool nite::HandData::isNew | ( | ) | const [inline] |
Indicates if the hand referred to by this object is newly tracked.
bool nite::HandData::isTouchingFov | ( | ) | const [inline] |
Indicates whether the hand is at the edge of the sensor field of view.
bool nite::HandData::isTracking | ( | ) | const [inline] |
Indicates whether this hand is being actively tracked.