| net.refractions.udig.project.internal.render.impl.RendererImpl net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2
Method Summary | |
public static Dimension | calculateImageDimensions(Dimension displaySize, Dimension maxDimensions, Envelope viewport, Envelope request) Determines the dimensions of the image to request, usually 1:1 to display, but sometimes more
(too fuzzy) or less (image too large) when reprojecting. | public Point | calculateImageOffset(Point min, Point max) | public static ReferencedEnvelope | calculateRequestBBox(List<Layer> wmsLayers, ReferencedEnvelope viewport, CoordinateReferenceSystem requestCRS) Using the viewport bounds and combined wms layer extents, determines an appropriate bounding
box by projecting the viewport into the request CRS, intersecting the bounds, and returning
the result. | public void | dispose() | static String | findRequestCRS(List<Layer> layers, CoordinateReferenceSystem viewportCRS) | public ICompositeRenderContext | getContext() | public static Envelope | getLayersBoundingBox(CoordinateReferenceSystem crs, List<Layer> layers) | protected boolean | needRefresh() | public void | refreshImage() | public void | render(Graphics2D destination, IProgressMonitor monitor) | public void | render(IProgressMonitor monitor) | public synchronized void | render(Graphics2D destination, Envelope bounds2, IProgressMonitor monitor) | public RenderException | wrapException(Throwable t) |
refreshJob | Job refreshJob(Code) | | |
BasicWMSRenderer2 | public BasicWMSRenderer2()(Code) | | Construct a new BasicWMSRenderer
|
calculateImageDimensions | public static Dimension calculateImageDimensions(Dimension displaySize, Dimension maxDimensions, Envelope viewport, Envelope request) throws RenderException(Code) | | Determines the dimensions of the image to request, usually 1:1 to display, but sometimes more
(too fuzzy) or less (image too large) when reprojecting.
Parameters: maxDimensions - TODO Parameters: viewport - Parameters: request - Parameters: context - throws: RenderException - |
calculateRequestBBox | public static ReferencedEnvelope calculateRequestBBox(List<Layer> wmsLayers, ReferencedEnvelope viewport, CoordinateReferenceSystem requestCRS) throws MismatchedDimensionException, TransformException, FactoryException(Code) | | Using the viewport bounds and combined wms layer extents, determines an appropriate bounding
box by projecting the viewport into the request CRS, intersecting the bounds, and returning
the result.
Parameters: wmsLayers - all adjacent wms layers we are requesting Parameters: viewport - map editor bounds and crs Parameters: requestCRS - coordinate reference system supported by the server the bbox to ask the server for throws: MismatchedDimensionException - throws: TransformException - throws: FactoryException - |
dispose | public void dispose()(Code) | | |
findRequestCRS | static String findRequestCRS(List<Layer> layers, CoordinateReferenceSystem viewportCRS)(Code) | | |
getLayersBoundingBox | public static Envelope getLayersBoundingBox(CoordinateReferenceSystem crs, List<Layer> layers)(Code) | | |
needRefresh | protected boolean needRefresh()(Code) | | Determine whether the image needs to be refreshed
Whether the image needs to be refreshed |
|
|