![]() |
VR-Forces Development_Version 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) |
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
|
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 |
Destructor.
|
private |
Assignment operator is private to prevent copying.
|
virtual |
Initializes the the database by loading the proper files.
|
virtual |
returns the path of the database
|
inlinevirtual |
returns the name of the requested library
|
inlinevirtual |
returns the name of the theme that is requested
|
inlinevirtual |
returns the name of the feature that is requested
|
virtual |
returns the path to the requested tile
|
virtual |
sets the area of interest between two lat/long points
|
virtual |
gets the area of interest and sets the SW and NE values in the DtGeodeticCoord structures that are passed in
sets the library of interest
sets the theme of interest
sets the feature of interest
|
virtual |
loads the tiles based on area of interest, theme and features requested into the the submitted GDB vector network.
|
virtual |
returns the terrain database that is being loaded with the vector data.
Needed for coordinate conversions internally
|
virtual |
sets the terrain database that is being loaded with vector features
|
virtual |
returns the specification factory that is being used to create specifications for loading into the MaK terrain database
|
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 |
returns a list of all the themes in the current library returns an empty list if the database is not initialized or exists
|
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
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |