VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Protected Attributes | Private Member Functions
DtVpfPointFeatureTile Class Reference

This is an VPF tile that contains point features. More...

Inheritance diagram for DtVpfPointFeatureTile:
Inheritance graph
[legend]

Public Member Functions

 DtVpfPointFeatureTile (DtVpfDatabase *db, const DtString &themePath, int tileID, DtVpfTable *featureTable)
 Constructor takes a database, theme, tileID and feature table to generate an point feature tile.
virtual ~DtVpfPointFeatureTile ()
 Destructor.
virtual bool initTile ()
 Initializes the tile by loading the proper files.
virtual bool loadFeatures (DtVectorNetwork *vectorNetwork)
 Loads the features from the VPF database to the GDB vector network.
virtual bool featureInArea (double x, double y, double xMin, double yMin, double xMax, double yMax) const
 determines if point is in rectangle or not.
- Public Member Functions inherited from 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 ()
 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 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

DtVpfTablemyEntityNodeTable
- Protected Attributes inherited from DtVpfTile
DtVpfDatabasemyDatabase
int myTileID
DtString myTilePath
DtString myThemePath
DtVpfTablemyFeatureClassTable

Private Member Functions

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

Detailed Description

This is an VPF tile that contains point features.

It is a subclass of the abstract tile class and is used to load area features from a tile to a GDB vector network.

Constructor & Destructor Documentation

DtVpfPointFeatureTile::DtVpfPointFeatureTile ( DtVpfDatabase db,
const DtString themePath,
int  tileID,
DtVpfTable featureTable 
)

Constructor takes a database, theme, tileID and feature table to generate an point feature tile.

Exceptions
DtInvalidInputif it cannot open the tables that it needs
virtual DtVpfPointFeatureTile::~DtVpfPointFeatureTile ( )
virtual

Destructor.

DtVpfPointFeatureTile::DtVpfPointFeatureTile ( const DtVpfPointFeatureTile input)
private

Copy constructor is private to prevent copying.

Member Function Documentation

virtual bool DtVpfPointFeatureTile::initTile ( )
virtual

Initializes the tile by loading the proper files.

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

Implements DtVpfTile.

virtual bool DtVpfPointFeatureTile::loadFeatures ( DtVectorNetwork vectorNetwork)
virtual

Loads the features from the VPF database to the GDB vector network.

Implements DtVpfTile.

virtual bool DtVpfPointFeatureTile::featureInArea ( double  x,
double  y,
double  xMin,
double  yMin,
double  xMax,
double  yMax 
) const
virtual

determines if point is in rectangle or not.

should hide the base class function of same name to prevent it from being used. Points will always fail the base class function's test.

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

Assignment operator is private to prevent copying.

Member Data Documentation

DtVpfTable* DtVpfPointFeatureTile::myEntityNodeTable
protected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)