|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bbn.openmap.layer.vpf.DcwRecordFile
com.bbn.openmap.layer.vpf.PrimitiveTable
com.bbn.openmap.layer.vpf.EdgeTable
Read VPF format edge tables to generate polyline graphics for OpenMap.
Field Summary |
Fields inherited from class com.bbn.openmap.layer.vpf.PrimitiveTable |
covtable, idColumn, tile |
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 | |
EdgeTable(CoverageTable cov,
TileDirectory tile)
Construct an EdgeTable object for a tile of a coverage. |
Method Summary | |
void |
drawFeature(VPFFeatureWarehouse warehouse,
float dpplat,
float dpplon,
LatLonPoint ll1,
LatLonPoint ll2,
java.util.List edge,
java.lang.String featureType)
Use the warehouse to create a graphic from the edge feature, if you aleady have the line from the edgetable. |
void |
drawTile(VPFGraphicWarehouse warehouse,
float dpplat,
float dpplon,
LatLonPoint ll1,
LatLonPoint ll2)
Parse the edge records for this tile, calling warehouse.createEdge once for each record. |
CoordFloatString |
getCoordinates(java.util.List l)
Get the value of the coordinates column |
CoverageTable |
getCoverageTable()
get the coverage table that this edge is in |
int |
getEndNode(java.util.List l)
Get the value of the end_node column |
int |
getId(java.util.List l)
Get the value of the ID column |
DcwCrossTileID |
getLeftEdge(java.util.List l)
Deprecated. use the getLeftEdgeTilingAdapter method instead (using this could cause a ClassCastException for some VPF data) |
TilingAdapter |
getLeftEdgeTilingAdapter()
Get the TilingAdapter for the left_edge column |
DcwCrossTileID |
getLeftFace(java.util.List l)
Deprecated. use the getLeftFaceTilingAdapter method instead (using this could cause a ClassCastException for some VPF data) |
TilingAdapter |
getLeftFaceTilingAdapter()
Get the TilingAdapter for the left_face column |
DcwCrossTileID |
getRightEdge(java.util.List l)
Deprecated. use the getRightEdgeTilingAdapter method instead (using this could cause a ClassCastException for some VPF data) |
TilingAdapter |
getRightEdgeTilingAdapter()
Get the TilingAdapter for the right_edge column |
DcwCrossTileID |
getRightFace(java.util.List l)
Deprecated. use the getRightFaceTilingAdapter method instead (using this could cause a ClassCastException for some VPF data) |
TilingAdapter |
getRightFaceTilingAdapter()
Get the TilingAdapter for the right_face column |
int |
getStartNode(java.util.List l)
Get the value of the start_node column |
int |
topologyLevel()
get the topology level of the edge table |
Methods inherited from class com.bbn.openmap.layer.vpf.PrimitiveTable |
getID, getTileDirectory |
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 |
Constructor Detail |
public EdgeTable(CoverageTable cov, TileDirectory tile) throws FormatException
cov
- the coverage table that this tile is part oftile
- the tile to parse
FormatException
- a problem was encountered initializing
this tileMethod Detail |
public final int getId(java.util.List l)
l
- the list to retrieve the value frompublic final int getStartNode(java.util.List l)
l
- the list to retrieve the value frompublic final int getEndNode(java.util.List l)
l
- the list to retrieve the value frompublic final DcwCrossTileID getRightFace(java.util.List l)
l
- the list to retrieve the value frompublic final TilingAdapter getRightFaceTilingAdapter()
public final DcwCrossTileID getLeftFace(java.util.List l)
l
- the list to retrieve the value frompublic final TilingAdapter getLeftFaceTilingAdapter()
public final DcwCrossTileID getRightEdge(java.util.List l)
l
- the list to retrieve the value frompublic final TilingAdapter getRightEdgeTilingAdapter()
public final DcwCrossTileID getLeftEdge(java.util.List l)
l
- the list to retrieve the value frompublic final TilingAdapter getLeftEdgeTilingAdapter()
public final CoordFloatString getCoordinates(java.util.List l)
l
- the list to retrieve the value frompublic int topologyLevel()
public CoverageTable getCoverageTable()
getCoverageTable
in class PrimitiveTable
public void drawTile(VPFGraphicWarehouse warehouse, float dpplat, float dpplon, LatLonPoint ll1, LatLonPoint ll2)
drawTile
in class PrimitiveTable
warehouse
- the warehouse used for createEdge 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)VPFGraphicWarehouse.createEdge(com.bbn.openmap.layer.vpf.CoverageTable, com.bbn.openmap.layer.vpf.EdgeTable, java.util.List, com.bbn.openmap.LatLonPoint, com.bbn.openmap.LatLonPoint, float, float, com.bbn.openmap.layer.vpf.CoordFloatString)
public void drawFeature(VPFFeatureWarehouse warehouse, float dpplat, float dpplon, LatLonPoint ll1, LatLonPoint ll2, java.util.List edge, java.lang.String featureType)
drawFeature
in class PrimitiveTable
warehouse
- the warehouse used for createEdge 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)edge
- list containing the EdgeTable row contents.featureType
- the name of the feature. The warehouse may
want to do some intelligent rendering.VPFGraphicWarehouse.createEdge(com.bbn.openmap.layer.vpf.CoverageTable, com.bbn.openmap.layer.vpf.EdgeTable, java.util.List, com.bbn.openmap.LatLonPoint, com.bbn.openmap.LatLonPoint, float, float, com.bbn.openmap.layer.vpf.CoordFloatString)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |