ToolMap
Loading...
Searching...
No Matches
tmsymbolraster.h
1/***************************************************************************
2 tmsymbolraster.h
3 Deals with GIS raster symbology and associed dialog
4 -------------------
5 copyright : (C) 2007 CREALP Lucien Schreiber
6 ***************************************************************************/
7
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16
17// comment doxygen
18
19#ifndef _TM_SYMBOLRASTER_H_
20#define _TM_SYMBOLRASTER_H_
21
22// For compilers that support precompilation, includes "wx/wx.h".
23#include <wx/wxprec.h>
24
25// Include wxWidgets' headers
26#ifndef WX_PRECOMP
27#include <wx/wx.h>
28#endif
29
30#include "tmsymbol.h" // tmSymbol class definition
31#include "tmsymboldlgraster.h" // raster dialog definition
32
33class tmSymbolRaster : public tmSymbol {
34 private:
35 tmSymbolDataRaster m_RasterData;
36
37 virtual tmSymbolDLG* GetSymbolDialog(wxWindow* parent, const wxPoint& dlgpos);
38
39 virtual bool GetDialogData(tmSymbolDLG* dlg);
40
41 protected:
42 public:
44
45 tmSymbolRaster(const tmSymbolRaster& origin);
46
48
49 virtual bool Serialize(tmSerialize& s);
50
51 virtual int GetTransparency() {
52 return m_RasterData.m_GlobalTransparency;
53 }
54
55 bool GetDoMultiply() {
56 return m_RasterData.m_DoMultiplyRaster;
57 }
58};
59
60#endif
Definition tmserialize.h:36
Definition tmsymboldlg.h:55
Definition tmsymbolraster.h:33
Definition tmsymbol.h:38
Definition tmsymboldlgraster.h:40