|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.robokind.api.speech.viseme.VisemeBinding
public class VisemeBinding
Defines NormalizedDoubles, for each Viseme, to be bound to a key. Used to synchronize movement or visual output with speech.
Constructor Summary | |
---|---|
VisemeBinding(int key)
Creates an empty VisemeBinding for the given key. |
|
VisemeBinding(VisemeBindingConfig<VisemePosition> config)
Creates a new VisemeBinding with the given configuration. |
Method Summary | |
---|---|
int |
getBindingKey()
Returns the binding key for this VisemeBinding. |
org.robokind.api.common.position.NormalizedDouble |
getValue(Viseme viseme)
Returns the NormalizedDouble mapped to the given Viseme. |
Map<Viseme,org.robokind.api.common.position.NormalizedDouble> |
getVisemeValueMap()
|
void |
setVisemeValue(Viseme viseme,
org.robokind.api.common.position.NormalizedDouble value)
Sets the NormalizedDouble to be mapped to the given Viseme. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VisemeBinding(int key)
key
- binding key for this VisemeBindingpublic VisemeBinding(VisemeBindingConfig<VisemePosition> config)
config
- configuration for the VisemeBindingMethod Detail |
---|
public int getBindingKey()
public org.robokind.api.common.position.NormalizedDouble getValue(Viseme viseme)
viseme
- Viseme value to retrieve
public void setVisemeValue(Viseme viseme, org.robokind.api.common.position.NormalizedDouble value)
viseme
- Viseme to map to the given NormalizedDoublevalue
- NormalizedDouble the Viseme should map topublic Map<Viseme,org.robokind.api.common.position.NormalizedDouble> getVisemeValueMap()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |