com.jhlabs.image
Class WoodFilter

java.lang.Object
  extended by com.jhlabs.image.AbstractBufferedImageOp
      extended by com.jhlabs.image.PointFilter
          extended by com.jhlabs.image.WoodFilter
All Implemented Interfaces:
ImageProcessorInterface, java.awt.image.BufferedImageOp, java.lang.Cloneable

public class WoodFilter
extends PointFilter


Field Summary
 float fibres
           
 float gain
           
 float rings
           
 float turbulence
           
 
Constructor Summary
WoodFilter()
           
 
Method Summary
 int filterRGB(int x, int y, int rgb)
           
 float getAngle()
           
 Colormap getColormap()
           
 float getFibres()
           
 Function2D getFunction()
           
 float getGain()
           
 float getRings()
           
 float getScale()
           
 float getStretch()
           
 float getTurbulence()
           
 void setAngle(float angle)
           
 void setColormap(Colormap colormap)
           
 void setFibres(float fibres)
           
 void setFunction(Function2D function)
           
 void setgain(float gain)
           
 void setRings(float rings)
           
 void setScale(float scale)
           
 void setStretch(float stretch)
           
 void setTurbulence(float turbulence)
           
 java.lang.String toString()
           
 
Methods inherited from class com.jhlabs.image.PointFilter
filter, setDimensions
 
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, process, setRGB
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rings

public float rings

turbulence

public float turbulence

fibres

public float fibres

gain

public float gain
Constructor Detail

WoodFilter

public WoodFilter()
Method Detail

setRings

public void setRings(float rings)

getRings

public float getRings()

setFunction

public void setFunction(Function2D function)

getFunction

public Function2D getFunction()

setScale

public void setScale(float scale)

getScale

public float getScale()

setStretch

public void setStretch(float stretch)

getStretch

public float getStretch()

setAngle

public void setAngle(float angle)

getAngle

public float getAngle()

setTurbulence

public void setTurbulence(float turbulence)

getTurbulence

public float getTurbulence()

setFibres

public void setFibres(float fibres)

getFibres

public float getFibres()

setgain

public void setgain(float gain)

getGain

public float getGain()

setColormap

public void setColormap(Colormap colormap)

getColormap

public Colormap getColormap()

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)
Specified by:
filterRGB in class PointFilter

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object