|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.layer.vpf.DcwRecordFile com.bbn.openmap.layer.vpf.PrimitiveTable
public abstract class PrimitiveTable
Parent class for reading VPF primitive tables.
Field Summary | |
---|---|
protected CoverageTable |
covtable
the coverage table that we are working for |
protected int |
idColumn
the id column position |
protected TileDirectory |
tile
the tile we are for |
Fields inherited from class com.bbn.openmap.layer.vpf.DcwRecordFile |
---|
byteorder, columnInfo, documentationFileName, filename, ID_COLUMN_NAME, inputFile, MSBFirst, recordLength, tableDescription, tablename, vli |
Constructor Summary | |
---|---|
PrimitiveTable(CoverageTable cov,
TileDirectory tile,
java.lang.String tablename)
Construct a PrimitiveTable. |
Method Summary | |
---|---|
abstract OMGraphic |
drawFeature(VPFFeatureWarehouse warehouse,
double dpplat,
double dpplon,
LatLonPoint ll1,
LatLonPoint ll2,
java.util.List<java.lang.Object> area,
java.lang.String featureType,
int primID)
Use the warehouse to create a graphic from a feature in the AreaTable. |
abstract void |
drawTile(VPFGraphicWarehouse warehouse,
double dpplat,
double dpplon,
LatLonPoint ll1,
LatLonPoint ll2)
Parse the records for this tile, calling warehouse.createXXXX once for each record. |
CoverageTable |
getCoverageTable()
Get the coverage table that we are working on. |
int |
getID(java.util.List<java.lang.Number> l)
Gets the id column value for the row. |
TileDirectory |
getTileDirectory()
Gets the tile we are for. |
Methods inherited from class com.bbn.openmap.layer.vpf.DcwRecordFile |
---|
close, finalize, finishInitialization, getColumnCount, getColumnInfo, getColumnName, getDescription, getDocumentationFilename, getRecordCount, getRecordLength, getRow, getRow, getTableFile, getTableName, getTilingAdapter, getTilingAdapter, getTilingAdapter, lookupSchema, lookupSchema, main, parseAllRowsAndPrintSome, parseRow, parseRow, parseSomeRowsAndPrint, printSchema, reopen, seekToRow, whatColumn |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final CoverageTable covtable
protected final int idColumn
protected final TileDirectory tile
Constructor Detail |
---|
public PrimitiveTable(CoverageTable cov, TileDirectory tile, java.lang.String tablename) throws FormatException
cov
- the coverage table that is our "parent"tile
- the tile for the tabletablename
- must be a 3 character VPF tablename
FormatException
- if something goes wrong opening the fileMethod Detail |
---|
public CoverageTable getCoverageTable()
public int getID(java.util.List<java.lang.Number> l)
public TileDirectory getTileDirectory()
public abstract void drawTile(VPFGraphicWarehouse warehouse, double dpplat, double dpplon, LatLonPoint ll1, LatLonPoint ll2)
warehouse
- the warehouse used for createArea calls (must not be
null)dpplat
- threshold for latitude thinning (passed to warehouse)dpplon
- threshold for longitude thinngin (passed to warehouse)ll1
- upperleft of selection region (passed to warehouse)ll2
- lowerright of selection region (passed to warehouse) (passed
to warehouse)VPFGraphicWarehouse
public abstract OMGraphic drawFeature(VPFFeatureWarehouse warehouse, double dpplat, double dpplon, LatLonPoint ll1, LatLonPoint ll2, java.util.List<java.lang.Object> area, java.lang.String featureType, int primID)
warehouse
- the warehouse used for createXXXX calls (must not be
null)dpplat
- threshold for latitude thinning (passed to warehouse)dpplon
- threshold for longitude thinngin (passed to warehouse)ll1
- upperleft of selection region (passed to warehouse)ll2
- lowerright of selection region (passed to warehouse)area
- a List containing the AreaTable row contents.featureType
- the string representing the feature type, in case the
warehouse wants to do some intelligent rendering.primID
- the primitive ID of the feature, in order to gather attributes if necessary.VPFGraphicWarehouse.createEdge(com.bbn.openmap.layer.vpf.CoverageTable, com.bbn.openmap.layer.vpf.EdgeTable, java.util.List, com.bbn.openmap.proj.coords.LatLonPoint, com.bbn.openmap.proj.coords.LatLonPoint, double, double, com.bbn.openmap.layer.vpf.CoordFloatString)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |