com.primesense.nite
Enum JointType

java.lang.Object
  extended by java.lang.Enum<JointType>
      extended by com.primesense.nite.JointType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JointType>

public enum JointType
extends java.lang.Enum<JointType>

Provides string names values for all joint type codes.


Enum Constant Summary
HEAD
           
LEFT_ELBOW
           
LEFT_FOOT
           
LEFT_HAND
           
LEFT_HIP
           
LEFT_KNEE
           
LEFT_SHOULDER
           
NECK
           
RIGHT_ELBOW
           
RIGHT_FOOT
           
RIGHT_HAND
           
RIGHT_HIP
           
RIGHT_KNEE
           
RIGHT_SHOULDER
           
TORSO
           
 
Method Summary
static JointType fromNative(int value)
           
 int toNative()
           
static JointType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JointType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HEAD

public static final JointType HEAD

NECK

public static final JointType NECK

LEFT_SHOULDER

public static final JointType LEFT_SHOULDER

RIGHT_SHOULDER

public static final JointType RIGHT_SHOULDER

LEFT_ELBOW

public static final JointType LEFT_ELBOW

RIGHT_ELBOW

public static final JointType RIGHT_ELBOW

LEFT_HAND

public static final JointType LEFT_HAND

RIGHT_HAND

public static final JointType RIGHT_HAND

TORSO

public static final JointType TORSO

LEFT_HIP

public static final JointType LEFT_HIP

RIGHT_HIP

public static final JointType RIGHT_HIP

LEFT_KNEE

public static final JointType LEFT_KNEE

RIGHT_KNEE

public static final JointType RIGHT_KNEE

LEFT_FOOT

public static final JointType LEFT_FOOT

RIGHT_FOOT

public static final JointType RIGHT_FOOT
Method Detail

values

public static JointType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (JointType c : JointType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JointType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toNative

public int toNative()

fromNative

public static JointType fromNative(int value)