|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.primesense.nite.UserData
public class UserData
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.
UserTracker
,
Skeleton
,
UserMap
Method Summary | |
---|---|
BoundingBox |
getBoundingBox()
Get a bounding box around the user. |
Point3D<java.lang.Float> |
getCenterOfMass()
Find the geometric center of mass of the user. |
short |
getId()
Get the ID of the user. |
PoseData[] |
getPoses()
Get all information about a specific pose for this user. |
PoseData |
getPoses(PoseType type)
Get all information about a specific pose for this user. |
Skeleton |
getSkeleton()
Get the full skeleton of this user. |
boolean |
isLost()
Check if the user is lost. |
boolean |
isNew()
Checks whether this user has been newly detected. |
boolean |
isVisible()
Check if the user is currently visible in the field of view. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public short getId()
public BoundingBox getBoundingBox()
BoundingBox
that surrounds the user in the UserMap
.public Point3D<java.lang.Float> getCenterOfMass()
Point3D
indicating position in space of the user.public boolean isNew()
public boolean isVisible()
public boolean isLost()
public Skeleton getSkeleton()
Skeleton
of the user.UserTracker
public PoseData[] getPoses()
PoseType
specified.
PoseData
values.public PoseData getPoses(PoseType type)
PoseType
specified.
PoseData
for this user.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |