com.primesense.nite
Enum PoseType

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

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

Provides string names values for all pose type codes.


Enum Constant Summary
CROSSED_HANDS
           
PSI
           
 
Method Summary
static PoseType fromNative(int value)
           
 int toNative()
           
static PoseType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PoseType[] 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

PSI

public static final PoseType PSI

CROSSED_HANDS

public static final PoseType CROSSED_HANDS
Method Detail

values

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

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

valueOf

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