de.fhpotsdam.unfolding.mapdisplay
Class MaskedPGraphicsMapDisplay

java.lang.Object
  extended by de.fhpotsdam.unfolding.mapdisplay.AbstractMapDisplay
      extended by de.fhpotsdam.unfolding.mapdisplay.ProcessingMapDisplay
          extended by de.fhpotsdam.unfolding.mapdisplay.MaskedPGraphicsMapDisplay
All Implemented Interfaces:
TileLoaderListener, processing.core.PConstants

public class MaskedPGraphicsMapDisplay
extends ProcessingMapDisplay
implements processing.core.PConstants


Nested Class Summary
 
Nested classes/interfaces inherited from class de.fhpotsdam.unfolding.mapdisplay.AbstractMapDisplay
AbstractMapDisplay.QueueSorter, AbstractMapDisplay.ZoomComparator
 
Field Summary
protected  processing.core.PGraphics pg
           
 
Fields inherited from class de.fhpotsdam.unfolding.mapdisplay.ProcessingMapDisplay
bgColor, innerMatrix, log, matrix, papplet
 
Fields inherited from class de.fhpotsdam.unfolding.mapdisplay.AbstractMapDisplay
angle, grid_padding, height, images, innerAngle, innerOffsetX, innerOffsetY, innerScale, innerTransformationCenter, markerManagerList, max_images_to_keep, max_pending, offsetX, offsetY, pending, provider, queue, queueSorter, recent_images, scale, TILE_HEIGHT, TILE_WIDTH, transformationCenter, width, zoomComparator
 
Fields inherited from interface processing.core.PConstants
A, AB, ADD, AG, ALPHA, ALPHA_MASK, ALT, AMBIENT, AR, ARC, ARGB, ARROW, B, BACKSPACE, BASELINE, BEEN_LIT, BEVEL, BILINEAR, BLEND, BLUE_MASK, BLUR, BOTTOM, BOX, BURN, CENTER, CENTER_DIAMETER, CENTER_RADIUS, CHATTER, CLAMP, CLOSE, CMYK, CODED, COMPLAINT, CONTROL, CORNER, CORNERS, CROSS, CUSTOM, DA, DARKEST, DB, DEG_TO_RAD, DELETE, DG, DIAMETER, DIFFERENCE, DILATE, DIRECTIONAL, DISABLE_ACCURATE_TEXTURES, DISABLE_DEPTH_MASK, DISABLE_DEPTH_SORT, DISABLE_DEPTH_TEST, DISABLE_NATIVE_FONTS, DISABLE_OPENGL_2X_SMOOTH, DISABLE_OPENGL_ERROR_REPORT, DODGE, DOWN, DR, DXF, DYNAMIC, EB, EDGE, EG, ELLIPSE, ENABLE_ACCURATE_TEXTURES, ENABLE_DEPTH_MASK, ENABLE_DEPTH_SORT, ENABLE_DEPTH_TEST, ENABLE_NATIVE_FONTS, ENABLE_OPENGL_2X_SMOOTH, ENABLE_OPENGL_4X_SMOOTH, ENABLE_OPENGL_ERROR_REPORT, ENTER, EPSILON, ER, ERODE, ERROR_BACKGROUND_IMAGE_FORMAT, ERROR_BACKGROUND_IMAGE_SIZE, ERROR_PUSHMATRIX_OVERFLOW, ERROR_PUSHMATRIX_UNDERFLOW, ERROR_TEXTFONT_NULL_PFONT, ESC, EXCLUSION, FIXED, G, GIF, GRAY, GREEN_MASK, HALF_PI, HAND, HARD_LIGHT, HAS_NORMAL, HINT_COUNT, HSB, IMAGE, INVERT, JAVA2D, JPEG, LEFT, LIGHTEST, LINE, LINE_LOOP, LINE_STRIP, LINEAR, LINES, LINUX, MACOSX, MAX_FLOAT, MAX_INT, MIN_FLOAT, MIN_INT, MITER, MODEL, MODELVIEW, MOVE, MULTIPLY, NORMAL, NORMALIZED, NX, NY, NZ, OPAQUE, OPEN, OPENGL, OPENGL2, ORTHOGRAPHIC, OTHER, OVERLAY, P2D, P3D, PATH, PDF, PERSPECTIVE, PI, platformNames, POINT, POINT_SPRITES, POINTS, POLYGON, POSTERIZE, PROBLEM, PROG_GL2, PROG_GL3, PROG_GL4, PROJECT, PROJECTION, QUAD, QUAD_STRIP, QUADRATIC, QUADS, QUARTER_PI, R, RAD_TO_DEG, RADIUS, RECT, RED_MASK, REPEAT, REPLACE, RETURN, RGB, RIGHT, ROUND, SA, SB, SCREEN, SG, SHAPE, SHIFT, SHINE, SOFT_LIGHT, SPB, SPG, SPHERE, SPOT, SPR, SQUARE, SR, STATIC, STREAM, SUBTRACT, SW, TAB, TARGA, TEXT, TEXTURE2D, THIRD_PI, THRESHOLD, TIFF, TOP, TRIANGLE, TRIANGLE_FAN, TRIANGLE_STRIP, TRIANGLES, TRILINEAR, TWO_PI, TX, TY, TZ, U, UP, V, VERTEX_FIELD_COUNT, VW, VX, VY, VZ, WAIT, WHITESPACE, WINDOWS, X, Y, Z
 
Constructor Summary
MaskedPGraphicsMapDisplay(processing.core.PApplet papplet, AbstractMapProvider provider, float offsetX, float offsetY, float width, float height)
           
 
Method Summary
 processing.core.PGraphics getInnerPG()
           
protected  void postDraw()
          Is called last in ProcessingMapDisplay.draw().
 
Methods inherited from class de.fhpotsdam.unfolding.mapdisplay.ProcessingMapDisplay
calculateInnerMatrix, calculateMatrix, createTileLoader, draw, getInnerObject, getInnerObjectFromLocation, getInnerObjectFromObjectPosition, getInnerObjectFromScreenPosition, getLocation, getLocation, getLocationFromInnerObjectPosition, getLocationFromObjectPosition, getLocationFromScreenPosition, getObjectFromInnerObjectPosition, getObjectFromLocation, getObjectFromScreenPosition, getOuterPG, getScreenFromInnerObjectPosition, getScreenFromObjectPosition, getScreenPosition, getScreenPositionFromLocation, getTransformedPosition, getVisibleKeys, setBackgroundColor, tilesLoaded
 
Methods inherited from class de.fhpotsdam.unfolding.mapdisplay.AbstractMapDisplay
addMarker, addMarkerManager, addMarkers, cleanupImageBuffer, cleanupImageBuffer, createDefaultMarkerManager, getDefaultMarkerManager, getHeight, getInnerTransformationCenter, getLastMarkerManager, getMapProvider, getMarkerManager, getMarkerManager, getMask, getTransformationCenter, getWidth, grabTile, processQueue, resize, setInnerTransformationCenter, setMapProvider, setProvider, setTransformationCenter, tileLoaded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pg

protected processing.core.PGraphics pg
Constructor Detail

MaskedPGraphicsMapDisplay

public MaskedPGraphicsMapDisplay(processing.core.PApplet papplet,
                                 AbstractMapProvider provider,
                                 float offsetX,
                                 float offsetY,
                                 float width,
                                 float height)
Method Detail

getInnerPG

public processing.core.PGraphics getInnerPG()
Overrides:
getInnerPG in class ProcessingMapDisplay

postDraw

protected void postDraw()
Description copied from class: ProcessingMapDisplay
Is called last in ProcessingMapDisplay.draw(). May be implemented in sub-classes to handle drawing on outerPG.

Overrides:
postDraw in class ProcessingMapDisplay