com.jhlabs.image
Class FieldWarpFilter

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

public class FieldWarpFilter
extends TransformFilter

A class which warps an image using a field Warp algorithm.


Nested Class Summary
static class FieldWarpFilter.Line
           
 
Field Summary
 
Fields inherited from class com.jhlabs.image.TransformFilter
BILINEAR, CLAMP, NEAREST_NEIGHBOUR, WRAP, ZERO
 
Constructor Summary
FieldWarpFilter()
           
 
Method Summary
 java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
           
 float getAmount()
           
 FieldWarpFilter.Line[] getInLines()
           
 FieldWarpFilter.Line[] getOutLines()
           
 float getPower()
           
 float getStrength()
           
 void setAmount(float amount)
           
 void setInLines(FieldWarpFilter.Line[] inLines)
           
 void setOutLines(FieldWarpFilter.Line[] outLines)
           
 void setPower(float power)
           
 void setStrength(float strength)
           
 java.lang.String toString()
           
 
Methods inherited from class com.jhlabs.image.TransformFilter
getBilinear, getEdgeAction, getInterpolation, getNearestNeighbour, getOriginalSpace, getTransformedSpace, setEdgeAction, setInterpolation, setOriginalSpace, setTransformedSpace
 
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
 

Constructor Detail

FieldWarpFilter

public FieldWarpFilter()
Method Detail

setAmount

public void setAmount(float amount)

getAmount

public float getAmount()

setPower

public void setPower(float power)

getPower

public float getPower()

setStrength

public void setStrength(float strength)

getStrength

public float getStrength()

setInLines

public void setInLines(FieldWarpFilter.Line[] inLines)

getInLines

public FieldWarpFilter.Line[] getInLines()

setOutLines

public void setOutLines(FieldWarpFilter.Line[] outLines)

getOutLines

public FieldWarpFilter.Line[] getOutLines()

filter

public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src,
                                           java.awt.image.BufferedImage dst)
Specified by:
filter in interface java.awt.image.BufferedImageOp
Overrides:
filter in class TransformFilter

toString

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