public interface RpfFrameProvider
Modifier and Type | Method and Description |
---|---|
float |
getCalculatedCoverage(float ullat,
float ullon,
float lrlat,
float lrlon,
Projection p,
java.lang.String chartSeries)
Given an area and a two-letter chart series code, find the percentage of
coverage on the map that that chart series can offer.
|
java.util.Vector<RpfCoverageBox> |
getCatalogCoverage(float ullat,
float ullon,
float lrlat,
float lrlon,
Projection p,
java.lang.String chartSeries)
Given a projection that describes a map or geographical area, return
RpfCoverageBoxes that let you know what bounding boxes of data are
available.
|
java.util.Vector<RpfCoverageBox> |
getCoverage(float ullat,
float ullon,
float lrlat,
float lrlon,
Projection p)
Given a projection that describes a map or geographical area, return
RpfCoverageBoxes that let you know how to locate and ask for RpfSubframes.
|
RpfIndexedImageData |
getRawSubframeData(int tocNumber,
int entryNumber,
int x,
int y) |
java.lang.String |
getSubframeAttributes(int tocNumber,
int entryNumber,
int x,
int y)
Given the indexes to a certain RpfTocEntry within a certain A.TOC, find
the frame and return the attribute information.
|
int[] |
getSubframeData(int tocNumber,
int entryNumber,
int x,
int y)
Given the indexes to a certain RpfTocEntry within a certain A.TOC, find
the frame/subframe data, decompress it, and return image pixels.
|
boolean |
needViewAttributeUpdates()
Returns true if the view attributes should be set if they change at the
RpfCacheHandler/RpfCacheManager.
|
void |
setViewAttributes(RpfViewAttributes rva)
Set the RpfViewAttribute object parameters, which describes a lot about
what you'll be asking for later.
|
boolean needViewAttributeUpdates()
void setViewAttributes(RpfViewAttributes rva)
java.util.Vector<RpfCoverageBox> getCoverage(float ullat, float ullon, float lrlat, float lrlon, Projection p)
java.util.Vector<RpfCoverageBox> getCatalogCoverage(float ullat, float ullon, float lrlat, float lrlon, Projection p, java.lang.String chartSeries)
ullat
- upper latullon
- left lonlrlat
- lower latlrlon
- right lonchartSeries
- can be null to see all/any.float getCalculatedCoverage(float ullat, float ullon, float lrlat, float lrlon, Projection p, java.lang.String chartSeries)
int[] getSubframeData(int tocNumber, int entryNumber, int x, int y)
tocNumber
- the toc id for a RpfTocHandler for a particular frame
provider.entryNumber
- the RpfTocEntry id for a RpfTocHandler for a particular
frame provider.x
- the horizontal subframe index, from the left side of a boundary
rectangle of the entry.y
- the vertical subframe index, from the top side of a boundary
rectangle of the entry.getCoverage(float, float, float, float, Projection)
RpfIndexedImageData getRawSubframeData(int tocNumber, int entryNumber, int x, int y)
java.lang.String getSubframeAttributes(int tocNumber, int entryNumber, int x, int y)
tocNumber
- the toc id for a RpfTocHandler for a particular frame
provider.entryNumber
- the RpfTocEntry id for a RpfTocHandler for a particular
frame provider.x
- the horizontal subframe index, from the left side of a boundary
rectangle of the entry.y
- the vertical subframe index, from the top side of a boundary
rectangle of the entry.getCoverage(float, float, float, float, Projection)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details