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

This is the abstract tile class that the area, linear and point tile classes are derived from. More...

Inheritance diagram for DtVpfTile:
Inheritance graph
[legend]

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 DtVpfDatabasedatabase ()
 returns a pointer to the database that owns this tile

Protected Attributes

DtVpfDatabasemyDatabase
int myTileID
DtString myTilePath
DtString myThemePath
DtVpfTablemyFeatureClassTable

Private Member Functions

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

Detailed Description

This is the abstract tile class that the area, linear and point tile classes are derived from.

It keeps a list of

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

Returns
a boolean to indicate the success or failure of the load

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

DtVpfTile& DtVpfTile::operator= ( const DtVpfTile input)
private

Assignment operator is private to prevent copying.

Member Data Documentation

DtVpfDatabase* DtVpfTile::myDatabase
protected
int DtVpfTile::myTileID
protected
DtString DtVpfTile::myTilePath
protected
DtString DtVpfTile::myThemePath
protected
DtVpfTable* DtVpfTile::myFeatureClassTable
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)