|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 detected by the UserTracker.
Note that some data is provided in depth ("projective") coordinates, and other data is provided in world ("real world") coordinates. See the OpenNI 2.0 documentation for information on the two coordinate systems used and how to convert between them.
Member Function Documentation
|const BoundingBox& nite::UserData::getBoundingBox||(||)|| const
|const Point3f& nite::UserData::getCenterOfMass||(||)|| const
Find the geometric center of mass of the user. This value is given in "real world" coordinates, so it must be converted before being superimposed over a raw depthmap. It is suitable for direct use with skeleton and hand point output.
- Point3f indicating position in space of the user.
|UserId nite::UserData::getId||(||)|| const
Get the ID of the user. This ID is persistent -- it will not change as long as the user is being continuously tracked.
- UserId of the user being tracked.
Get all information about a specific pose for this user. This will only be available if pose detection is enabled on this user for the PoseType specified.
[in] @ref PoseType to retrieve data for.
- PoseData for this pose type and this user.
- See also:
- UserTracker for moreinformation on enabling Pose detected.
|const Skeleton& nite::UserData::getSkeleton||(||)|| const
|bool nite::UserData::isLost||(||)|| const
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 future frames, and his UserId may be assigned to a new user that appears in view.
- True if the user is no longer being tracked, False otherwise.
|bool nite::UserData::isNew||(||)|| const
Checks whether this user has been newly detected.
- True if this is the first frame this user appears in, False otherwise.
|bool nite::UserData::isVisible||(||)|| const
Check if the user is currently visible in the field of view.
- True if the user is visible and detected, false otherwise.
The documentation for this class was generated from the following file:
Generated on Thu Jun 6 2013 17:48:15 for NiTE 2.0 by 18.104.22.168