This class is used to define a component for viewing overlaid layers. More...
#include <RasterHistogramWidget.h>
Signals | |
void | maxValueSelected (int value, int band) |
void | minValueSelected (int value, int band) |
Public Member Functions | |
void | drawHistogram (int band) |
Ui::RasterHistogramWidgetForm * | getForm () const |
RasterHistogramWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
void | setInputRaster (te::rst::Raster *raster) |
void | setMaximumValueEnabled (bool enable) |
void | setMinimumValueEnabled (bool enable) |
void | setOutputRaster (te::rst::Raster *raster) |
void | updateMaximumValueLabel (QString value) |
void | updateMaximumValueLine (int value, bool replot=false) |
void | updateMinimumValueLabel (QString value) |
void | updateMinimumValueLine (int value, bool replot=false) |
~RasterHistogramWidget () | |
Protected Slots | |
void | onApplyToolButtonClicked () |
void | onLeftPointSelected (const QPointF &point) |
void | onRigthPointSelected (const QPointF &point) |
Private Attributes | |
te::qt::widgets::ChartDisplay * | m_chartDisplay |
te::qt::widgets::ChartStyle * | m_chartStyle |
te::qt::widgets::HistogramChart * | m_histogramChartInput |
te::qt::widgets::HistogramChart * | m_histogramChartOutput |
te::qt::widgets::Histogram * | m_histogramInput |
te::qt::widgets::Histogram * | m_histogramOutput |
std::auto_ptr< te::rst::Raster > | m_inputRaster |
QwtPlotMarker * | m_maxValueLine |
QwtPlotMarker * | m_minValueLine |
std::auto_ptr< te::rst::Raster > | m_outputRaster |
std::auto_ptr< Ui::RasterHistogramWidgetForm > | m_ui |
This class is used to define a component for viewing overlaid layers.
Definition at line 61 of file RasterHistogramWidget.h.
te::qt::widgets::RasterHistogramWidget::RasterHistogramWidget | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 49 of file RasterHistogramWidget.cpp.
References te::qt::widgets::ChartDisplay::adjustDisplay(), te::qt::widgets::HistogramChart::attach(), m_chartDisplay, m_chartStyle, m_histogramChartInput, m_histogramChartOutput, m_histogramInput, m_histogramOutput, m_maxValueLine, m_minValueLine, m_ui, onApplyToolButtonClicked(), onLeftPointSelected(), onRigthPointSelected(), te::qt::widgets::ChartStyle::setAxisX(), te::qt::widgets::ChartStyle::setAxisY(), te::qt::widgets::ChartStyle::setGridChecked(), and te::qt::widgets::ChartStyle::setTitle().
te::qt::widgets::RasterHistogramWidget::~RasterHistogramWidget | ( | ) |
Definition at line 105 of file RasterHistogramWidget.cpp.
void te::qt::widgets::RasterHistogramWidget::drawHistogram | ( | int | band | ) |
Definition at line 135 of file RasterHistogramWidget.cpp.
Ui::RasterHistogramWidgetForm * te::qt::widgets::RasterHistogramWidget::getForm | ( | ) | const |
Definition at line 109 of file RasterHistogramWidget.cpp.
|
signal |
|
signal |
|
protectedslot |
Definition at line 263 of file RasterHistogramWidget.cpp.
Referenced by RasterHistogramWidget().
|
protectedslot |
Definition at line 270 of file RasterHistogramWidget.cpp.
Referenced by RasterHistogramWidget().
|
protectedslot |
Definition at line 277 of file RasterHistogramWidget.cpp.
Referenced by RasterHistogramWidget().
void te::qt::widgets::RasterHistogramWidget::setInputRaster | ( | te::rst::Raster * | raster | ) |
Definition at line 114 of file RasterHistogramWidget.cpp.
void te::qt::widgets::RasterHistogramWidget::setMaximumValueEnabled | ( | bool | enable | ) |
Definition at line 223 of file RasterHistogramWidget.cpp.
void te::qt::widgets::RasterHistogramWidget::setMinimumValueEnabled | ( | bool | enable | ) |
Definition at line 183 of file RasterHistogramWidget.cpp.
void te::qt::widgets::RasterHistogramWidget::setOutputRaster | ( | te::rst::Raster * | raster | ) |
Definition at line 130 of file RasterHistogramWidget.cpp.
void te::qt::widgets::RasterHistogramWidget::updateMaximumValueLabel | ( | QString | value | ) |
Definition at line 257 of file RasterHistogramWidget.cpp.
void te::qt::widgets::RasterHistogramWidget::updateMaximumValueLine | ( | int | value, |
bool | replot = false |
||
) |
Definition at line 234 of file RasterHistogramWidget.cpp.
References te::map::DashDotLine.
void te::qt::widgets::RasterHistogramWidget::updateMinimumValueLabel | ( | QString | value | ) |
Definition at line 217 of file RasterHistogramWidget.cpp.
void te::qt::widgets::RasterHistogramWidget::updateMinimumValueLine | ( | int | value, |
bool | replot = false |
||
) |
Definition at line 194 of file RasterHistogramWidget.cpp.
References te::map::DashDotLine.
|
private |
Definition at line 115 of file RasterHistogramWidget.h.
Referenced by RasterHistogramWidget().
|
private |
Definition at line 114 of file RasterHistogramWidget.h.
Referenced by RasterHistogramWidget().
|
private |
Definition at line 118 of file RasterHistogramWidget.h.
Referenced by RasterHistogramWidget().
|
private |
Definition at line 121 of file RasterHistogramWidget.h.
Referenced by RasterHistogramWidget().
|
private |
Definition at line 117 of file RasterHistogramWidget.h.
Referenced by RasterHistogramWidget().
|
private |
Definition at line 120 of file RasterHistogramWidget.h.
Referenced by RasterHistogramWidget().
|
private |
Definition at line 111 of file RasterHistogramWidget.h.
|
private |
Definition at line 124 of file RasterHistogramWidget.h.
Referenced by RasterHistogramWidget().
|
private |
Definition at line 123 of file RasterHistogramWidget.h.
Referenced by RasterHistogramWidget().
|
private |
Definition at line 112 of file RasterHistogramWidget.h.
|
private |
Definition at line 109 of file RasterHistogramWidget.h.
Referenced by RasterHistogramWidget().