VR-Forces 4.0.4 Class Documentation
include/papermap/rasterMapList.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2002 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: rasterMapList.h,v $ $Revision: 1.10 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 
00013 #ifndef DtRasterMapList_H_
00014 #define DtRasterMapList_H_
00015 
00016 #include "papermap/rasterMap.h"
00017 
00018 #ifndef NO_VRLINK
00019 #include <mtl/mtl.h>
00020 #endif
00021 
00022 class DtPoint;
00023 class Coordinate_System;
00024 
00025 #include <QtCore/QString>
00026 #include "ngutil/dtqlist.h"
00027 
00028 #include "papermap/papermapDefines.h"
00029 class DT_DLL_papermap DtRasterMapList : public DtPtrQList<DtRasterMap*>
00030 {
00031 public:
00033    DtRasterMapList();
00034 
00036    DtRasterMapList(const DtRasterMapList & orig);
00037 
00039    DtRasterMapList& operator=(const DtRasterMapList& orig);
00040 
00041    virtual DtRasterMapList * clone() const;
00042 
00044    virtual ~DtRasterMapList();
00045 
00046 #ifndef NO_VRLINK
00047    virtual void readFromMtlFile(DtlObjPtr& mtlObj);
00048    virtual bool writeToMtlFile(FILE* fp, int indentLevel = 0) const;
00049    virtual void putIndent(FILE *fp, int indentLevel) const;
00050 #endif
00051 
00052    virtual bool addEntry(const DtRasterMap & entry);
00053 
00056    virtual DtRasterMap* mapContaining(const DtPoint& point) const;
00057 
00058    virtual void convertTo(const Coordinate_System* coordSys);
00059 
00061    virtual bool intersects(const DtExtent&) const;
00062 
00063    virtual void cellCount(int& iOnX, int& iOnY, DtExtent& globalExtent) const;
00064 
00065 protected:
00066 
00067    virtual bool addEntry(DtRasterMap * entry);
00068    virtual void copyList(const DtRasterMapList & orig);
00069    virtual bool contains(const DtExtent& extent, const DtPoint& point) const;
00070 };
00071 
00072 #endif
00073 

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)