A dialog used to execute mixture model decomposition. More...
#include <MixtureModelDialog.h>
  
 Public Member Functions | |
| bool | getOutputRaster (boost::shared_ptr< te::rst::Raster > &outputRasterPtr) | 
| Returns the output result raster.  More... | |
| MixtureModelDialog (const te::map::DataSetLayerPtr &inputLayerPtr, const std::string &outpuRasterDSType, const std::map< std::string, std::string > &outpuRasterInfo, QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructs a basic dialog which is a child of parent, with widget flags set to f.  More... | |
| ~MixtureModelDialog () | |
| Destructor.  More... | |
Protected Slots | |
| void | on_coordTracked_changed (QPointF &coordinate) | 
| void | on_keyPressedOverMapDisplay (int key) | 
| void | on_mapDisplay_extentChanged () | 
| void | on_okPushButton_clicked () | 
| void | on_removeButton_clicked () | 
| void | updateComponentsGrid () | 
Private Attributes | |
| int | currentColumn | 
| The column position of mouse in map display.  More... | |
| int | currentRow | 
| The row position of mouse in map display.  More... | |
| std::map< std::string,  std::vector< double > >  | m_components | 
| The map of selected components (name -> values).  More... | |
| std::map< std::string,  te::gm::Coord2D >  | m_coordinates | 
| The map of selected coordinates (name -> coordinates).  More... | |
| CoordTracking * | m_coordTracking | 
| Coordinate tracking for map display.  More... | |
| const te::rst::Raster * | m_inputRasterPtr | 
| Input raster pointer.  More... | |
| MixtureModelDialogMDEventFilter * | m_keyboardPressTracking | 
| The event filter to detect when user press space bar.  More... | |
| te::qt::widgets::MapDisplay * | m_mapDisplay | 
| The map display to show the input raster.  More... | |
| unsigned int | m_maxComponentsInserted | 
| The maximum number of components inserted.  More... | |
| std::string | m_outpuRasterDSType | 
| Output raster data source type (as described in te::rst::RasterFactory).  More... | |
| std::map< std::string,  std::string >  | m_outpuRasterInfo | 
| The necessary information to create the raster (as described in te::rst::RasterFactory).  More... | |
| boost::shared_ptr < te::rst::Raster >  | m_outputRasterPtr | 
| Output raster pointer.  More... | |
| te::qt::widgets::Pan * | m_panClickEvent | 
| Pan click event for map display.  More... | |
| te::color::RGBAColor ** | m_selectedPointPattern | 
| The display draw pattern used for selected points.  More... | |
| Ui::MixtureModelForm * | m_uiPtr | 
| User interface.  More... | |
| te::qt::widgets::ZoomWheel * | m_zoomScroolEvent | 
| Zoom event using mouse scrool for map display.  More... | |
A dialog used to execute mixture model decomposition.
Definition at line 97 of file MixtureModelDialog.h.
| te::qt::widgets::MixtureModelDialog::MixtureModelDialog | ( | const te::map::DataSetLayerPtr & | inputLayerPtr, | 
| const std::string & | outpuRasterDSType, | ||
| const std::map< std::string, std::string > & | outpuRasterInfo, | ||
| QWidget * | parent = 0,  | 
        ||
| Qt::WindowFlags | f = 0  | 
        ||
| ) | 
Constructs a basic dialog which is a child of parent, with widget flags set to f.
| inputRasterPtr | Input raster pointer. | 
| outpuRasterDSType | Output raster data source type (as described in te::rst::RasterFactory). | 
| outpuRasterInfo | The necessary information to create the raster (as described in te::rst::RasterFactory). | 
| parent | Parent widget pointer. | 
| f | Widget flags. | 
Definition at line 83 of file MixtureModelDialog.cpp.
References te::qt::widgets::MapDisplay::Center, te::common::Convert2String(), te::rp::GetBandNames(), te::rst::Raster::getExtent(), te::rst::Raster::getNumberOfBands(), te::rst::Raster::getSRID(), m_coordTracking, m_inputRasterPtr, m_keyboardPressTracking, m_mapDisplay, m_panClickEvent, m_selectedPointPattern, m_uiPtr, m_zoomScroolEvent, on_coordTracked_changed(), on_keyPressedOverMapDisplay(), on_mapDisplay_extentChanged(), on_okPushButton_clicked(), PATTERN_W, te::color::RGBAColor::setColor(), te::qt::widgets::MapDisplay::setExtent(), te::map::MapDisplay::setLayerList(), te::qt::widgets::MapDisplay::setResizePolicy(), te::map::MapDisplay::setSRID(), TE_OPAQUE, and TE_TRANSPARENT.
| te::qt::widgets::MixtureModelDialog::~MixtureModelDialog | ( | ) | 
| bool te::qt::widgets::MixtureModelDialog::getOutputRaster | ( | boost::shared_ptr< te::rst::Raster > & | outputRasterPtr | ) | 
Returns the output result raster.
| outputRasterPtr | A pointer to the output result raster | 
Definition at line 179 of file MixtureModelDialog.cpp.
      
  | 
  protectedslot | 
Definition at line 286 of file MixtureModelDialog.cpp.
References te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by MixtureModelDialog().
      
  | 
  protectedslot | 
Definition at line 294 of file MixtureModelDialog.cpp.
Referenced by MixtureModelDialog().
      
  | 
  protectedslot | 
Definition at line 335 of file MixtureModelDialog.cpp.
References te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, PATTERN_W, te::qt::widgets::Canvas::setWindow(), te::gm::Point::setX(), te::gm::Point::setY(), te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by MixtureModelDialog().
      
  | 
  protectedslot | 
Definition at line 191 of file MixtureModelDialog.cpp.
References te::rp::MixtureModel::execute(), te::rp::MixtureModel::initialize(), te::rp::MixtureModel::InputParameters::m_components, te::rp::MixtureModel::OutputParameters::m_createErrorRaster, te::rp::MixtureModel::InputParameters::m_inputRasterBands, te::rp::MixtureModel::InputParameters::m_inputRasterPtr, te::rp::MixtureModel::InputParameters::m_inputSensorBands, te::rp::MixtureModel::OutputParameters::m_normalizeOutput, te::rp::MixtureModel::OutputParameters::m_rInfo, te::rp::MixtureModel::OutputParameters::m_rType, te::rp::MixtureModel::InputParameters::m_strategyName, and te::rp::MixtureModel::InputParameters::setMixtureModelStrategyParams().
Referenced by MixtureModelDialog().
      
  | 
  protectedslot | 
Definition at line 322 of file MixtureModelDialog.cpp.
      
  | 
  protectedslot | 
Definition at line 367 of file MixtureModelDialog.cpp.
      
  | 
  private | 
The column position of mouse in map display.
Definition at line 147 of file MixtureModelDialog.h.
      
  | 
  private | 
The row position of mouse in map display.
Definition at line 148 of file MixtureModelDialog.h.
      
  | 
  private | 
The map of selected components (name -> values).
Definition at line 154 of file MixtureModelDialog.h.
      
  | 
  private | 
The map of selected coordinates (name -> coordinates).
Definition at line 155 of file MixtureModelDialog.h.
      
  | 
  private | 
Coordinate tracking for map display.
Definition at line 152 of file MixtureModelDialog.h.
Referenced by MixtureModelDialog().
      
  | 
  private | 
Input raster pointer.
Definition at line 143 of file MixtureModelDialog.h.
Referenced by MixtureModelDialog().
      
  | 
  private | 
The event filter to detect when user press space bar.
Definition at line 153 of file MixtureModelDialog.h.
Referenced by MixtureModelDialog().
      
  | 
  private | 
The map display to show the input raster.
Definition at line 149 of file MixtureModelDialog.h.
Referenced by MixtureModelDialog().
      
  | 
  private | 
The maximum number of components inserted.
Definition at line 156 of file MixtureModelDialog.h.
      
  | 
  private | 
Output raster data source type (as described in te::rst::RasterFactory).
Definition at line 144 of file MixtureModelDialog.h.
      
  | 
  private | 
The necessary information to create the raster (as described in te::rst::RasterFactory).
Definition at line 145 of file MixtureModelDialog.h.
      
  | 
  private | 
Output raster pointer.
Definition at line 146 of file MixtureModelDialog.h.
      
  | 
  private | 
Pan click event for map display.
Definition at line 150 of file MixtureModelDialog.h.
Referenced by MixtureModelDialog().
      
  | 
  private | 
The display draw pattern used for selected points.
Definition at line 157 of file MixtureModelDialog.h.
Referenced by MixtureModelDialog().
      
  | 
  private | 
User interface.
Definition at line 142 of file MixtureModelDialog.h.
Referenced by MixtureModelDialog().
      
  | 
  private | 
Zoom event using mouse scrool for map display.
Definition at line 151 of file MixtureModelDialog.h.
Referenced by MixtureModelDialog().