VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
DtVpfDatabase Class Reference

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 DtTerrainDatabaseterrainDatabase () 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 DtVpfSpecFactoryspecFactory () const
 returns the specification factory that is being used to create specifications for loading into the MaK terrain database
virtual std::list< DtStringlibraryList () 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< DtStringthemeList () 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< DtStringfeatureList () 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

DtVectorNetworkmyVectorNetwork
DtString myPath
DtString myLibraryOfInterest
DtString myThemeOfInterest
DtString myFeatureOfInterest
DtGeodeticCoord mySWCorner
DtGeodeticCoord myNECorner
DtVpfTablemyLibraryReferenceTable
DtVpfTablemyTileReferenceTable
DtVpfTablemyTileFaceTable
DtVpfTablemyTileFaceBoundsTable
DtVpfTablemyGeoReferenceTable
DtVpfTablemyThemeCatagoryTable
DtVpfTablemyFeatureClassTable
DtTerrainDatabasemyTerrainDatabase
DtVpfSpecFactorymySpecFactory

Private Member Functions

 DtVpfDatabase (const DtVpfDatabase &input)
 Copy constructor is private to prevent copying.
DtVpfDatabaseoperator= (const DtVpfDatabase &input)
 Assignment operator is private to prevent copying.

Detailed Description

This is the VPF Database class.

It can load a feature or set of features from a VPF directory structure

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

Returns
a boolean to indicate the success or failure of the load
virtual DtString DtVpfDatabase::dbPath ( ) const
virtual

returns the path of the database

Returns
A DtString containing the path of the database
virtual DtString DtVpfDatabase::library ( ) const
inlinevirtual

returns the name of the requested library

Returns
A DtString containing the name of the requested library
virtual DtString DtVpfDatabase::theme ( ) const
inlinevirtual

returns the name of the theme that is requested

Returns
A DtString containing the requested theme
virtual DtString DtVpfDatabase::feature ( ) const
inlinevirtual

returns the name of the feature that is requested

Returns
A DtString containing the requested feature class
virtual DtString DtVpfDatabase::tilePath ( int  ID) const
virtual

returns the path to the requested tile

Returns
A DtString containing the relative tile path
virtual bool DtVpfDatabase::setAreaOfInterest ( const DtGeodeticCoord &  SWCorner,
const DtGeodeticCoord &  NECorner 
)
virtual

sets the area of interest between two lat/long points

Returns
A boolean indicating the success or failure of setting the AOI
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

Returns
A boolean indicating the success or failure of setting the theme
virtual bool DtVpfDatabase::setFeatureOfInterest ( DtString  feature)
virtual

sets the feature of interest

Returns
A boolean indicating the success or failure of setting the feature class
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.

Returns
A boolean indicating the success or failure of loading the tiles
virtual DtTerrainDatabase* DtVpfDatabase::terrainDatabase ( ) const
virtual

returns the terrain database that is being loaded with the vector data.

Needed for coordinate conversions internally

Returns
a pointer to a terrain database
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

Returns
a pointer to a specification 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 
)
protectedvirtual

Member Data Documentation

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

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)