project.android.imageprocessing.filter
Class TwoPassMultiPixelFilter

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.TwoPassFilter
                  extended by project.android.imageprocessing.filter.TwoPassMultiPixelFilter
All Implemented Interfaces:
GLTextureInputRenderer
Direct Known Subclasses:
BilateralBlurFilter, BoxBlurFilter, DilationFilter, DilationRGBFilter, ErosionFilter, ErosionRGBFilter, FastBlurFilter, GaussianBlurFilter, SingleComponentFastBlurFilter, SingleComponentGaussianBlurFilter

public class TwoPassMultiPixelFilter
extends TwoPassFilter

An extension of TwoPassFilter. This class acts the same as TwoPassFilter except it passes the shaders information about texel width and height. On the first pass, the texel width will be set but the height will be 0. On the second pass the texel height will be set but the width will be 0. This allows for a vertical and horizontal pass of the input. For more details about multi-pixel rendering, see MultiPixelRenderer.

Author:
Chris Batt

Field Summary
 
Fields inherited from class project.android.imageprocessing.GLRenderer
ATTRIBUTE_POSITION, ATTRIBUTE_TEXCOORD, UNIFORM_TEXTURE0, VARYING_TEXCOORD
 
Constructor Summary
TwoPassMultiPixelFilter()
           
 
Method Summary
 
Methods inherited from class project.android.imageprocessing.filter.TwoPassFilter
destroy
 
Methods inherited from class project.android.imageprocessing.filter.BasicFilter
newTextureReady
 
Methods inherited from class project.android.imageprocessing.input.GLTextureOutputRenderer
addTarget, 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

TwoPassMultiPixelFilter

public TwoPassMultiPixelFilter()