org.jscience.media.pictures.filters
Class SphereFilter

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

public class SphereFilter
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
SphereFilter()
          Creates a new SphereFilter object.
 
Method Summary
 float getRefractionIndex()
          DOCUMENT ME!
 void setDimensions(int width, int height)
          DOCUMENT ME!
 void setRefractionIndex(float refractionIndex)
          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
 

Constructor Detail

SphereFilter

public SphereFilter()
Creates a new SphereFilter object.

Method Detail

setRefractionIndex

public void setRefractionIndex(float refractionIndex)
DOCUMENT ME!

Parameters:
refractionIndex - DOCUMENT ME!

getRefractionIndex

public float getRefractionIndex()
DOCUMENT ME!

Returns:
DOCUMENT ME!

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!

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!