hmi.elckerlyc.faceengine.viseme
Class MorphVisemeBinding

java.lang.Object
  extended by hmi.elckerlyc.faceengine.viseme.MorphVisemeBinding
All Implemented Interfaces:
VisemeBinding

public class MorphVisemeBinding
extends Object
implements VisemeBinding

Implementation that realizers visemes as morphs

Author:
Dennis Reidsma

Field Summary
private  VisemeToMorphMapping visemeMapping
           
 
Constructor Summary
MorphVisemeBinding(VisemeToMorphMapping mapping)
           
 
Method Summary
 TimedFaceUnit getVisemeUnit(BMLBlockPeg bbPeg, Behaviour b, int viseme, double startTime, double peakTime, double endTime, float intensity, FacePlayer player)
          note: each viseme has ready=relax=peak, and start=prev.peak and end=next.peak for timing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

visemeMapping

private VisemeToMorphMapping visemeMapping
Constructor Detail

MorphVisemeBinding

public MorphVisemeBinding(VisemeToMorphMapping mapping)
Method Detail

getVisemeUnit

public TimedFaceUnit getVisemeUnit(BMLBlockPeg bbPeg,
                                   Behaviour b,
                                   int viseme,
                                   double startTime,
                                   double peakTime,
                                   double endTime,
                                   float intensity,
                                   FacePlayer player)
Description copied from interface: VisemeBinding
note: each viseme has ready=relax=peak, and start=prev.peak and end=next.peak for timing. Ugly but effective.

Specified by:
getVisemeUnit in interface VisemeBinding