|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectartofillusion.animation.MeshGesture
artofillusion.object.Tube.TubeKeyframe
public static class Tube.TubeKeyframe
This class represents a pose of a Tube.
Constructor Summary | |
---|---|
Tube.TubeKeyframe(java.io.DataInputStream in,
java.lang.Object parent)
Reconstructs the keyframe from its serialized representation. |
|
Tube.TubeKeyframe(Tube tube)
|
Method Summary | |
---|---|
Keyframe |
blend(Keyframe o2,
double weight1,
double weight2)
These methods return a new Keyframe which is a weighted average of this one and one, two, or three others. |
Keyframe |
blend(Keyframe o2,
Keyframe o3,
double weight1,
double weight2,
double weight3)
Return a new Keyframe which is a weighted average of this one and two others. |
Keyframe |
blend(Keyframe o2,
Keyframe o3,
Keyframe o4,
double weight1,
double weight2,
double weight3,
double weight4)
Return a new Keyframe which is a weighted average of this one and three others. |
void |
blendSurface(MeshGesture average,
MeshGesture[] p,
double[] weight)
Modify the mesh surface of a Gesture to be a weighted average of an arbitrary list of Gestures, averaged about this pose. |
Keyframe |
duplicate()
Create a duplicate of this keyframe. |
Keyframe |
duplicate(java.lang.Object owner)
Create a duplicate of this keyframe for a (possibly different) object. |
boolean |
equals(Keyframe k)
Determine whether this keyframe is identical to another one. |
double[] |
getGraphValues()
Get the list of graphable values for this keyframe. |
Skeleton |
getSkeleton()
Get the skeleton for this pose (or null if it doesn't have one). |
ParameterValue |
getTextureParameter(TextureParameter p)
Get the value of a per-vertex texture parameter. |
void |
setGraphValues(double[] values)
Set the list of graphable values for this keyframe. |
void |
setSkeleton(Skeleton s)
Set the skeleton for this pose. |
void |
setTextureParameter(TextureParameter p,
ParameterValue value)
Set the value of a per-vertex texture parameter. |
void |
textureChanged(TextureParameter[] oldParams,
TextureParameter[] newParams)
Update the texture parameter values when the texture is changed. |
void |
writeToStream(java.io.DataOutputStream out)
Write out a representation of this keyframe to a stream. |
Methods inherited from class artofillusion.animation.MeshGesture |
---|
blend, blendSkeleton |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tube.TubeKeyframe(Tube tube)
public Tube.TubeKeyframe(java.io.DataInputStream in, java.lang.Object parent) throws java.io.IOException, java.io.InvalidObjectException
java.io.IOException
java.io.InvalidObjectException
Method Detail |
---|
public Skeleton getSkeleton()
public void setSkeleton(Skeleton s)
public Keyframe duplicate()
public Keyframe duplicate(java.lang.Object owner)
Keyframe
public double[] getGraphValues()
public void setGraphValues(double[] values)
public Keyframe blend(Keyframe o2, double weight1, double weight2)
public Keyframe blend(Keyframe o2, Keyframe o3, double weight1, double weight2, double weight3)
Keyframe
public Keyframe blend(Keyframe o2, Keyframe o3, Keyframe o4, double weight1, double weight2, double weight3, double weight4)
Keyframe
public void blendSurface(MeshGesture average, MeshGesture[] p, double[] weight)
blendSurface
in class MeshGesture
average
- the Gesture to modify to be an average of other Gesturesp
- the list of Gestures to averageweight
- the weights for the different Gesturespublic boolean equals(Keyframe k)
public void textureChanged(TextureParameter[] oldParams, TextureParameter[] newParams)
public ParameterValue getTextureParameter(TextureParameter p)
public void setTextureParameter(TextureParameter p, ParameterValue value)
public void writeToStream(java.io.DataOutputStream out) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |