project.android.imageprocessing.filter
Class MultiPixelRenderer

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.MultiPixelRenderer
All Implemented Interfaces:
GLTextureInputRenderer
Direct Known Subclasses:
ConvolutionFilter, DirectionalNonMaximumSuppressionFilter, MedianFilter, MotionBlurFilter, SharpenFilter, ToonFilter, WeakPixelInclusionFilter

public abstract class MultiPixelRenderer
extends BasicFilter

A multi-pixel filter extension of the BasicFilter. This class passes the texel width and height information to the shaders so that neighbouring pixel locations can be calculated in the shader.

Author:
Chris Batt

Field Summary
 
Fields inherited from class project.android.imageprocessing.GLRenderer
ATTRIBUTE_POSITION, ATTRIBUTE_TEXCOORD, UNIFORM_TEXTURE0, VARYING_TEXCOORD
 
Constructor Summary
MultiPixelRenderer()
          Creates a MultiPixelRender that passes the texel width and height information to the shaders.
 
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

MultiPixelRenderer

public MultiPixelRenderer()
Creates a MultiPixelRender that passes the texel width and height information to the shaders.