![]() |
VR-Forces 4.0.4 Class Documentation
|
This is the VPF Database class. More...
Public Member Functions | |
| DtVpfDatabase (DtString path) | |
| Constructor takes a string that represents the absolute path to the database'sbase directory. | |
| virtual | ~DtVpfDatabase () |
| Destructor. | |
| virtual bool | initDatabase () |
| Initializes the the database by loading the proper files. | |
| virtual DtString | dbPath () const |
| returns the path of the database | |
| virtual DtString | library () const |
| returns the name of the requested library | |
| virtual DtString | theme () const |
| returns the name of the theme that is requested | |
| virtual DtString | feature () const |
| returns the name of the feature that is requested | |
| virtual DtString | tilePath (int ID) const |
| returns the path to the requested tile | |
| virtual bool | setAreaOfInterest (const DtGeodeticCoord &SWCorner, const DtGeodeticCoord &NECorner) |
| sets the area of interest between two lat/long points | |
| virtual void | getAreaOfInterest (DtGeodeticCoord &SWCorner, DtGeodeticCoord &NECorner) const |
| gets the area of interest and sets the SW and NE values in the DtGeodeticCoord structures that are passed in | |
| virtual bool | setLibraryOfInterest (DtString lib) |
| sets the library of interest | |
| virtual bool | setThemeOfInterest (DtString theme) |
| sets the theme of interest | |
| virtual bool | setFeatureOfInterest (DtString feature) |
| sets the feature of interest | |
| virtual bool | loadTiles (DtVectorNetwork *vectorNetwork) |
| loads the tiles based on area of interest, theme and features requested into the the submitted GDB vector network. | |
| virtual DtTerrainDatabase * | terrainDatabase () const |
| returns the terrain database that is being loaded with the vector data. | |
| virtual void | setTerrainDatabase (DtTerrainDatabase *tdb) |
| sets the terrain database that is being loaded with vector features | |
| virtual DtVpfSpecFactory * | specFactory () const |
| returns the specification factory that is being used to create specifications for loading into the MaK terrain database | |
| virtual std::list< DtString > | libraryList () const |
| returns a list of all the libraries in the given database returns an empty list if the theme does not exist or not initialized | |
| virtual std::list< DtString > | themeList () const |
| returns a list of all the themes in the current library returns an empty list if the database is not initialized or exists | |
| virtual std::list< DtString > | featureList () const |
| returns a list of all the features in the given theme returns an empty list if the theme does not exist or not initialized | |
Protected Member Functions | |
| virtual bool | overlap (DtAreaQuad &a1, DtAreaQuad &a2) |
Protected Attributes | |
| DtVectorNetwork * | myVectorNetwork |
| DtString | myPath |
| DtString | myLibraryOfInterest |
| DtString | myThemeOfInterest |
| DtString | myFeatureOfInterest |
| DtGeodeticCoord | mySWCorner |
| DtGeodeticCoord | myNECorner |
| DtVpfTable * | myLibraryReferenceTable |
| DtVpfTable * | myTileReferenceTable |
| DtVpfTable * | myTileFaceTable |
| DtVpfTable * | myTileFaceBoundsTable |
| DtVpfTable * | myGeoReferenceTable |
| DtVpfTable * | myThemeCatagoryTable |
| DtVpfTable * | myFeatureClassTable |
| DtTerrainDatabase * | myTerrainDatabase |
| DtVpfSpecFactory * | mySpecFactory |
Private Member Functions | |
| DtVpfDatabase (const DtVpfDatabase &input) | |
| Copy constructor is private to prevent copying. | |
| DtVpfDatabase & | operator= (const DtVpfDatabase &input) |
| Assignment operator is private to prevent copying. | |
This is the VPF Database class.
It can load a feature or set of features from a VPF directory structure
| DtVpfDatabase::DtVpfDatabase | ( | const DtVpfDatabase & | input | ) | [private] |
Copy constructor is private to prevent copying.
| DtVpfDatabase::DtVpfDatabase | ( | DtString | path | ) |
Constructor takes a string that represents the absolute path to the database'sbase directory.
| virtual DtVpfDatabase::~DtVpfDatabase | ( | ) | [virtual] |
Destructor.
| DtVpfDatabase& DtVpfDatabase::operator= | ( | const DtVpfDatabase & | input | ) | [private] |
Assignment operator is private to prevent copying.
| virtual bool DtVpfDatabase::initDatabase | ( | ) | [virtual] |
Initializes the the database by loading the proper files.
| virtual DtString DtVpfDatabase::dbPath | ( | ) | const [virtual] |
returns the path of the database
| virtual DtString DtVpfDatabase::library | ( | ) | const [inline, virtual] |
returns the name of the requested library
| virtual DtString DtVpfDatabase::theme | ( | ) | const [inline, virtual] |
returns the name of the theme that is requested
| virtual DtString DtVpfDatabase::feature | ( | ) | const [inline, virtual] |
returns the name of the feature that is requested
| virtual DtString DtVpfDatabase::tilePath | ( | int | ID | ) | const [virtual] |
returns the path to the requested tile
| virtual bool DtVpfDatabase::setAreaOfInterest | ( | const DtGeodeticCoord & | SWCorner, |
| const DtGeodeticCoord & | NECorner | ||
| ) | [virtual] |
sets the area of interest between two lat/long points
| virtual void DtVpfDatabase::getAreaOfInterest | ( | DtGeodeticCoord & | SWCorner, |
| DtGeodeticCoord & | NECorner | ||
| ) | const [virtual] |
gets the area of interest and sets the SW and NE values in the DtGeodeticCoord structures that are passed in
| virtual bool DtVpfDatabase::setLibraryOfInterest | ( | DtString | lib | ) | [virtual] |
sets the library of interest
| virtual bool DtVpfDatabase::setThemeOfInterest | ( | DtString | theme | ) | [virtual] |
sets the theme of interest
| virtual bool DtVpfDatabase::setFeatureOfInterest | ( | DtString | feature | ) | [virtual] |
sets the feature of interest
| virtual bool DtVpfDatabase::loadTiles | ( | DtVectorNetwork * | vectorNetwork | ) | [virtual] |
loads the tiles based on area of interest, theme and features requested into the the submitted GDB vector network.
| virtual DtTerrainDatabase* DtVpfDatabase::terrainDatabase | ( | ) | const [virtual] |
returns the terrain database that is being loaded with the vector data.
Needed for coordinate conversions internally
| virtual void DtVpfDatabase::setTerrainDatabase | ( | DtTerrainDatabase * | tdb | ) | [virtual] |
sets the terrain database that is being loaded with vector features
| virtual DtVpfSpecFactory* DtVpfDatabase::specFactory | ( | ) | const [virtual] |
returns the specification factory that is being used to create specifications for loading into the MaK terrain database
| virtual std::list<DtString> DtVpfDatabase::libraryList | ( | ) | const [virtual] |
returns a list of all the libraries in the given database returns an empty list if the theme does not exist or not initialized
| virtual std::list<DtString> DtVpfDatabase::themeList | ( | ) | const [virtual] |
returns a list of all the themes in the current library returns an empty list if the database is not initialized or exists
| virtual std::list<DtString> DtVpfDatabase::featureList | ( | ) | const [virtual] |
returns a list of all the features in the given theme returns an empty list if the theme does not exist or not initialized
| virtual bool DtVpfDatabase::overlap | ( | DtAreaQuad & | a1, |
| DtAreaQuad & | a2 | ||
| ) | [protected, virtual] |
DtVectorNetwork* DtVpfDatabase::myVectorNetwork [protected] |
DtString DtVpfDatabase::myPath [protected] |
DtString DtVpfDatabase::myLibraryOfInterest [protected] |
DtString DtVpfDatabase::myThemeOfInterest [protected] |
DtString DtVpfDatabase::myFeatureOfInterest [protected] |
DtGeodeticCoord DtVpfDatabase::mySWCorner [protected] |
DtGeodeticCoord DtVpfDatabase::myNECorner [protected] |
DtVpfTable* DtVpfDatabase::myLibraryReferenceTable [protected] |
DtVpfTable* DtVpfDatabase::myTileReferenceTable [protected] |
DtVpfTable* DtVpfDatabase::myTileFaceTable [protected] |
DtVpfTable* DtVpfDatabase::myTileFaceBoundsTable [protected] |
DtVpfTable* DtVpfDatabase::myGeoReferenceTable [protected] |
DtVpfTable* DtVpfDatabase::myThemeCatagoryTable [protected] |
DtVpfTable* DtVpfDatabase::myFeatureClassTable [protected] |
DtTerrainDatabase* DtVpfDatabase::myTerrainDatabase [protected] |
DtVpfSpecFactory* DtVpfDatabase::mySpecFactory [protected] |