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

List of all members.

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.

Protected Attributes

DtVpfTablemyEntityNodeTable

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

Destructor.

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


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)