artofillusion.animation.distortion
Class ScaleDistortion
java.lang.Object
artofillusion.animation.distortion.Distortion
artofillusion.animation.distortion.ScaleDistortion
public class ScaleDistortion
- extends Distortion
This is a distortion which changes the size of an object.
Constructor Summary |
ScaleDistortion(double xscale,
double yscale,
double zscale,
Mat4 preTransform,
Mat4 postTransform)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScaleDistortion
public ScaleDistortion(double xscale,
double yscale,
double zscale,
Mat4 preTransform,
Mat4 postTransform)
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.