Version: 0.6.0
rasterlayer.h
1 /******************************************************************************
2  * Project: wxGIS
3  * Purpose: RasterLayer header.
4  * Author: Dmitry Baryshnikov (aka Bishop), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 2009,2011,2013,2014 Dmitry Baryshnikov
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  ****************************************************************************/
21 #pragma once
22 
23 #include "wxgis/carto/layer.h"
24 #include "wxgis/datasource/rasterdataset.h"
25 
33 class WXDLLIMPEXP_GIS_CRT wxGISRasterLayer :
34  public wxGISLayer
35 {
36  DECLARE_CLASS(wxGISRasterLayer)
37 public:
38  wxGISRasterLayer(const wxString &sName = _("new raster layer"), wxGISDataset* pwxGISDataset = NULL);
39  virtual ~wxGISRasterLayer(void);
40 //wxGISLayer
41  virtual bool Draw(wxGISEnumDrawPhase DrawPhase, ITrackCancel * const pTrackCancel = NULL);
42  virtual bool IsValid(void) const;
43 //wxGISRasterLayer
44  //virtual IRasterRendererSPtr GetRenderer(void){return m_pRasterRenderer;};
45  //virtual void SetRenderer(IRasterRendererSPtr pRasterRenderer){m_pRasterRenderer = pRasterRenderer;};
46 //protected:
47 // virtual bool GetPixelData(RAWPIXELDATA &stPixelData, wxGISDisplay *pDisplay, ITrackCancel* const pTrackCancel = NULL);
48 //protected:
49  //wxGISRasterDatasetSPtr m_pwxGISRasterDataset;
50 
51  //OGREnvelope m_FullEnvelope;
52  //OGREnvelope m_PreviousEnvelope;
53 };
Definition: rasterlayer.h:33
A TrackCancel interface class.
Definition: core.h:144
Definition: layer.h:35
Definition: dataset.h:33