te::qt::widgets::MixtureModelDialog Class Reference

A dialog used to execute mixture model decomposition. More...

#include <MixtureModelDialog.h>

Inheritance diagram for te::qt::widgets::MixtureModelDialog:

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::Coord2Dm_coordinates
 The map of selected coordinates (name -> coordinates). More...
 
CoordTrackingm_coordTracking
 Coordinate tracking for map display. More...
 
const te::rst::Rasterm_inputRasterPtr
 Input raster pointer. More...
 
MixtureModelDialogMDEventFilterm_keyboardPressTracking
 The event filter to detect when user press space bar. More...
 
te::qt::widgets::MapDisplaym_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::Rasterm_outputRasterPtr
 Output raster pointer. More...
 
te::qt::widgets::Panm_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::ZoomWheelm_zoomScroolEvent
 Zoom event using mouse scrool for map display. More...
 

Detailed Description

A dialog used to execute mixture model decomposition.

Definition at line 101 of file MixtureModelDialog.h.

Constructor & Destructor Documentation

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.

Parameters
inputRasterPtrInput raster pointer.
outpuRasterDSTypeOutput raster data source type (as described in te::rst::RasterFactory).
outpuRasterInfoThe necessary information to create the raster (as described in te::rst::RasterFactory).
parentParent widget pointer.
fWidget flags.
te::qt::widgets::MixtureModelDialog::~MixtureModelDialog ( )

Destructor.

Member Function Documentation

bool te::qt::widgets::MixtureModelDialog::getOutputRaster ( boost::shared_ptr< te::rst::Raster > &  outputRasterPtr)

Returns the output result raster.

Parameters
outputRasterPtrA pointer to the output result raster
Returns
true if OK, false on errors.
void te::qt::widgets::MixtureModelDialog::on_coordTracked_changed ( QPointF &  coordinate)
protectedslot
void te::qt::widgets::MixtureModelDialog::on_keyPressedOverMapDisplay ( int  key)
protectedslot
void te::qt::widgets::MixtureModelDialog::on_mapDisplay_extentChanged ( )
protectedslot
void te::qt::widgets::MixtureModelDialog::on_okPushButton_clicked ( )
protectedslot
void te::qt::widgets::MixtureModelDialog::on_removeButton_clicked ( )
protectedslot
void te::qt::widgets::MixtureModelDialog::updateComponentsGrid ( )
protectedslot

Member Data Documentation

int te::qt::widgets::MixtureModelDialog::currentColumn
private

The column position of mouse in map display.

Definition at line 151 of file MixtureModelDialog.h.

int te::qt::widgets::MixtureModelDialog::currentRow
private

The row position of mouse in map display.

Definition at line 152 of file MixtureModelDialog.h.

std::map<std::string, std::vector<double> > te::qt::widgets::MixtureModelDialog::m_components
private

The map of selected components (name -> values).

Definition at line 158 of file MixtureModelDialog.h.

std::map<std::string, te::gm::Coord2D> te::qt::widgets::MixtureModelDialog::m_coordinates
private

The map of selected coordinates (name -> coordinates).

Definition at line 159 of file MixtureModelDialog.h.

CoordTracking* te::qt::widgets::MixtureModelDialog::m_coordTracking
private

Coordinate tracking for map display.

Definition at line 156 of file MixtureModelDialog.h.

const te::rst::Raster* te::qt::widgets::MixtureModelDialog::m_inputRasterPtr
private

Input raster pointer.

Definition at line 147 of file MixtureModelDialog.h.

MixtureModelDialogMDEventFilter* te::qt::widgets::MixtureModelDialog::m_keyboardPressTracking
private

The event filter to detect when user press space bar.

Definition at line 157 of file MixtureModelDialog.h.

te::qt::widgets::MapDisplay* te::qt::widgets::MixtureModelDialog::m_mapDisplay
private

The map display to show the input raster.

Definition at line 153 of file MixtureModelDialog.h.

unsigned int te::qt::widgets::MixtureModelDialog::m_maxComponentsInserted
private

The maximum number of components inserted.

Definition at line 160 of file MixtureModelDialog.h.

std::string te::qt::widgets::MixtureModelDialog::m_outpuRasterDSType
private

Output raster data source type (as described in te::rst::RasterFactory).

Definition at line 148 of file MixtureModelDialog.h.

std::map<std::string, std::string> te::qt::widgets::MixtureModelDialog::m_outpuRasterInfo
private

The necessary information to create the raster (as described in te::rst::RasterFactory).

Definition at line 149 of file MixtureModelDialog.h.

boost::shared_ptr<te::rst::Raster> te::qt::widgets::MixtureModelDialog::m_outputRasterPtr
private

Output raster pointer.

Definition at line 150 of file MixtureModelDialog.h.

te::qt::widgets::Pan* te::qt::widgets::MixtureModelDialog::m_panClickEvent
private

Pan click event for map display.

Definition at line 154 of file MixtureModelDialog.h.

te::color::RGBAColor** te::qt::widgets::MixtureModelDialog::m_selectedPointPattern
private

The display draw pattern used for selected points.

Definition at line 161 of file MixtureModelDialog.h.

Ui::MixtureModelForm* te::qt::widgets::MixtureModelDialog::m_uiPtr
private

User interface.

Definition at line 146 of file MixtureModelDialog.h.

te::qt::widgets::ZoomWheel* te::qt::widgets::MixtureModelDialog::m_zoomScroolEvent
private

Zoom event using mouse scrool for map display.

Definition at line 155 of file MixtureModelDialog.h.


The documentation for this class was generated from the following file: