com.primesense.nite
Enum SkeletonState

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

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

Provides string names values for all pixel format type codes.


Enum Constant Summary
CALIBRATING
           
CALIBRATION_ERROR_HANDS
           
CALIBRATION_ERROR_HEAD
           
CALIBRATION_ERROR_LEGS
           
CALIBRATION_ERROR_NOT_IN_POSE
           
CALIBRATION_ERROR_TORSO
           
NONE
           
TRACKED
           
 
Method Summary
static SkeletonState fromNative(int value)
           
 int toNative()
           
static SkeletonState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SkeletonState[] 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

NONE

public static final SkeletonState NONE

CALIBRATING

public static final SkeletonState CALIBRATING

TRACKED

public static final SkeletonState TRACKED

CALIBRATION_ERROR_NOT_IN_POSE

public static final SkeletonState CALIBRATION_ERROR_NOT_IN_POSE

CALIBRATION_ERROR_HANDS

public static final SkeletonState CALIBRATION_ERROR_HANDS

CALIBRATION_ERROR_HEAD

public static final SkeletonState CALIBRATION_ERROR_HEAD

CALIBRATION_ERROR_LEGS

public static final SkeletonState CALIBRATION_ERROR_LEGS

CALIBRATION_ERROR_TORSO

public static final SkeletonState CALIBRATION_ERROR_TORSO
Method Detail

values

public static SkeletonState[] 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 (SkeletonState c : SkeletonState.values())
    System.out.println(c);

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

valueOf

public static SkeletonState 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 SkeletonState fromNative(int value)