hmi.faceanimation
Class StdOutFaceController

java.lang.Object
  extended by hmi.faceanimation.StdOutFaceController
All Implemented Interfaces:
FaceController

public class StdOutFaceController
extends Object
implements FaceController

Dummy implementation that dumps all calls to stdOut


Field Summary
(package private)  ArrayList<String> possibleMorphTargetNames
           
 
Constructor Summary
StdOutFaceController()
           
 
Method Summary
 void addMorphTargets(String[] targetNames, float[] weights)
           
 void addMPEG4Configuration(MPEG4Configuration config)
           
 void copy()
          Do actually apply the current configs and morphs to the face, including the joint rotations for eye, neck, jaw
 ArrayList<String> getPossibleFaceMorphTargetNames()
           
 void removeMorphTargets(String[] targetNames, float[] weights)
           
 void removeMPEG4Configuration(MPEG4Configuration config)
           
 void setMPEG4Configuration(MPEG4Configuration config)
          Directly set a FAP configuration on the face.
 void setPossibleFaceMorphTargetNames(ArrayList<String> names)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

possibleMorphTargetNames

ArrayList<String> possibleMorphTargetNames
Constructor Detail

StdOutFaceController

public StdOutFaceController()
Method Detail

setMPEG4Configuration

public void setMPEG4Configuration(MPEG4Configuration config)
Description copied from interface: FaceController
Directly set a FAP configuration on the face. FAPs that are assigned NULL values will not be modified at all. All other FAPs will be completely overwritten with the new configuration, i.e., no blending is done.

Specified by:
setMPEG4Configuration in interface FaceController

addMPEG4Configuration

public void addMPEG4Configuration(MPEG4Configuration config)
Specified by:
addMPEG4Configuration in interface FaceController

removeMPEG4Configuration

public void removeMPEG4Configuration(MPEG4Configuration config)
Specified by:
removeMPEG4Configuration in interface FaceController

addMorphTargets

public void addMorphTargets(String[] targetNames,
                            float[] weights)
Specified by:
addMorphTargets in interface FaceController

removeMorphTargets

public void removeMorphTargets(String[] targetNames,
                               float[] weights)
Specified by:
removeMorphTargets in interface FaceController

getPossibleFaceMorphTargetNames

public ArrayList<String> getPossibleFaceMorphTargetNames()
Specified by:
getPossibleFaceMorphTargetNames in interface FaceController

setPossibleFaceMorphTargetNames

public void setPossibleFaceMorphTargetNames(ArrayList<String> names)

copy

public void copy()
Description copied from interface: FaceController
Do actually apply the current configs and morphs to the face, including the joint rotations for eye, neck, jaw

Specified by:
copy in interface FaceController