VR-Forces 4.0.4 Class Documentation
include/vmap/vmapTile.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright  (c) 2006 MAK Technologies, Inc.** All rights reserved.     
00003 ******************************************************************************/
00004 /******************************************************************************
00005 * $RCSfile: vmapTile.h,v $ $Revision: 1.11 $ $State: Exp $
00006 ******************************************************************************/
00007 
00008 #ifndef VPF_TILE_H_
00009 #define VPF_TILE_H_
00010 
00013 
00014 #include <list>
00015 
00016 #include <vlutil/vlString.h>
00017 #include "vmap/vmapDefines.h"
00018 
00019 //forward defs
00020 class DtVpfTable;
00021 class DtVpfDatabase;
00022 class DtVectorNetwork;
00023 
00024 
00027 class DT_DLL_vmap DtVpfTile
00028 {
00029    public:
00032       DtVpfTile(DtVpfDatabase* db, const DtString& themePath, int tileID, 
00033                 DtVpfTable* featureTable);
00034 
00036       virtual ~DtVpfTile();
00037 
00039       virtual DtString tilePath() const;
00040 
00042       virtual DtString themePath() const;
00043 
00046       virtual bool loadFeatures(DtVectorNetwork* vectorNetwork)=0;
00047 
00050       virtual bool initTile()=0;
00051 
00053       virtual bool featureInTile(int featureNumber) const;
00054 
00056       virtual bool featureInAoi(double xMin1, double yMin1, double xMax1, 
00057          double yMax1, double xMin2, double yMin2, double xMax2, 
00058          double yMax2) const;
00059 
00061       virtual DtVpfDatabase* database();
00062 
00063     private:
00065       DtVpfTile(const DtVpfTile& input);
00066 
00068       DtVpfTile& operator=(const DtVpfTile& input);
00069 
00070   protected:
00071       DtVpfDatabase* myDatabase;
00072 
00073       //tile info
00074       int myTileID;
00075       DtString myTilePath;
00076       DtString myThemePath;
00077 
00078       //feature class table
00079       DtVpfTable* myFeatureClassTable;
00080 };
00081 
00082 #endif

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)