76 #ifndef __TERRALIB_QT_WIDGETS_RP_INTERNAL_MIXTUREMODELWIZARDPAGE_H
77 #define __TERRALIB_QT_WIDGETS_RP_INTERNAL_MIXTUREMODELWIZARDPAGE_H
80 #include "../../../color/RGBAColor.h"
81 #include "../../../geometry/Geometry.h"
83 #include "../../../maptools/AbstractLayer.h"
84 #include "../../../qt/widgets/canvas/MapDisplay.h"
85 #include "../../../qt/widgets/charts/ChartDisplay.h"
86 #include "../../../qt/widgets/charts/ChartDisplayWidget.h"
87 #include "../../../qt/widgets/charts/ChartStyle.h"
88 #include "../../../raster/Raster.h"
89 #include "../../../rp/MixtureModel.h"
91 #include "../Config.h"
97 #include <QWizardPage>
98 #include <QTableWidget>
99 #include <QActionGroup>
100 #include <qgridlayout.h>
101 #include <QTreeWidget>
102 #include <QTreeWidgetItem>
105 #include <qwt_plot_curve.h>
108 namespace Ui {
class MixtureModelWizardPageForm; }
112 namespace se {
class Mark; }
150 bool isComplete()
const;
161 void set(std::list<te::map::AbstractLayerPtr> layers);
165 void setActionGroup(QActionGroup* actionGroup);
167 std::list<te::map::AbstractLayerPtr>
get();
175 void saveMixtureModelComponents(std::string &fileName);
177 void loadMixtureModelComponents(std::string &fileName);
179 void updateComponents();
185 void onMixturetabChanged(
int);
187 void onSaveToolButtonClicked();
189 void onLoadToolButtonClicked();
191 void onMapDisplayExtentChanged();
193 void onPointPicked(
double x,
double y);
199 void onRemoveToolButtonClicked();
201 void onComponentItemClicked(QTreeWidgetItem * item,
int column);
202 void oncomponentChanged();
203 void oncolorToolButtonClicked();
204 void onselectedEnabled(
bool);
205 void onallEnabled(
bool);
211 void fillMixtureModelTypes();
217 void PlotSpectralSignature();
219 double GetMediumWavelength(std::string sensor);
221 void addGeometryComponent();
225 std::auto_ptr<Ui::MixtureModelWizardPageForm>
m_ui;
250 #endif // __TERRALIB_QT_WIDGETS_RP_INTERNAL_MIXTUREMODELWIZARDPAGE_H
te::color::RGBAColor ** m_rgbaMark
std::list< te::map::AbstractLayerPtr > m_layers
A Mark specifies a geometric shape and applies coloring to it.
te::gm::Geometry * m_geomGeo
std::vector< double > m_values
unsigned int m_countComponents
The maximum number of components inserted.
te::gm::Geometry * m_geomGrid
This class is GUI used to define the mixture model parameters for the RP constast operation...
te::qt::widgets::ChartDisplayWidget * m_displayWidget
An Envelope defines a 2D rectangular region.
std::map< std::string, MixModelComponent > m_components
The map of selected components.
std::auto_ptr< Ui::MixtureModelWizardPageForm > m_ui
te::gm::Geometry * m_geom
std::auto_ptr< te::qt::widgets::RpToolsWidget > m_navigator
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
MixtureModel output parameters.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
te::qt::widgets::MapDisplay * m_mapDisplay
te::color::RGBAColor m_color