artofillusion.animation.distortion
Interface Distortion

All Known Implementing Classes:
BendDistortion, CustomDistortion, IKDistortion, PoseDistortion, ScaleDistortion, ShatterDistortion, SkeletonShapeDistortion, TwistDistortion

public interface Distortion

This interface defines an object that transforms one mesh into another one.


Method Summary
 Distortion duplicate()
          Create a duplicate of this object.
 boolean isIdenticalTo(Distortion d)
          Determine whether this distortion is identical to another one.
 void setPreviousDistortion(Distortion previous)
          Set another distortion which should be applied before this one.
 Mesh transform(Mesh obj)
          Apply the Distortion, and return a transformed mesh.
 

Method Detail

setPreviousDistortion

void setPreviousDistortion(Distortion previous)
Set another distortion which should be applied before this one. This allows Distortions to be chained.


isIdenticalTo

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


duplicate

Distortion duplicate()
Create a duplicate of this object.


transform

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



Copyright © 1999-2008 by Peter Eastman.