![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 2002 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: rasterMap.h,v $ $Revision: 1.4 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef _DtRasterMap_H_ 00013 #define _DtRasterMap_H_ 00014 00015 00016 class DtExtent; 00017 00018 #ifndef NO_VRLINK 00019 #include <mtl/mtl.h> 00020 #endif 00021 00022 #include <QtCore/QString> 00023 00024 #include "papermap/papermapDefines.h" 00025 class DT_DLL_papermap DtRasterMap 00026 { 00027 protected: 00028 00029 public: 00031 DtRasterMap(); 00032 00034 DtRasterMap(const DtRasterMap & orig); 00035 00037 DtRasterMap & operator=(const DtRasterMap & orig); 00038 00040 virtual ~DtRasterMap(); 00041 00042 #ifndef NO_VRLINK 00043 virtual void readFromMtlFile(DtlObjPtr& mtlObj); 00044 virtual bool writeToMtlFile(FILE* fp, int indentLevel = 0) const; 00045 virtual void putIndent(FILE *fp, int indentLevel) const; 00046 #endif 00047 00048 virtual const QString & filename() const; 00049 virtual void setFilename(const QString & val); 00050 00051 virtual DtExtent extent() const; 00052 virtual void setExtent(const DtExtent &extent); 00053 00054 virtual DtRasterMap * clone() const; 00055 00056 protected: 00057 QString myFilename; 00058 double myXMin; 00059 double myYMin; 00060 double myXMax; 00061 double myYMax; 00062 }; 00063 00064 #endif 00065