hmi.facegraphics.deformers
Class EaseDeformer
java.lang.Object
hmi.xml.XMLStructureAdapter
hmi.facegraphics.deformers.Deformer
hmi.facegraphics.deformers.EaseDeformer
- All Implemented Interfaces:
- DeformerServer, EaseDeformerServer, XMLStructure
public class EaseDeformer
- extends Deformer
- implements EaseDeformerServer
| Methods inherited from class hmi.facegraphics.deformers.Deformer |
deform, emitSize, emitValue, getDisplacement, getDistance, getFAP, getFullDisplacement, getSize, getValue, getVertexWeights, setClient, setFAP, setHead, setSize, setValue, updateSize, updateValue |
| Methods inherited from class hmi.xml.XMLStructureAdapter |
appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttributes, appendAttributes, appendAttributeString, appendAttributeString, appendBooleans, appendCloseEmptyTag, appendCloseSTag, appendComment, appendContent, appendDoubleElement, appendEmptyTag, appendEmptyTag, appendEmptyTag, appendEmptyTag, appendEmptyTag, appendEmptyTag, appendETag, appendETag, appendFloatArrayElement, appendFloatElement, appendFloats, appendIntArrayElement, appendIntElement, appendInts, appendLongElement, appendNewLine, appendNewLine, appendNewLine, appendOpenSTag, appendOptionalDoubleElement, appendOptionalFloatElement, appendOptionalIntElement, appendOptionalLongElement, appendSpaces, appendSpaces, appendSTag, appendSTag, appendSTag, appendStringArrayElement, appendStrings, appendSystemNewLine, appendTab, appendTextElement, appendXML, appendXML, appendXML, appendXML, appendXML, appendXMLStructure, appendXMLStructureList, appendXMLTextElementList, countTokens, countTokens, decodeAttribute, decodeAttribute, decodeAttributes, decodeBoolean, decodeBooleanArray, decodeBooleanArray, decodeBooleanArray, decodeBooleanArray, decodeDouble, decodeDoubleArray, decodeDoubleArray, decodeDoubleArray, decodeDoubleArray, decodeFloat, decodeFloatArray, decodeFloatArray, decodeFloatArray, decodeFloatArray, decodeInt, decodeIntArray, decodeIntArray, decodeIntArray, decodeIntArray, decodeLong, decodeStringArray, decodeStringArray, decodeStringArray, decodeStringArray, decodeXMLStructureList, decodeXMLValueElement, getNamespace, getOptionalAttribute, getOptionalAttribute, getOptionalBooleanAttribute, getOptionalDoubleAttribute, getOptionalFloatAttribute, getOptionalIntAttribute, getOptionalLongAttribute, getRequiredAttribute, getRequiredBooleanAttribute, getRequiredDoubleAttribute, getRequiredFloatAttribute, getRequiredIntAttribute, getRequiredLongAttribute, getTagLine, getXMLTag, hasContent, parseXMLElement, postProcess, preProcess, readXML, readXML, readXML, setConsoleAttributeEnabled, setDefaultRecoverMode, setRecoverMode, spaces, toString, toXMLString, toXMLString, toXMLString, toXMLString, toXMLString, toXMLString, writeXML, writeXML, writeXML, writeXML, xmlTag |
scalex
private float scalex
scaley
private float scaley
scalez
private float scalez
ease
private int ease
useVertexMask
private boolean useVertexMask
invertVertexMask
private boolean invertVertexMask
client
protected EaseDeformerClient client
EaseDeformer
public EaseDeformer()
EaseDeformer
public EaseDeformer(SmoothDeformer smoothDeformer)
updateEase
public void updateEase(int ease)
- Specified by:
updateEase in interface EaseDeformerServer
setEase
private void setEase(int ease)
getEase
public int getEase()
- Specified by:
getEase in interface EaseDeformerServer
updateScalex
public void updateScalex(float scale)
- Specified by:
updateScalex in interface EaseDeformerServer
setScalex
private void setScalex(float scale)
getScalex
public float getScalex()
- Specified by:
getScalex in interface EaseDeformerServer
updateScaley
public void updateScaley(float scale)
- Specified by:
updateScaley in interface EaseDeformerServer
setScaley
private void setScaley(float scale)
getScaley
public float getScaley()
- Specified by:
getScaley in interface EaseDeformerServer
updateScalez
public void updateScalez(float scale)
- Specified by:
updateScalez in interface EaseDeformerServer
setScalez
private void setScalez(float scale)
getScalez
public float getScalez()
- Specified by:
getScalez in interface EaseDeformerServer
updateUseVM
public void updateUseVM(boolean value)
- Specified by:
updateUseVM in interface EaseDeformerServer
setUseVM
private void setUseVM(boolean value)
getUseVM
public boolean getUseVM()
- Specified by:
getUseVM in interface EaseDeformerServer
updateInvertVM
public void updateInvertVM(boolean value)
- Specified by:
updateInvertVM in interface EaseDeformerServer
setInvertVM
private void setInvertVM(boolean value)
getInvertVM
public boolean getInvertVM()
- Specified by:
getInvertVM in interface EaseDeformerServer
getWeight
float getWeight(int index)
- Overrides:
getWeight in class Deformer
copyFrom
public void copyFrom(Deformer sourceIn)
- Specified by:
copyFrom in class Deformer
emitEase
private void emitEase(int ease)
emitScalex
private void emitScalex(float scale)
emitScaley
private void emitScaley(float scale)
emitScalez
private void emitScalez(float scale)
emitUseVM
private void emitUseVM(boolean value)
emitInvertVM
private void emitInvertVM(boolean value)
appendContent
public StringBuilder appendContent(StringBuilder buf,
XMLFormatting fmt)
- Description copied from class:
XMLStructureAdapter
- Appends a String to buf that encodes the contents for the XML encoding.
MUST BE OVERWRITTEN BY IMPLEMENTATIONS. (The default implementation appends nothing).
The encoding should start on a new line, using indentation equal to tab.
There should be no newline after the encoding.
- Overrides:
appendContent in class Deformer
decodeContent
public void decodeContent(XMLTokenizer tokenizer)
throws IOException
- Description copied from class:
XMLStructureAdapter
- decodes the XML contents, i.e. the XML between the STag and ETag
of the encoding.
MUST BE OVERWRITTEN BY IMPLEMENTATIONS.
- Overrides:
decodeContent in class Deformer
- Throws:
IOException