org.robokind.api.speech.viseme
Enum Viseme

java.lang.Object
  extended by java.lang.Enum<Viseme>
      extended by org.robokind.api.speech.viseme.Viseme
All Implemented Interfaces:
Serializable, Comparable<Viseme>

public enum Viseme
extends Enum<Viseme>

Author:
Matthew Stevenson

Enum Constant Summary
VIS_00_SILENCE
           
VIS_01_AE_AX_AH
           
VIS_02_AA
           
VIS_03_AO
           
VIS_04_EY_EH_UH
           
VIS_05_ER
           
VIS_06_Y_IY_IH_IX
           
VIS_07_W_UW
           
VIS_08_OW
           
VIS_09_AW
           
VIS_10_OY
           
VIS_11_AY
           
VIS_12_H
           
VIS_13_R
           
VIS_14_L
           
VIS_15_S_Z
           
VIS_16_SH_CH_JH_ZH
           
VIS_17_TH_DH
           
VIS_18_F_V
           
VIS_19_D_T_N
           
VIS_20_K_G_NG
           
VIS_21_P_B_M
           
 
Method Summary
static Viseme getById(int visemeId)
          Returns the Viseme with the given Id.
 int getVisemeId()
          Returns the id of this Viseme.
static Viseme valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Viseme[] 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

VIS_00_SILENCE

public static final Viseme VIS_00_SILENCE

VIS_01_AE_AX_AH

public static final Viseme VIS_01_AE_AX_AH

VIS_02_AA

public static final Viseme VIS_02_AA

VIS_03_AO

public static final Viseme VIS_03_AO

VIS_04_EY_EH_UH

public static final Viseme VIS_04_EY_EH_UH

VIS_05_ER

public static final Viseme VIS_05_ER

VIS_06_Y_IY_IH_IX

public static final Viseme VIS_06_Y_IY_IH_IX

VIS_07_W_UW

public static final Viseme VIS_07_W_UW

VIS_08_OW

public static final Viseme VIS_08_OW

VIS_09_AW

public static final Viseme VIS_09_AW

VIS_10_OY

public static final Viseme VIS_10_OY

VIS_11_AY

public static final Viseme VIS_11_AY

VIS_12_H

public static final Viseme VIS_12_H

VIS_13_R

public static final Viseme VIS_13_R

VIS_14_L

public static final Viseme VIS_14_L

VIS_15_S_Z

public static final Viseme VIS_15_S_Z

VIS_16_SH_CH_JH_ZH

public static final Viseme VIS_16_SH_CH_JH_ZH

VIS_17_TH_DH

public static final Viseme VIS_17_TH_DH

VIS_18_F_V

public static final Viseme VIS_18_F_V

VIS_19_D_T_N

public static final Viseme VIS_19_D_T_N

VIS_20_K_G_NG

public static final Viseme VIS_20_K_G_NG

VIS_21_P_B_M

public static final Viseme VIS_21_P_B_M
Method Detail

values

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

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

valueOf

public static Viseme valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getById

public static Viseme getById(int visemeId)
Returns the Viseme with the given Id.

Parameters:
visemeId - Viseme to retrieve
Returns:
Viseme with the given Id

getVisemeId

public int getVisemeId()
Returns the id of this Viseme.

Returns:
id of this Viseme


Copyright © 2011-2013. All Rights Reserved.