27 #include "../../../common.h" 28 #include "../../../raster.h" 29 #include "../../../se.h" 30 #include "../utils/HorizontalSliderWidget.h" 39 #include "ui_RasterSymbolizerDialogForm.h" 43 m_ui(new
Ui::RasterSymbolizerDialogForm),
44 m_channelSelectionWidget(nullptr),
45 m_colorMapWidget(nullptr),
46 m_overlapBehaviorWidget(nullptr),
47 m_contrastWidget(nullptr),
48 m_shadedReliefWidget(nullptr),
49 m_imageOutlineWidget(nullptr),
50 m_sliderWidget(nullptr),
51 m_rasterWidget(nullptr),
52 m_symbolizer(new
te::se::RasterSymbolizer),
71 m_ui->m_stackedWidget->setCurrentIndex(0);
106 double seOpacity = opacity / 100.;
108 qStrOpacity.setNum(seOpacity);
174 m_ui->m_stackedWidget->setCurrentIndex(1);
184 QGridLayout* layout =
new QGridLayout(
m_ui->m_stackedWidget->currentWidget());
186 layout->setAlignment(Qt::AlignTop);
193 m_ui->m_stackedWidget->setCurrentIndex(2);
199 QGridLayout* layout =
new QGridLayout(
m_ui->m_stackedWidget->currentWidget());
201 layout->setAlignment(Qt::AlignTop);
213 m_ui->m_stackedWidget->setCurrentIndex(3);
219 QGridLayout* layout =
new QGridLayout(
m_ui->m_stackedWidget->currentWidget());
221 layout->setAlignment(Qt::AlignTop);
236 m_ui->m_stackedWidget->setCurrentIndex(4);
242 QGridLayout* layout =
new QGridLayout(
m_ui->m_stackedWidget->currentWidget());
244 layout->setAlignment(Qt::AlignTop);
251 m_ui->m_stackedWidget->setCurrentIndex(5);
257 QGridLayout* layout =
new QGridLayout(
m_ui->m_stackedWidget->currentWidget());
259 layout->setAlignment(Qt::AlignTop);
271 m_ui->m_stackedWidget->setCurrentIndex(6);
277 QGridLayout* layout =
new QGridLayout(
m_ui->m_stackedWidget->currentWidget());
279 layout->setAlignment(Qt::AlignTop);
286 m_ui->m_stackedWidget->setCurrentIndex(7);
292 QGridLayout* layout =
new QGridLayout(
m_ui->m_stackedWidget->currentWidget());
294 layout->setAlignment(Qt::AlignTop);
301 m_ui->m_stackedWidget->setCurrentIndex(1);
307 QGridLayout* layout =
new QGridLayout(
m_ui->m_stackedWidget->currentWidget());
309 layout->setAlignment(Qt::AlignTop);
ChannelSelection * clone() const
It creates a new copy of this object.
A Symbolizer describes how a feature is to appear on a map.
ParameterValue * getOffset() const
void setGain(ParameterValue *p)
void setShadedRelief(ShadedRelief *s)
te::se::ChannelSelection * getChannelSelection() const
void setContrastEnhancement(ContrastEnhancement *c)
The "ParameterValueType" uses WFS-Filter expressions to give values for SE graphic parameters...
ParameterValue * getGain() const
An abstract class for raster data strucutures.
ParameterValue * getOpacity() const
void setChannelSelection(ChannelSelection *c)
The RasterSymbolizer describes how to render raster/matrix-coverage data (e.g., satellite photos...
void setOpacity(ParameterValue *p)
ParameterValue * clone() const
It creates a new copy of this object.
void setOverlapBehavior(OverlapBehavior b)
void setOffset(ParameterValue *p)
void setColorMap(ColorMap *c)
Symbolizer * clone() const
It creates a new copy of this object.
void setImageOutline(ImageOutline *i)
std::vector< te::rst::BandProperty * > & getBandProperties()
Returns a reference to the list of bands definitions.
A ColorMap defines either the colors of a pallette-type raster source or the mapping of numeric pixel...
te::se::ImageOutline * getImageOutline() const