project.android.imageprocessing.filter.effect
Class PinchDistortionFilter

java.lang.Object
  extended by project.android.imageprocessing.GLRenderer
      extended by project.android.imageprocessing.input.GLTextureOutputRenderer
          extended by project.android.imageprocessing.filter.BasicFilter
              extended by project.android.imageprocessing.filter.effect.BulgeDistortionFilter
                  extended by project.android.imageprocessing.filter.effect.PinchDistortionFilter
All Implemented Interfaces:
GLTextureInputRenderer

public class PinchDistortionFilter
extends BulgeDistortionFilter

Creates a pinch distortion of the image radius: The radius from the center to apply the distortion center: The center of the image (in normalized coordinates from 0 - 1.0) about which to distort) scale: The amount of distortion to apply, from -2.0 to 2.0

Author:
Chris Batt

Field Summary
 
Fields inherited from class project.android.imageprocessing.GLRenderer
ATTRIBUTE_POSITION, ATTRIBUTE_TEXCOORD, UNIFORM_TEXTURE0, VARYING_TEXCOORD
 
Constructor Summary
PinchDistortionFilter(android.graphics.PointF center, float radius, float distortionAmount, float aspectRatio)
           
 
Method Summary
 
Methods inherited from class project.android.imageprocessing.filter.BasicFilter
newTextureReady
 
Methods inherited from class project.android.imageprocessing.input.GLTextureOutputRenderer
addTarget, destroy, getLockObject, getTargets, removeTarget
 
Methods inherited from class project.android.imageprocessing.GLRenderer
getBackgroundAlpha, getBackgroundBlue, getBackgroundGreen, getBackgroundRed, getHeight, getWidth, onDrawFrame, reInitialize, rotateClockwise90Degrees, rotateCounterClockwise90Degrees, setBackgroundAlpha, setBackgroundBlue, setBackgroundColour, setBackgroundGreen, setBackgroundRed, setRenderSize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PinchDistortionFilter

public PinchDistortionFilter(android.graphics.PointF center,
                             float radius,
                             float distortionAmount,
                             float aspectRatio)