hmi.faceanimation.model
Class FAP
java.lang.Object
hmi.faceanimation.model.FAP
public class FAP
- extends Object
An MPEG-4 FA FAP.
Notice: tongue_roll has two feature points, but this is yet to be
accounted for. We ignore it for now since our facial animation
engine will not be able to animate this part.
- Author:
- PaulRC
|
Constructor Summary |
FAP()
Constructor |
FAP(int index,
int number,
String name,
String description,
FAP.Unit unit,
FAP.Directionality directionality,
FAP.Direction direction,
FeaturePoint fp)
Constructor |
FAP(int index,
int number,
String name,
String description,
FeaturePoint fp)
Constructor for multi-purpose FAPs (viseme, expression). |
index
public int index
number
public int number
name
private String name
description
private String description
unit
private FAP.Unit unit
directionality
private FAP.Directionality directionality
direction
private FAP.Direction direction
fp
private FeaturePoint fp
otherSide
private FAP otherSide
FAP
public FAP()
- Constructor
FAP
public FAP(int index,
int number,
String name,
String description,
FAP.Unit unit,
FAP.Directionality directionality,
FAP.Direction direction,
FeaturePoint fp)
- Constructor
FAP
public FAP(int index,
int number,
String name,
String description,
FeaturePoint fp)
- Constructor for multi-purpose FAPs (viseme, expression).
getIndex
public int getIndex()
- Returns:
- the index
getNumber
public int getNumber()
getName
public String getName()
- Returns:
- the name
getDescription
public String getDescription()
- Returns:
- the description
getUnit
public FAP.Unit getUnit()
- Returns:
- the unit
getDirectionality
public FAP.Directionality getDirectionality()
- Returns:
- the directionality
getDirection
public FAP.Direction getDirection()
- Returns:
- the direction
getFeaturePoint
public FeaturePoint getFeaturePoint()
- Returns:
- the feature point
getOtherSide
public FAP getOtherSide()
- Returns:
- the other side
setOtherSide
public void setOtherSide(FAP otherSide)
- Sets the other side of this FAP (e.g., stretch_l_cornerlip
for stretch_r_cornerlip)
- Parameters:
otherSide -
toString
public String toString()
- Overrides:
toString in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
equals
public boolean equals(FAP fap)