|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcas.CASMorph
public class CASMorph
A CASMorph defines a morph setting for a CAS animation frame. This is a conventional "shape" (deformation) morph. (In ancient times it could alternatively be a "landmark" morph defined as an (x,y) displacement of a landmark point in an appearance model.) Each morph is identified by it four-cc name.
| Constructor Summary | |
|---|---|
CASMorph(CASMorph morph)
Constructs a copy of the given morph. |
|
CASMorph(int name4cc,
float value)
Constructs a shape morph with the given (four-cc) name and amount value. |
|
CASMorph(JAInputStream jins)
Constructs this morph from the given stream. |
|
CASMorph(java.lang.String name,
float value)
Constructs a shape morph with the given name and amount value. |
|
| Method Summary | |
|---|---|
float |
getAmount()
Returns this morph's amount value. |
int |
getName()
Returns this morph's Four-CC name. |
boolean |
hasName(int nm4cc)
Indicates whether or not this morph has the given Four-CC name. |
void |
save(JAOutputStream jouts)
Saves this morph's data to the given stream. |
void |
saveText(java.io.PrintWriter pwrtr)
Prints a legible form of this morph on the given writer. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CASMorph(java.lang.String name,
float value)
public CASMorph(int name4cc,
float value)
public CASMorph(CASMorph morph)
public CASMorph(JAInputStream jins)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public boolean hasName(int nm4cc)
public int getName()
public float getAmount()
public void save(JAOutputStream jouts)
throws java.io.IOException
java.io.IOExceptionpublic void saveText(java.io.PrintWriter pwrtr)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||