VR-Forces 4.0.4 Class Documentation
include/papermap/mResActMapRec.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2002 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: mResActMapRec.h,v $ $Revision: 1.10 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DtMultiResActiveMapRec_H_
00013 #define DtMultiResActiveMapRec_H_
00014 
00015 #include <QtCore/QString>
00016 #include <QtCore/QSize>
00017 
00018 class QImage;
00019 class DtRasterMap;
00020 
00023 #include "papermap/papermapDefines.h"
00024 class DT_DLL_papermap DtMultiResActiveMapRecord  
00025 {
00026 public:
00027    DtMultiResActiveMapRecord(DtRasterMap *map);
00028    virtual ~DtMultiResActiveMapRecord();
00029 
00031    virtual bool load(const QString &folder);
00032    virtual DtRasterMap * map() const;
00033    virtual QImage* image() const;
00034    virtual QSize imageSize() const;
00035 
00037    virtual void dump();
00038 
00039    bool hasBeenDrawn() const;
00040    void setHasBeenDrawn(bool b);
00041 
00042 protected:
00043    QImage*  myImage;
00044    DtRasterMap * myMap;
00045    bool  myHasBeenDrawn;
00046 };
00047 
00048 inline void DtMultiResActiveMapRecord::setHasBeenDrawn(bool b)
00049 {
00050    myHasBeenDrawn = b;
00051 }
00052 
00053 inline bool DtMultiResActiveMapRecord::hasBeenDrawn() const
00054 {
00055    return myHasBeenDrawn;
00056 }
00057 
00058 #endif
00059 

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)