Package com.jhlabs.image
Class PlasmaFilter
- java.lang.Object
-
- com.jhlabs.image.AbstractBufferedImageOp
-
- com.jhlabs.image.WholeImageFilter
-
- com.jhlabs.image.PlasmaFilter
-
- All Implemented Interfaces:
java.awt.image.BufferedImageOp
,java.io.Serializable
,java.lang.Cloneable
public class PlasmaFilter extends WholeImageFilter implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description float
turbulence
-
Fields inherited from class com.jhlabs.image.WholeImageFilter
originalSpace, transformedSpace
-
-
Constructor Summary
Constructors Constructor Description PlasmaFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int[]
filterPixels(int width, int height, int[] inPixels, java.awt.Rectangle transformedSpace)
Colormap
getColormap()
float
getScaling()
int
getSeed()
float
getTurbulence()
boolean
getUseColormap()
boolean
getUseImageColors()
void
randomize()
void
setColormap(Colormap colormap)
void
setScaling(float scaling)
void
setSeed(int seed)
void
setTurbulence(float turbulence)
void
setUseColormap(boolean useColormap)
void
setUseImageColors(boolean useImageColors)
java.lang.String
toString()
-
Methods inherited from class com.jhlabs.image.WholeImageFilter
filter, transformSpace
-
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
Method Detail
-
setTurbulence
public void setTurbulence(float turbulence)
-
getTurbulence
public float getTurbulence()
-
setScaling
public void setScaling(float scaling)
-
getScaling
public float getScaling()
-
setColormap
public void setColormap(Colormap colormap)
-
getColormap
public Colormap getColormap()
-
setUseColormap
public void setUseColormap(boolean useColormap)
-
getUseColormap
public boolean getUseColormap()
-
setUseImageColors
public void setUseImageColors(boolean useImageColors)
-
getUseImageColors
public boolean getUseImageColors()
-
setSeed
public void setSeed(int seed)
-
getSeed
public int getSeed()
-
randomize
public void randomize()
-
filterPixels
protected int[] filterPixels(int width, int height, int[] inPixels, java.awt.Rectangle transformedSpace)
- Specified by:
filterPixels
in classWholeImageFilter
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-