21 #ifndef TE_QT_WIDGETS_RASTERSLICINGWIZARDPAGE_H
22 #define TE_QT_WIDGETS_RASTERSLICINGWIZARDPAGE_H
25 #include "../../../dataaccess/datasource/DataSourceInfo.h"
26 #include "../../../maptools/AbstractLayer.h"
27 #include "../Config.h"
30 #include <QWizardPage>
38 class RasterSlicingWizardPageForm;
54 class SlicingColorMapWidget;
84 std::string getCurrentBand();
132 void setSRID(
int srid = 0);
141 void getParameters(
unsigned int& inputRasterBand,
142 unsigned int& slicesNumber,
bool& eqHistogram);
153 bool isComplete()
const;
157 std::auto_ptr<Ui::RasterSlicingWizardPageForm>
m_ui;
166 void updateHistogram();
167 void onSliceBandComboBoxIndexCHanged(
int index);
182 #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.