![]() |
VR-Forces 5.0.3 Developer's Guide
|
This is the abstract tile class that the area, linear and point tile classes are derived from. It keeps a list of.

Public Member Functions | |
| DtVpfTile (DtVpfDatabase *db, const DtString &themePath, int tileID, DtVpfTable *featureTable) | |
| virtual | ~DtVpfTile () |
| virtual DtString | tilePath () const |
| virtual DtString | themePath () const |
| virtual bool | loadFeatures (DtVectorNetwork *vectorNetwork)=0 |
| virtual bool | initTile ()=0 |
| virtual bool | featureInTile (int featureNumber) const |
| virtual bool | featureInAoi (double xMin1, double yMin1, double xMax1, double yMax1, double xMin2, double yMin2, double xMax2, double yMax2) const |
| virtual DtVpfDatabase * | database () |
Protected Attributes | |
| DtVpfDatabase * | myDatabase |
| int | myTileID |
| DtString | myTilePath |
| DtString | myThemePath |
| DtVpfTable * | myFeatureClassTable |
Private Member Functions | |
| DtVpfTile (const DtVpfTile &input) | |
| DtVpfTile & | operator= (const DtVpfTile &input) |
| DtVpfTile::DtVpfTile | ( | DtVpfDatabase * | db, |
| const DtString & | themePath, | ||
| int | tileID, | ||
| DtVpfTable * | featureTable | ||
| ) |
Constructor takes a database, theme, tileID and feature table to generate the base tile that the subclasses build on.
|
virtual |
Destructor.
|
private |
Copy constructor is private to prevent copying.
|
virtual |
returns the relative path to this tile
|
virtual |
returns the absolute path to the them for this tile
|
pure virtual |
abstract function that subclasses implement to load the features into the GDB vector network
Implemented in DtVpfAreaFeatureTile, DtVpfPointFeatureTile, and DtVpfLineFeatureTile.
|
pure virtual |
Initializes the tile by loading the proper files.
Implemented in DtVpfAreaFeatureTile, DtVpfPointFeatureTile, and DtVpfLineFeatureTile.
determines whether a given feature is within this tile or not
|
virtual |
determines whether two rectangles overlap or not.
|
virtual |
returns a pointer to the database that owns this tile
Assignment operator is private to prevent copying.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |