|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fhpotsdam.unfolding.mapdisplay.AbstractMapDisplay de.fhpotsdam.unfolding.mapdisplay.Java2DMapDisplay de.fhpotsdam.unfolding.mapdisplay.OpenGLMapDisplay
public class OpenGLMapDisplay
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.fhpotsdam.unfolding.mapdisplay.AbstractMapDisplay |
---|
AbstractMapDisplay.QueueSorter, AbstractMapDisplay.ZoomComparator |
Field Summary | |
---|---|
protected MapDisplayShader |
mapDisplayShader
|
protected processing.core.PGraphics |
offscreenCutoffPG
|
protected processing.core.PGraphics |
offscreenPG
|
protected float |
opacity
|
protected java.lang.String |
renderer
|
Fields inherited from class de.fhpotsdam.unfolding.mapdisplay.Java2DMapDisplay |
---|
bgColor, innerMatrix, log, matrix, papplet |
Fields inherited from class de.fhpotsdam.unfolding.mapdisplay.AbstractMapDisplay |
---|
allTilesLoaded, 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 |
---|
ADD, ALPHA, ALT, AMBIENT, ARC, ARGB, ARROW, BACKSPACE, BASELINE, BEVEL, BEZIER_VERTEX, BLEND, BLUR, BOTTOM, BOX, BREAK, BURN, CENTER, CHATTER, CHORD, CLAMP, CLOSE, CODED, COMPLAINT, CONTROL, CORNER, CORNERS, CROSS, CURVE_VERTEX, CUSTOM, DARKEST, DEG_TO_RAD, DELETE, DIAMETER, DIFFERENCE, DILATE, DIRECTIONAL, DISABLE_DEPTH_MASK, DISABLE_DEPTH_SORT, DISABLE_DEPTH_TEST, DISABLE_NATIVE_FONTS, DISABLE_OPENGL_ERRORS, DISABLE_OPTIMIZED_STROKE, DISABLE_RETINA_PIXELS, DISABLE_STROKE_PERSPECTIVE, DISABLE_STROKE_PURE, DISABLE_TEXTURE_MIPMAPS, DODGE, DOWN, DXF, ELLIPSE, ENABLE_DEPTH_MASK, ENABLE_DEPTH_SORT, ENABLE_DEPTH_TEST, ENABLE_NATIVE_FONTS, ENABLE_OPENGL_ERRORS, ENABLE_OPTIMIZED_STROKE, ENABLE_RETINA_PIXELS, ENABLE_STROKE_PERSPECTIVE, ENABLE_STROKE_PURE, ENABLE_TEXTURE_MIPMAPS, ENTER, EPSILON, ERODE, ERROR_BACKGROUND_IMAGE_FORMAT, ERROR_BACKGROUND_IMAGE_SIZE, ERROR_PUSHMATRIX_OVERFLOW, ERROR_PUSHMATRIX_UNDERFLOW, ERROR_TEXTFONT_NULL_PFONT, ESC, EXCLUSION, GIF, GRAY, GROUP, HALF_PI, HAND, HARD_LIGHT, HINT_COUNT, HSB, IMAGE, INVERT, JAVA2D, JPEG, LANDSCAPE, LEFT, LIGHTEST, LINE, LINE_LOOP, LINE_STRIP, LINES, LINUX, MACOSX, MAX_FLOAT, MAX_INT, MIN_FLOAT, MIN_INT, MITER, MODEL, MODELVIEW, MOVE, MULTIPLY, NORMAL, OPAQUE, OPEN, OPENGL, ORTHOGRAPHIC, OTHER, OVERLAY, P2D, P3D, PATH, PDF, PERSPECTIVE, PI, PIE, platformNames, POINT, POINTS, POLYGON, PORTRAIT, POSTERIZE, PROBLEM, PROJECT, PROJECTION, QUAD, QUAD_BEZIER_VERTEX, QUAD_STRIP, QUADRATIC_VERTEX, QUADS, QUARTER_PI, RAD_TO_DEG, RADIUS, RECT, REPEAT, REPLACE, RETURN, RGB, RIGHT, ROUND, SCREEN, SHAPE, SHIFT, SOFT_LIGHT, SPHERE, SPOT, SQUARE, SUBTRACT, TAB, TARGA, TAU, TEXT, THIRD_PI, THRESHOLD, TIFF, TOP, TRIANGLE, TRIANGLE_FAN, TRIANGLE_STRIP, TRIANGLES, TWO_PI, UP, VERTEX, WAIT, WHITESPACE, WINDOWS, X, Y, Z |
Constructor Summary | |
---|---|
OpenGLMapDisplay(processing.core.PApplet papplet,
AbstractMapProvider provider,
java.lang.String renderer,
float offsetX,
float offsetY,
float width,
float height)
|
Method Summary | |
---|---|
processing.core.PGraphics |
getInnerPG()
|
MapDisplayShader |
getMapDisplayShader()
|
processing.core.PGraphics |
getOuterPG()
|
java.lang.String |
getRenderer()
|
protected void |
postDraw()
Is called last in Java2DMapDisplay.draw() . |
void |
resize(float width,
float height)
|
void |
setMapDisplayShader(MapDisplayShader shader)
|
Methods inherited from class de.fhpotsdam.unfolding.mapdisplay.AbstractMapDisplay |
---|
addMarker, addMarkerManager, addMarkers, allTilesLoaded, cleanupImageBuffer, cleanupImageBuffer, createDefaultMarkerManager, getDefaultMarkerManager, getHeight, getInnerTransformationCenter, getLastMarkerManager, getMapProvider, getMarkerManager, getMarkerManager, getMarkerManagerList, getMask, getTransformationCenter, getWidth, grabTile, processQueue, removeMarkerManager, removeMarkerManager, 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 |
---|
protected java.lang.String renderer
protected processing.core.PGraphics offscreenPG
protected processing.core.PGraphics offscreenCutoffPG
protected float opacity
protected MapDisplayShader mapDisplayShader
Constructor Detail |
---|
public OpenGLMapDisplay(processing.core.PApplet papplet, AbstractMapProvider provider, java.lang.String renderer, float offsetX, float offsetY, float width, float height)
Method Detail |
---|
public void setMapDisplayShader(MapDisplayShader shader)
public MapDisplayShader getMapDisplayShader()
public java.lang.String getRenderer()
public void resize(float width, float height)
resize
in class AbstractMapDisplay
public processing.core.PGraphics getInnerPG()
getInnerPG
in class Java2DMapDisplay
public processing.core.PGraphics getOuterPG()
getOuterPG
in class Java2DMapDisplay
protected void postDraw()
Java2DMapDisplay
Java2DMapDisplay.draw()
. May be implemented in sub-classes to handle drawing on outerPG.
postDraw
in class Java2DMapDisplay
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |