public class DTrackHuman
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
DTrackHuman(int id)
Constructor for not tracked human model.
|
protected |
DTrackHuman(int id,
DTrackJoint[] joint)
Constructor for tracked human model.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Returns ID number.
|
DTrackJoint[] |
getJoint()
Returns all joint data.
|
DTrackJoint |
getJoint(int index)
Returns a joint data at a specific index.
|
int |
getNumJoint()
Returns number of joints.
|
boolean |
isTracked()
Returns if human is currently tracked.
|
protected void |
setNotTracked()
Set to 'not tracked'.
|
protected DTrackHuman(int id)
id - ID number (starting with 0)protected DTrackHuman(int id,
DTrackJoint[] joint)
id - ID number (starting with 0)joint - Location and orientation of the jointspublic int getId()
public boolean isTracked()
public int getNumJoint()
public DTrackJoint[] getJoint()
DTrackJointpublic DTrackJoint getJoint(int index)
index - Index of the jointDTrackJointprotected void setNotTracked()