VR-Forces Developer's Guide
 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 Referenceabstract

This is the abstract tile class that the area, linear and point tile classes are derived from. It keeps a list of.

Inheritance diagram for DtVpfTile:
Inheritance graph
[legend]

Public Member Functions

 DtVpfTile (DtVpfDatabase *db, const DtString &themePath, int tileID, DtVpfTable *featureTable)
 
virtual ~DtVpfTile ()
 
virtual DtString tilePath () const
 
virtual DtString themePath () const
 
virtual bool loadFeatures (DtVectorNetwork *vectorNetwork)=0
 
virtual bool initTile ()=0
 
virtual bool featureInTile (int featureNumber) const
 
virtual bool featureInAoi (double xMin1, double yMin1, double xMax1, double yMax1, double xMin2, double yMin2, double xMax2, double yMax2) const
 
virtual DtVpfDatabasedatabase ()
 

Protected Attributes

DtVpfDatabasemyDatabase
 
int myTileID
 
DtString myTilePath
 
DtString myThemePath
 
DtVpfTablemyFeatureClassTable
 

Private Member Functions

 DtVpfTile (const DtVpfTile &input)
 
DtVpfTileoperator= (const DtVpfTile &input)
 

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 Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)