![]() |
NiTE 2.0
|
#include <NiTE.h>
Public Member Functions | |
const Point3f & | getCurrentPosition () const |
GestureType | getType () const |
bool | isComplete () const |
bool | isInProgress () const |
This class stores data on a gesture that is being detected. "Gestures" in this context indicate gestures detected directly from the depthmap, so there are no handpoint ID's at this stage. Objects of this class store the data for a specific instance of a specific gesture.
The type, position in space, and completion status of the gesture can all be tracked.
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.
const Point3f& nite::GestureData::getCurrentPosition | ( | ) | const [inline] |
This function provides the position in space of the projected gesture, using "real world" coordinates.
GestureType nite::GestureData::getType | ( | ) | const [inline] |
This function is used to find out what type of gesture that this object is storing detection data for.
bool nite::GestureData::isComplete | ( | ) | const [inline] |
This function indicates whether the complete gesture has been detected yet.
bool nite::GestureData::isInProgress | ( | ) | const [inline] |
This function indicates whether a non-completed gesture has been detected. This can be useful for providing user feedback during the gesture.