artofillusion.animation.distortion
Class SkeletonShapeDistortion

java.lang.Object
  extended by artofillusion.animation.distortion.Distortion
      extended by artofillusion.animation.distortion.SkeletonShapeDistortion

public class SkeletonShapeDistortion
extends Distortion

This is a distortion which reshapes an object's skeleton.


Constructor Summary
SkeletonShapeDistortion(Skeleton skeleton, double weight, Actor actor)
           
 
Method Summary
 Distortion duplicate()
          Create a duplicate of this object.
 boolean isIdenticalTo(Distortion d)
          Determine whether this distortion is identical to another one.
 Mesh transform(Mesh obj)
          Apply the Distortion, and return a transformed mesh.
 
Methods inherited from class artofillusion.animation.distortion.Distortion
getPreviousDistortion, setPreviousDistortion
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkeletonShapeDistortion

public SkeletonShapeDistortion(Skeleton skeleton,
                               double weight,
                               Actor actor)
Method Detail

isIdenticalTo

public boolean isIdenticalTo(Distortion d)
Determine whether this distortion is identical to another one.

Specified by:
isIdenticalTo in class Distortion

duplicate

public Distortion duplicate()
Create a duplicate of this object.

Specified by:
duplicate in class Distortion

transform

public Mesh transform(Mesh obj)
Apply the Distortion, and return a transformed mesh.

Specified by:
transform in class Distortion


Copyright © 1999-2011 by Peter Eastman.