VR-Forces 4.1 Class Documentation
vmapTile.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.** All rights reserved.
3 ******************************************************************************/
4 /******************************************************************************
5 * $RCSfile: vmapTile.h,v $ $Revision: 1.11 $ $State: Exp $
6 ******************************************************************************/
7 
8 #ifndef VPF_TILE_H_
9 #define VPF_TILE_H_
10 
13 
14 #include <list>
15 
16 #include <vlutil/vlString.h>
17 #include "vmap/vmapDefines.h"
18 
19 //forward defs
20 class DtVpfTable;
21 class DtVpfDatabase;
22 class DtVectorNetwork;
23 
24 
28 {
29  public:
32  DtVpfTile(DtVpfDatabase* db, const DtString& themePath, int tileID,
33  DtVpfTable* featureTable);
34 
36  virtual ~DtVpfTile();
37 
39  virtual DtString tilePath() const;
40 
42  virtual DtString themePath() const;
43 
46  virtual bool loadFeatures(DtVectorNetwork* vectorNetwork)=0;
47 
50  virtual bool initTile()=0;
51 
53  virtual bool featureInTile(int featureNumber) const;
54 
56  virtual bool featureInAoi(double xMin1, double yMin1, double xMax1,
57  double yMax1, double xMin2, double yMin2, double xMax2,
58  double yMax2) const;
59 
61  virtual DtVpfDatabase* database();
62 
63  private:
65  DtVpfTile(const DtVpfTile& input);
66 
68  DtVpfTile& operator=(const DtVpfTile& input);
69 
70  protected:
72 
73  //tile info
74  int myTileID;
77 
78  //feature class table
80 };
81 
82 #endif

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)