com.jhlabs.image
Class TextureFilter

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

public class TextureFilter
extends PointFilter
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 float amount
           
 float bias
           
 float gain
           
 int operation
           
 float turbulence
           
 
Constructor Summary
TextureFilter()
           
 
Method Summary
 int filterRGB(int x, int y, int rgb)
           
 float getAmount()
           
 float getAngle()
           
 Colormap getColormap()
           
 Function2D getFunction()
           
 int getOperation()
           
 float getScale()
           
 float getStretch()
           
 float getTurbulence()
           
 void setAmount(float amount)
           
 void setAngle(float angle)
           
 void setColormap(Colormap colormap)
           
 void setFunction(Function2D function)
           
 void setOperation(int operation)
           
 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

amount

public float amount

turbulence

public float turbulence

gain

public float gain

bias

public float bias

operation

public int operation
Constructor Detail

TextureFilter

public TextureFilter()
Method Detail

setAmount

public void setAmount(float amount)

getAmount

public float getAmount()

setFunction

public void setFunction(Function2D function)

getFunction

public Function2D getFunction()

setOperation

public void setOperation(int operation)

getOperation

public int getOperation()

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()

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