gov.nasa.worldwind.layers.Earth
Class UTMGraticuleLayer
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.WWObjectImpl
gov.nasa.worldwind.layers.AbstractLayer
gov.nasa.worldwind.layers.AbstractGraticuleLayer
gov.nasa.worldwind.layers.Earth.UTMBaseGraticuleLayer
gov.nasa.worldwind.layers.Earth.UTMGraticuleLayer
- All Implemented Interfaces:
- AVList, Disposable, MessageListener, Layer, Restorable, WWObject, PropertyChangeListener, EventListener
public class UTMGraticuleLayer
- extends UTMBaseGraticuleLayer
Displays the UTM graticule.
| Fields inherited from class gov.nasa.worldwind.layers.AbstractGraticuleLayer |
globe, graticuleSupport, gridElements, lastEyePoint, lastVerticalExaggeration, lastViewFOV, lastViewHeading, lastViewPitch, LINE_STYLE_DASHED, LINE_STYLE_DOTTED, LINE_STYLE_SOLID, polylineTerrainConformance, useSurfaceShapes, viewFrustum |
| Methods inherited from class gov.nasa.worldwind.layers.Earth.UTMBaseGraticuleLayer |
computePosition, computePositionFromUPS, computePositionFromUTM, createSquaresGrid, getGraticuleLineColor, getGraticuleLineStyle, getGraticuleLineWidth, getLabelColor, getLabelFont, isDrawGraticule, isDrawLabels, setDrawGraticule, setDrawLabels, setGraticuleLineColor, setGraticuleLineStyle, setGraticuleLineWidth, setLabelColor, setLabelFont |
| Methods inherited from class gov.nasa.worldwind.layers.AbstractGraticuleLayer |
addRenderable, computeAltitudeAboveGround, computeLabelOffset, computeTerrainConformance, computeTruncatedSegment, createLineRenderable, doPreRender, doRender, getDeltaLongitude, getGraticuleLineColor, getGraticuleLineStyle, getGraticuleLineWidth, getLabelColor, getLabelFont, getRenderingParams, getRestorableState, getSurfacePoint, greatCircleIntersectionAtLatitude, greatCircleIntersectionAtLongitude, greatCircleMidPoint, isDrawGraticule, isDrawLabels, needsToUpdate, preRenderGraticule, removeAllRenderables, renderGraticule, restoreState, setDrawGraticule, setDrawLabels, setGraticuleLineColor, setGraticuleLineStyle, setGraticuleLineWidth, setLabelColor, setLabelFont, setRenderingParams |
| Methods inherited from class gov.nasa.worldwind.layers.AbstractLayer |
createLayerConfigElements, dispose, doPick, getDataFileStore, getExpiryTime, getLayerConfigParams, getMaxActiveAltitude, getMaxEffectiveAltitude, getMinActiveAltitude, getMinEffectiveAltitude, getName, getOpacity, getScale, getScreenCredit, isAtMaxResolution, isEnabled, isLayerActive, isLayerConfigDocument, isLayerInView, isMultiResolution, isNetworkRetrievalEnabled, isPickEnabled, pick, preRender, render, setDataFileStore, setEnabled, setExpiryTime, setMaxActiveAltitude, setMinActiveAltitude, setName, setNetworkRetrievalEnabled, setOpacity, setPickEnabled, setScreenCredit, toString |
| Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
| Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
GRATICULE_100000M
public static final String GRATICULE_100000M
- Graticule for the 100,000 meter grid, nested inside the UTM grid.
- See Also:
- Constant Field Values
GRATICULE_10000M
public static final String GRATICULE_10000M
- Graticule for the 10,000 meter grid, nested inside the UTM grid.
- See Also:
- Constant Field Values
GRATICULE_1000M
public static final String GRATICULE_1000M
- Graticule for the 1,000 meter grid, nested inside the UTM grid.
- See Also:
- Constant Field Values
GRATICULE_100M
public static final String GRATICULE_100M
- Graticule for the 100 meter grid, nested inside the UTM grid.
- See Also:
- Constant Field Values
GRATICULE_10M
public static final String GRATICULE_10M
- Graticule for the 10 meter grid, nested inside the UTM grid.
- See Also:
- Constant Field Values
GRATICULE_1M
public static final String GRATICULE_1M
- Graticule for the 1 meter grid, nested inside the UTM grid.
- See Also:
- Constant Field Values
GRATICULE_UTM_GRID
public static final String GRATICULE_UTM_GRID
- Graticule for the UTM zone grid.
- See Also:
- Constant Field Values
GRID_COLS
protected static final int GRID_COLS
- See Also:
- Constant Field Values
GRID_ROWS
protected static final int GRID_ROWS
- See Also:
- Constant Field Values
gridTiles
protected UTMGraticuleLayer.GraticuleTile[][] gridTiles
MIN_CELL_SIZE_PIXELS
protected static final int MIN_CELL_SIZE_PIXELS
- See Also:
- Constant Field Values
UTMGraticuleLayer
public UTMGraticuleLayer()
clear
protected void clear(DrawContext dc)
- Overrides:
clear in class AbstractGraticuleLayer
clearTiles
protected void clearTiles()
getOrderedTypes
protected String[] getOrderedTypes()
getTypeFor
protected String getTypeFor(int resolution)
- Overrides:
getTypeFor in class UTMBaseGraticuleLayer
getVisibleTiles
protected ArrayList<UTMGraticuleLayer.GraticuleTile> getVisibleTiles(DrawContext dc)
initRenderingParams
protected void initRenderingParams()
- Overrides:
initRenderingParams in class UTMBaseGraticuleLayer
selectRenderables
protected void selectRenderables(DrawContext dc)
- Description copied from class:
UTMBaseGraticuleLayer
- Select the visible grid elements
- Overrides:
selectRenderables in class UTMBaseGraticuleLayer
- Parameters:
dc - the current DrawContext.
selectUTMRenderables
protected void selectUTMRenderables(DrawContext dc)
- Select the visible grid elements
- Parameters:
dc - the current DrawContext.