26 #ifndef __TERRALIB_QT_WIDGETS_RP_INTERNAL_MIXTUREMODELDIALOG_H
27 #define __TERRALIB_QT_WIDGETS_RP_INTERNAL_MIXTUREMODELDIALOG_H
30 #include "../Config.h"
31 #include "../../../color/RGBAColor.h"
32 #include "../../../maptools/DataSetLayer.h"
33 #include "../../../raster/Raster.h"
36 #include <QtGui/QDialog>
44 #include <boost/shared_ptr.hpp>
49 class MixtureModelForm;
79 bool eventFilter(QObject* watched, QEvent* event);
84 void keyPressedOverMapDisplay(
int key );
114 const std::string& outpuRasterDSType,
115 const std::map<std::string, std::string>& outpuRasterInfo,
117 Qt::WindowFlags f = 0);
129 bool getOutputRaster(boost::shared_ptr< te::rst::Raster >& outputRasterPtr);
133 void on_okPushButton_clicked();
134 void on_coordTracked_changed(QPointF& coordinate);
135 void on_keyPressedOverMapDisplay(
int key);
136 void on_removeButton_clicked();
137 void on_mapDisplay_extentChanged();
138 void updateComponentsGrid();
166 #endif // __TERRALIB_QT_WIDGETS_RP_INTERNAL_MIXTUREMODELDIALOG_H
CoordTracking * m_coordTracking
Coordinate tracking for map display.
te::qt::widgets::Pan * m_panClickEvent
Pan click event for map display.
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
MixtureModelDialogMDEventFilter * m_keyboardPressTracking
The event filter to detect when user press space bar.
te::color::RGBAColor ** m_selectedPointPattern
The display draw pattern used for selected points.
std::map< std::string, std::vector< double > > m_components
The map of selected components (name -> values).
A event filter to handle map display events.
te::qt::widgets::MapDisplay * m_mDisplay
This class implements a concrete tool to geographic zoom operation using the mouse wheel...
int currentRow
The row position of mouse in map display.
te::qt::widgets::ZoomWheel * m_zoomScroolEvent
Zoom event using mouse scrool for map display.
This class implements a concrete tool to geographic pan operation.
std::map< std::string, std::string > m_outpuRasterInfo
The necessary information to create the raster (as described in te::rst::RasterFactory).
int currentColumn
The column position of mouse in map display.
unsigned int m_maxComponentsInserted
The maximum number of components inserted.
std::map< std::string, te::gm::Coord2D > m_coordinates
The map of selected coordinates (name -> coordinates).
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
A dialog used to execute mixture model decomposition.
std::string m_outpuRasterDSType
Output raster data source type (as described in te::rst::RasterFactory).
A widget to control the display of a set of layers.
boost::intrusive_ptr< DataSetLayer > DataSetLayerPtr
This event signals that the pan button toggled.
Ui::MixtureModelForm * m_uiPtr
User interface.
const te::rst::Raster * m_inputRasterPtr
Input raster pointer.
This class implements a concrete tool to geographic coordinate tracking on mouse move operation...
An abstract class for raster data strucutures.
te::qt::widgets::MapDisplay * m_mapDisplay
The map display to show the input raster.
boost::shared_ptr< te::rst::Raster > m_outputRasterPtr
Output raster pointer.