org.jscience.media.pictures.filters
Class WeaveFilter

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

public class WeaveFilter
extends java.awt.image.RGBImageFilter
implements java.io.Serializable

DOCUMENT ME!

See Also:
Serialized Form

Field Summary
 int[][] matrix
          DOCUMENT ME!
 
Fields inherited from class java.awt.image.RGBImageFilter
canFilterIndexColorModel, newmodel, origmodel
 
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
WeaveFilter()
          Creates a new WeaveFilter object.
 
Method Summary
 int filterRGB(int x, int y, int rgb)
          DOCUMENT ME!
 int[][] getCrossings()
          DOCUMENT ME!
 boolean getRoundThreads()
          DOCUMENT ME!
 boolean getShadeCrossings()
          DOCUMENT ME!
 boolean getUseImageColors()
          DOCUMENT ME!
 float getXGap()
          DOCUMENT ME!
 float getXWidth()
          DOCUMENT ME!
 float getYGap()
          DOCUMENT ME!
 float getYWidth()
          DOCUMENT ME!
 void setCrossings(int[][] matrix)
          DOCUMENT ME!
 void setRoundThreads(boolean roundThreads)
          DOCUMENT ME!
 void setShadeCrossings(boolean shadeCrossings)
          DOCUMENT ME!
 void setUseImageColors(boolean useImageColors)
          DOCUMENT ME!
 void setXGap(float xGap)
          DOCUMENT ME!
 void setXWidth(float xWidth)
          DOCUMENT ME!
 void setYGap(float yGap)
          DOCUMENT ME!
 void setYWidth(float yWidth)
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class java.awt.image.RGBImageFilter
filterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModel
 
Methods inherited from class java.awt.image.ImageFilter
clone, getFilterInstance, imageComplete, resendTopDownLeftRight, setDimensions, setHints, setProperties
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

matrix

public int[][] matrix
DOCUMENT ME!

Constructor Detail

WeaveFilter

public WeaveFilter()
Creates a new WeaveFilter object.

Method Detail

setXGap

public void setXGap(float xGap)
DOCUMENT ME!

Parameters:
xGap - DOCUMENT ME!

setXWidth

public void setXWidth(float xWidth)
DOCUMENT ME!

Parameters:
xWidth - DOCUMENT ME!

getXWidth

public float getXWidth()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setYWidth

public void setYWidth(float yWidth)
DOCUMENT ME!

Parameters:
yWidth - DOCUMENT ME!

getYWidth

public float getYWidth()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getXGap

public float getXGap()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setYGap

public void setYGap(float yGap)
DOCUMENT ME!

Parameters:
yGap - DOCUMENT ME!

getYGap

public float getYGap()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setCrossings

public void setCrossings(int[][] matrix)
DOCUMENT ME!

Parameters:
matrix - DOCUMENT ME!

getCrossings

public int[][] getCrossings()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setUseImageColors

public void setUseImageColors(boolean useImageColors)
DOCUMENT ME!

Parameters:
useImageColors - DOCUMENT ME!

getUseImageColors

public boolean getUseImageColors()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setRoundThreads

public void setRoundThreads(boolean roundThreads)
DOCUMENT ME!

Parameters:
roundThreads - DOCUMENT ME!

getRoundThreads

public boolean getRoundThreads()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setShadeCrossings

public void setShadeCrossings(boolean shadeCrossings)
DOCUMENT ME!

Parameters:
shadeCrossings - DOCUMENT ME!

getShadeCrossings

public boolean getShadeCrossings()
DOCUMENT ME!

Returns:
DOCUMENT ME!

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)
DOCUMENT ME!

Specified by:
filterRGB in class java.awt.image.RGBImageFilter
Parameters:
x - DOCUMENT ME!
y - DOCUMENT ME!
rgb - DOCUMENT ME!
Returns:
DOCUMENT ME!

toString

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

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