public class VisemeBinding extends Object
| Constructor and Description |
|---|
VisemeBinding(int key)
Creates an empty VisemeBinding for the given key.
|
VisemeBinding(VisemeBindingConfig<VisemePosition> config)
Creates a new VisemeBinding with the given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBindingKey()
Returns the binding key for this VisemeBinding.
|
org.jflux.api.common.rk.position.NormalizedDouble |
getValue(Viseme viseme)
Returns the NormalizedDouble mapped to the given Viseme.
|
Map<Viseme,org.jflux.api.common.rk.position.NormalizedDouble> |
getVisemeValueMap() |
void |
setVisemeValue(Viseme viseme,
org.jflux.api.common.rk.position.NormalizedDouble value)
Sets the NormalizedDouble to be mapped to the given Viseme.
|
public VisemeBinding(int key)
key - binding key for this VisemeBindingpublic VisemeBinding(VisemeBindingConfig<VisemePosition> config)
config - configuration for the VisemeBindingpublic int getBindingKey()
public org.jflux.api.common.rk.position.NormalizedDouble getValue(Viseme viseme)
viseme - Viseme value to retrievepublic void setVisemeValue(Viseme viseme, org.jflux.api.common.rk.position.NormalizedDouble value)
viseme - Viseme to map to the given NormalizedDoublevalue - NormalizedDouble the Viseme should map toCopyright © 2011-2014. All Rights Reserved.