VR-Forces 4.1 Class Documentation
rasterMapList.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2002 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: rasterMapList.h,v $ $Revision: 1.10 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 
13 #ifndef DtRasterMapList_H_
14 #define DtRasterMapList_H_
15 
16 #include "papermap/rasterMap.h"
17 
18 #ifndef NO_VRLINK
19 #include <mtl/mtl.h>
20 #endif
21 
22 class DtPoint;
23 class Coordinate_System;
24 
25 #include <QtCore/QString>
26 #include "ngutil/dtqlist.h"
27 
29 class DT_DLL_papermap DtRasterMapList : public DtPtrQList<DtRasterMap*>
30 {
31 public:
34 
36  DtRasterMapList(const DtRasterMapList & orig);
37 
39  DtRasterMapList& operator=(const DtRasterMapList& orig);
40 
41  virtual DtRasterMapList * clone() const;
42 
44  virtual ~DtRasterMapList();
45 
46 #ifndef NO_VRLINK
47  virtual void readFromMtlFile(DtlObjPtr& mtlObj);
48  virtual bool writeToMtlFile(FILE* fp, int indentLevel = 0) const;
49  virtual void putIndent(FILE *fp, int indentLevel) const;
50 #endif
51 
52  virtual bool addEntry(const DtRasterMap & entry);
53 
56  virtual DtRasterMap* mapContaining(const DtPoint& point) const;
57 
58  virtual void convertTo(const Coordinate_System* coordSys);
59 
61  virtual bool intersects(const DtExtent&) const;
62 
63  virtual void cellCount(int& iOnX, int& iOnY, DtExtent& globalExtent) const;
64 
65 protected:
66 
67  virtual bool addEntry(DtRasterMap * entry);
68  virtual void copyList(const DtRasterMapList & orig);
69  virtual bool contains(const DtExtent& extent, const DtPoint& point) const;
70 };
71 
72 #endif
73 

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)