org.jscience.media.pictures.filters
Class ShearFilter

java.lang.Object
  extended by java.awt.image.ImageFilter
      extended by org.jscience.media.pictures.filters.WholeImageFilter
          extended by org.jscience.media.pictures.filters.TransformFilter
              extended by org.jscience.media.pictures.filters.ShearFilter
All Implemented Interfaces:
java.awt.image.ImageConsumer, java.io.Serializable, java.lang.Cloneable

public class ShearFilter
extends TransformFilter

DOCUMENT ME!

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jscience.media.pictures.filters.TransformFilter
CLAMP, edgeAction, WRAP, ZERO
 
Fields inherited from class org.jscience.media.pictures.filters.WholeImageFilter
canFilterIndexColorModel, defaultRGBModel, inBytePixels, inPixels, originalSpace, transformedSpace
 
Fields inherited from class java.awt.image.ImageFilter
consumer
 
Fields inherited from interface java.awt.image.ImageConsumer
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT
 
Constructor Summary
ShearFilter()
          Creates a new ShearFilter object.
 
Method Summary
 float getXAngle()
          DOCUMENT ME!
 float getYAngle()
          DOCUMENT ME!
 boolean isResize()
          DOCUMENT ME!
 void setResize(boolean resize)
          DOCUMENT ME!
 void setXAngle(float xangle)
          DOCUMENT ME!
 void setYAngle(float yangle)
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
protected  void transformInverse(int x, int y, float[] out)
          DOCUMENT ME!
protected  void transformSpace(java.awt.Rectangle r)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.media.pictures.filters.TransformFilter
getEdgeAction, imageComplete, setEdgeAction
 
Methods inherited from class org.jscience.media.pictures.filters.WholeImageFilter
setColorModel, setDimensions, setPixels, setPixels
 
Methods inherited from class java.awt.image.ImageFilter
clone, getFilterInstance, resendTopDownLeftRight, setHints, setProperties
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShearFilter

public ShearFilter()
Creates a new ShearFilter object.

Method Detail

setResize

public void setResize(boolean resize)
DOCUMENT ME!

Parameters:
resize - DOCUMENT ME!

isResize

public boolean isResize()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setXAngle

public void setXAngle(float xangle)
DOCUMENT ME!

Parameters:
xangle - DOCUMENT ME!

getXAngle

public float getXAngle()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setYAngle

public void setYAngle(float yangle)
DOCUMENT ME!

Parameters:
yangle - DOCUMENT ME!

getYAngle

public float getYAngle()
DOCUMENT ME!

Returns:
DOCUMENT ME!

transformSpace

protected void transformSpace(java.awt.Rectangle r)
DOCUMENT ME!

Overrides:
transformSpace in class TransformFilter
Parameters:
r - DOCUMENT ME!

transformInverse

protected void transformInverse(int x,
                                int y,
                                float[] out)
Description copied from class: TransformFilter
DOCUMENT ME!

Specified by:
transformInverse in class TransformFilter
Parameters:
x - DOCUMENT ME!
y - DOCUMENT ME!
out - DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!