org.jscience.media.pictures.filters
Class PolarFilter

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.PolarFilter
All Implemented Interfaces:
java.awt.image.ImageConsumer, java.io.Serializable, java.lang.Cloneable

public class PolarFilter
extends TransformFilter

DOCUMENT ME!

See Also:
Serialized Form

Field Summary
static int INVERT_IN_CIRCLE
          DOCUMENT ME!
static int POLAR_TO_RECT
          DOCUMENT ME!
static int RECT_TO_POLAR
          DOCUMENT ME!
 
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
PolarFilter()
          Creates a new PolarFilter object.
PolarFilter(int type)
          Creates a new PolarFilter object.
 
Method Summary
 int getType()
          DOCUMENT ME!
 void setDimensions(int width, int height)
          DOCUMENT ME!
 void setType(int type)
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
protected  void transformInverse(int x, int y, float[] out)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.media.pictures.filters.TransformFilter
getEdgeAction, imageComplete, setEdgeAction, transformSpace
 
Methods inherited from class org.jscience.media.pictures.filters.WholeImageFilter
setColorModel, 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
 

Field Detail

RECT_TO_POLAR

public static final int RECT_TO_POLAR
DOCUMENT ME!

See Also:
Constant Field Values

POLAR_TO_RECT

public static final int POLAR_TO_RECT
DOCUMENT ME!

See Also:
Constant Field Values

INVERT_IN_CIRCLE

public static final int INVERT_IN_CIRCLE
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

PolarFilter

public PolarFilter()
Creates a new PolarFilter object.


PolarFilter

public PolarFilter(int type)
Creates a new PolarFilter object.

Parameters:
type - DOCUMENT ME!
Method Detail

setDimensions

public void setDimensions(int width,
                          int height)
DOCUMENT ME!

Specified by:
setDimensions in interface java.awt.image.ImageConsumer
Overrides:
setDimensions in class WholeImageFilter
Parameters:
width - DOCUMENT ME!
height - DOCUMENT ME!

setType

public void setType(int type)
DOCUMENT ME!

Parameters:
type - DOCUMENT ME!

getType

public int getType()
DOCUMENT ME!

Returns:
DOCUMENT ME!

transformInverse

protected void transformInverse(int x,
                                int y,
                                float[] out)
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!