hmi.faceanimation.converters
Class EmotionConverter
java.lang.Object
hmi.faceanimation.converters.EmotionConverter
public class EmotionConverter
- extends Object
|
Method Summary |
MPEG4Configuration |
convert(float angle,
float activation)
|
private EmotionConverter.Category |
convertDetermineCategory(float angle)
|
private EmotionConverter.Profile |
convertInBetween(float angle,
float activation)
|
private EmotionConverter.Profile |
convertSimilar(float angle,
float activation)
|
int |
getNumProfiles(EmotionConverter.AE ae)
|
int |
getPreferredProfile(EmotionConverter.AE ae)
|
private void |
loadRanges(Resources r,
String filename)
|
private EmotionConverter.Range |
mergeRanges(FAP key,
EmotionConverter.Profile profileOut,
EmotionConverter.Range rangePrimary,
EmotionConverter.Range rangeSecondary,
float angleRatioPrimary,
float angleRatioSecondary)
|
void |
setPreferredProfile(EmotionConverter.AE ae,
int preferredProfile)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static org.slf4j.Logger logger
profiles
HashMap<EmotionConverter.AE,ArrayList<EmotionConverter.Profile>> profiles
preferredProfiles
HashMap<EmotionConverter.AE,Integer> preferredProfiles
fapsEverUsed
private ArrayList<FAP> fapsEverUsed
aeWidth
private float aeWidth
primaryAE
private EmotionConverter.AE primaryAE
secondaryAE
private EmotionConverter.AE secondaryAE
EmotionConverter
public EmotionConverter()
EmotionConverter
public EmotionConverter(Resources r,
String filename)
getNumProfiles
public int getNumProfiles(EmotionConverter.AE ae)
setPreferredProfile
public void setPreferredProfile(EmotionConverter.AE ae,
int preferredProfile)
getPreferredProfile
public int getPreferredProfile(EmotionConverter.AE ae)
convert
public MPEG4Configuration convert(float angle,
float activation)
convertDetermineCategory
private EmotionConverter.Category convertDetermineCategory(float angle)
convertSimilar
private EmotionConverter.Profile convertSimilar(float angle,
float activation)
convertInBetween
private EmotionConverter.Profile convertInBetween(float angle,
float activation)
mergeRanges
private EmotionConverter.Range mergeRanges(FAP key,
EmotionConverter.Profile profileOut,
EmotionConverter.Range rangePrimary,
EmotionConverter.Range rangeSecondary,
float angleRatioPrimary,
float angleRatioSecondary)
loadRanges
private void loadRanges(Resources r,
String filename)