de.fhpotsdam.unfolding.mapdisplay.shaders
Class BlurredMapDisplayShader
java.lang.Object
de.fhpotsdam.unfolding.mapdisplay.shaders.MapDisplayShader
de.fhpotsdam.unfolding.mapdisplay.shaders.BlurredMapDisplayShader
public class BlurredMapDisplayShader
- extends MapDisplayShader
This shader blurs a map.
Implements shade without markers, i.e. blurs only the map but not the markers.
Uses two-pass, i.e. calls PGraphics.shader(blurShader) twice.
Method Summary |
void |
shadeWithoutMarkers(processing.core.PGraphics mapDisplayCanvas)
Applies the shader to the map display canvas. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlurredMapDisplayShader
public BlurredMapDisplayShader(processing.core.PApplet p,
int blurSize,
float sigma)
BlurredMapDisplayShader
public BlurredMapDisplayShader(processing.core.PApplet p)
shadeWithoutMarkers
public void shadeWithoutMarkers(processing.core.PGraphics mapDisplayCanvas)
- Description copied from class:
MapDisplayShader
- Applies the shader to the map display canvas.
- Overrides:
shadeWithoutMarkers
in class MapDisplayShader
- Parameters:
mapDisplayCanvas
- The inner canvas.