public class Skeletons
extends java.lang.Object
| Constructor and Description |
|---|
Skeletons(org.OpenNI.UserGenerator userGen,
org.OpenNI.DepthGenerator depthGen,
TrackerPanel trackerPanel)
Instantiates a new skeletons.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearSequences()
Clear sequences.
|
void |
draw(java.awt.Graphics2D g2d)
Draw.
|
java.lang.String |
getCalibPoseName()
Gets the calib pose name.
|
PoseSequences |
getGestSeqs()
Gets the gest seqs.
|
org.OpenNI.PoseDetectionCapability |
getPoseDetectionCap()
Gets the pose detection cap.
|
org.OpenNI.SkeletonCapability |
getSkelCap()
Gets the skel cap.
|
Poses |
getSkelsGests()
Gets the skels gests.
|
void |
setCalibPoseName(java.lang.String calibPoseName)
Sets the calib pose name.
|
void |
setGestSeqs(PoseSequences gestSeqs)
Sets the gest seqs.
|
void |
setPoseDetectionCap(org.OpenNI.PoseDetectionCapability poseDetectionCap)
Sets the pose detection cap.
|
void |
setSkelCap(org.OpenNI.SkeletonCapability skelCap)
Sets the skel cap.
|
void |
setSkelsGests(Poses skelsGests)
Sets the skels gests.
|
void |
update()
Update.
|
public Skeletons(org.OpenNI.UserGenerator userGen,
org.OpenNI.DepthGenerator depthGen,
TrackerPanel trackerPanel)
userGen - the user gendepthGen - the depth gentrackerPanel - the tracker panelpublic void clearSequences()
public void draw(java.awt.Graphics2D g2d)
g2d - the g2dpublic java.lang.String getCalibPoseName()
public PoseSequences getGestSeqs()
public org.OpenNI.PoseDetectionCapability getPoseDetectionCap()
public org.OpenNI.SkeletonCapability getSkelCap()
public Poses getSkelsGests()
public void setCalibPoseName(java.lang.String calibPoseName)
calibPoseName - the new calib pose namepublic void setGestSeqs(PoseSequences gestSeqs)
gestSeqs - the new gest seqspublic void setPoseDetectionCap(org.OpenNI.PoseDetectionCapability poseDetectionCap)
poseDetectionCap - the new pose detection cappublic void setSkelCap(org.OpenNI.SkeletonCapability skelCap)
skelCap - the new skel cappublic void setSkelsGests(Poses skelsGests)
skelsGests - the new skels gestspublic void update()