|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.primesense.nite.UserTrackerFrameRef
public class UserTrackerFrameRef
This class stores a snapshot of a single frame of output from the UserTracker algorithm. This frame will correspond to a single input depth frame. It holds all info on users, as well as information on the floor plane.
UserData
,
Skeleton
,
UserMap
,
UserTracker
,
HandTrackerFrameRef
Method Summary | |
---|---|
protected void |
finalize()
|
org.openni.VideoFrameRef |
getDepthFrame()
Get the raw depth frame that originated this output. |
float |
getFloorConfidence()
NiTE generates a confidence value between 0 and 1 for the floor plane calculation. |
int |
getFrameIndex()
Gets the frame index of the raw depth frame that generated this UserTracker frame. |
Plane |
getPlane()
|
long |
getTimestamp()
Get the timestamp in which this frame was processed. |
UserData |
getUserById(short id)
Provides access to the UserData object for a specific user, indexed by UserId. |
UserMap |
getUserMap()
Get the segmentation of the scene. |
java.util.List<UserData> |
getUsers()
Get an List of all the users available in this frame. |
void |
release()
Properly releases all resources used by this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void release()
public float getFloorConfidence()
public Plane getPlane()
public org.openni.VideoFrameRef getDepthFrame()
public UserMap getUserMap()
UserMap
showing which pixels are occupied by what users.public int getFrameIndex()
public long getTimestamp()
public java.util.List<UserData> getUsers()
UserData
with one entry for each user in this frame.public UserData getUserById(short id)
UserData
object for a specific user, indexed by UserId.
id
- The ID of the user you would like data from.
UserData
object.UserData
,
UserMap
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |