21 #ifndef TE_QT_WIDGETS_RASTERSLICINGWIZARDPAGE_H
22 #define TE_QT_WIDGETS_RASTERSLICINGWIZARDPAGE_H
26 #include "../../../dataaccess/datasource/DataSourceInfo.h"
27 #include "../../../maptools/AbstractLayer.h"
29 #include "../Config.h"
32 #include <QWizardPage>
40 class RasterSlicingWizardPageForm;
56 class SlicingColorMapWidget;
86 std::string getCurrentBand();
134 void setSRID(
int srid = 0);
143 void getParameters(
unsigned int& inputRasterBand,
bool& eqHistogram);
154 bool isComplete()
const;
158 std::auto_ptr<Ui::RasterSlicingWizardPageForm>
m_ui;
167 void updateHistogram();
168 void onSliceBandComboBoxIndexCHanged(
int index);
183 #endif // TE_QT_WIDGETS_RASTERSLICINGWIZARDPAGE_H
te::map::AbstractLayerPtr m_rasterLayer
Testing a better way to show the chart.
te::qt::widgets::HistogramChart * m_histogramChart
The preview histogram chart.
std::auto_ptr< te::rst::Raster > m_raster
The raster that will be sliced.
te::gm::Envelope m_extent
The envelope that can be used to trim the output raster.
An Envelope defines a 2D rectangular region.
te::qt::widgets::SlicingColorMapWidget * m_colorMapWidget
The widget used to edit the legend of the output layer.
te::qt::widgets::ChartDisplay * m_chartDisplay
The display used to draw the preview histogram.
int m_srid
The current srid from the display.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
A ColorMap defines either the colors of a pallette-type raster source or the mapping of numeric pixel...
std::auto_ptr< Ui::RasterSlicingWizardPageForm > m_ui
The wizard page form.