![]() |
VR-Forces 4.0.4 Class Documentation
|
This is the abstract tile class that the area, linear and point tile classes are derived from. More...

Public Member Functions | |
| 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 | ~DtVpfTile () |
| Destructor. | |
| virtual DtString | tilePath () const |
| returns the relative path to this tile | |
| virtual DtString | themePath () const |
| returns the absolute path to the them for this tile | |
| virtual bool | loadFeatures (DtVectorNetwork *vectorNetwork)=0 |
| abstract function that subclasses implement to load the features into the GDB vector network | |
| virtual bool | initTile ()=0 |
| Initializes the tile by loading the proper files. | |
| virtual bool | featureInTile (int featureNumber) const |
| determines whether a given feature is within this tile or not | |
| virtual bool | featureInAoi (double xMin1, double yMin1, double xMax1, double yMax1, double xMin2, double yMin2, double xMax2, double yMax2) const |
| determines whether two rectangles overlap or not. | |
| virtual DtVpfDatabase * | database () |
| returns a pointer to the database that owns this tile | |
Protected Attributes | |
| DtVpfDatabase * | myDatabase |
| int | myTileID |
| DtString | myTilePath |
| DtString | myThemePath |
| DtVpfTable * | myFeatureClassTable |
Private Member Functions | |
| DtVpfTile (const DtVpfTile &input) | |
| Copy constructor is private to prevent copying. | |
| DtVpfTile & | operator= (const DtVpfTile &input) |
| Assignment operator is private to prevent copying. | |
This is the abstract tile class that the area, linear and point tile classes are derived from.
It keeps a list of
| 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 DtVpfTile::~DtVpfTile | ( | ) | [virtual] |
Destructor.
| DtVpfTile::DtVpfTile | ( | const DtVpfTile & | input | ) | [private] |
Copy constructor is private to prevent copying.
| virtual DtString DtVpfTile::tilePath | ( | ) | const [virtual] |
returns the relative path to this tile
| virtual DtString DtVpfTile::themePath | ( | ) | const [virtual] |
returns the absolute path to the them for this tile
| virtual bool DtVpfTile::loadFeatures | ( | DtVectorNetwork * | vectorNetwork | ) | [pure virtual] |
abstract function that subclasses implement to load the features into the GDB vector network
Implemented in DtVpfAreaFeatureTile, DtVpfPointFeatureTile, and DtVpfLineFeatureTile.
| virtual bool DtVpfTile::initTile | ( | ) | [pure virtual] |
Initializes the tile by loading the proper files.
Implemented in DtVpfAreaFeatureTile, DtVpfPointFeatureTile, and DtVpfLineFeatureTile.
| virtual bool DtVpfTile::featureInTile | ( | int | featureNumber | ) | const [virtual] |
determines whether a given feature is within this tile or not
| virtual bool DtVpfTile::featureInAoi | ( | double | xMin1, |
| double | yMin1, | ||
| double | xMax1, | ||
| double | yMax1, | ||
| double | xMin2, | ||
| double | yMin2, | ||
| double | xMax2, | ||
| double | yMax2 | ||
| ) | const [virtual] |
determines whether two rectangles overlap or not.
| virtual DtVpfDatabase* DtVpfTile::database | ( | ) | [virtual] |
returns a pointer to the database that owns this tile
Assignment operator is private to prevent copying.
DtVpfDatabase* DtVpfTile::myDatabase [protected] |
int DtVpfTile::myTileID [protected] |
DtString DtVpfTile::myTilePath [protected] |
DtString DtVpfTile::myThemePath [protected] |
DtVpfTable* DtVpfTile::myFeatureClassTable [protected] |