VR-Forces 4.0.4 Class Documentation
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]

List of all members.

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

int DtVpfTile::myTileID [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)