te::qt::widgets::CloudDetectionDialog Class Reference

.... More...

#include <CloudDetectionDialog.h>

Inheritance diagram for te::qt::widgets::CloudDetectionDialog:

Signals

void addLayer (te::map::AbstractLayerPtr layer)
 
void closeTool ()
 

Public Member Functions

 CloudDetectionDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 
void setActionGroup (QActionGroup *actionGroup)
 
void setLayers (std::list< te::map::AbstractLayerPtr > layers)
 
void setMapDisplay (te::qt::widgets::MapDisplay *mapDisplay)
 
void setUserPath (std::string path)
 
 ~CloudDetectionDialog ()
 

Protected Slots

void onCellChanged (int row, int column)
 
void onCellClicked (int row, int column)
 
void onCellDoubleClicked (int row, int column)
 
void onCloudBandComboBoxActivated (int index)
 
void onCloudLayerComboBoxActivated (int index)
 
void onDownToolButtonClicked ()
 
void onEnvelopeAcquired (te::gm::Envelope env)
 
void onFilterCellChanged (int row, int column)
 
void onFilterCellClicked (int row, int column)
 
void onFilterCellDoubleClicked (int row, int column)
 
void onMapDisplayExtentChanged ()
 
void onOkPushButtonClicked ()
 
void onPreviewCheckBoxToggled (bool isChecked)
 
void onSearchCloudLayerToolButtonClicked ()
 
void onSearchShadowLayerToolButtonClicked ()
 
void onShadowBandComboBoxActivated (int index)
 
void onShadowLayerComboBoxActivated (int index)
 
void onStyleToolButtonClicked ()
 
void onTargetDatasourceToolButtonClicked ()
 
void onTargetFileToolButtonClicked ()
 
void onUpToolButtonClicked ()
 

Protected Member Functions

void applyPreview ()
 
void clearCanvas ()
 
void closeEvent (QCloseEvent *e)
 
std::unique_ptr< te::mem::DataSetcreateDataSet (te::da::DataSetType *dsType, std::vector< te::gm::Geometry *> &geoms, std::vector< double > &geomsValues)
 
std::unique_ptr< te::da::DataSetTypecreateDataSetType (std::string dataSetName, int srid)
 
void drawGeom ()
 
void drawHistogram ()
 
bool execute ()
 
void getRasterFromROI ()
 
void readStyle ()
 
void saveDataSet (te::mem::DataSet *dataSet, te::da::DataSetType *dsType, te::da::DataSourcePtr ds, std::string dataSetName)
 
void setCloudBands ()
 
void setCloudMinMax ()
 
void setShadowBands ()
 
void setShadowMinMax ()
 
bool vectorize (te::rst::Raster *raster, std::vector< te::gm::Geometry *> &geomVec, std::vector< double > &geomsValues)
 
void writeStyle ()
 

Private Attributes

te::map::AbstractLayerPtr m_cloudLayer
 
std::vector< double > m_cloudMaxValue
 
std::vector< double > m_cloudMinValue
 
std::unique_ptr< te::rst::Rasterm_cloudRaster
 
std::unique_ptr< te::rst::Rasterm_cloudRasterPreview
 
std::unique_ptr< te::gm::Geometrym_geom
 
std::unique_ptr< te::qt::widgets::RasterHistogramWidgetm_histogramWidget
 
int m_lastSelectedRow
 
std::string m_lastText
 
std::list< te::map::AbstractLayerPtrm_layers
 
te::qt::widgets::MapDisplaym_mapDisplay
 
std::unique_ptr< te::qt::widgets::RpToolsWidgetm_navigator
 
te::map::AbstractLayerPtr m_outputLayer
 
std::unique_ptr< te::qt::widgets::PolygonSymbolizerWidgetm_polygonSymbolizerWidget
 
te::map::AbstractLayerPtr m_shadowLayer
 
std::vector< double > m_shadowMaxValue
 
std::vector< double > m_shadowMinValue
 
std::unique_ptr< te::rst::Rasterm_shadowRaster
 
std::unique_ptr< te::rst::Rasterm_shadowRasterPreview
 
te::se::Symbolizerm_symbolizer
 
std::unique_ptr< Ui::CloudDetectionDialogForm > m_ui
 
std::string m_userPath
 

Detailed Description

....

Definition at line 67 of file CloudDetectionDialog.h.

Constructor & Destructor Documentation

◆ CloudDetectionDialog()

te::qt::widgets::CloudDetectionDialog::CloudDetectionDialog ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

◆ ~CloudDetectionDialog()

te::qt::widgets::CloudDetectionDialog::~CloudDetectionDialog ( )

Member Function Documentation

◆ addLayer

void te::qt::widgets::CloudDetectionDialog::addLayer ( te::map::AbstractLayerPtr  layer)
signal

◆ applyPreview()

void te::qt::widgets::CloudDetectionDialog::applyPreview ( )
protected

◆ clearCanvas()

void te::qt::widgets::CloudDetectionDialog::clearCanvas ( )
protected

◆ closeEvent()

void te::qt::widgets::CloudDetectionDialog::closeEvent ( QCloseEvent *  e)
protected

◆ closeTool

void te::qt::widgets::CloudDetectionDialog::closeTool ( )
signal

◆ createDataSet()

std::unique_ptr<te::mem::DataSet> te::qt::widgets::CloudDetectionDialog::createDataSet ( te::da::DataSetType dsType,
std::vector< te::gm::Geometry *> &  geoms,
std::vector< double > &  geomsValues 
)
protected

Function used to create the output data

◆ createDataSetType()

std::unique_ptr<te::da::DataSetType> te::qt::widgets::CloudDetectionDialog::createDataSetType ( std::string  dataSetName,
int  srid 
)
protected

Function used to create the output dataset type

◆ drawGeom()

void te::qt::widgets::CloudDetectionDialog::drawGeom ( )
protected

◆ drawHistogram()

void te::qt::widgets::CloudDetectionDialog::drawHistogram ( )
protected

◆ execute()

bool te::qt::widgets::CloudDetectionDialog::execute ( )
protected

◆ getRasterFromROI()

void te::qt::widgets::CloudDetectionDialog::getRasterFromROI ( )
protected

◆ onCellChanged

void te::qt::widgets::CloudDetectionDialog::onCellChanged ( int  row,
int  column 
)
protectedslot

◆ onCellClicked

void te::qt::widgets::CloudDetectionDialog::onCellClicked ( int  row,
int  column 
)
protectedslot

◆ onCellDoubleClicked

void te::qt::widgets::CloudDetectionDialog::onCellDoubleClicked ( int  row,
int  column 
)
protectedslot

◆ onCloudBandComboBoxActivated

void te::qt::widgets::CloudDetectionDialog::onCloudBandComboBoxActivated ( int  index)
protectedslot

◆ onCloudLayerComboBoxActivated

void te::qt::widgets::CloudDetectionDialog::onCloudLayerComboBoxActivated ( int  index)
protectedslot

◆ onDownToolButtonClicked

void te::qt::widgets::CloudDetectionDialog::onDownToolButtonClicked ( )
protectedslot

◆ onEnvelopeAcquired

void te::qt::widgets::CloudDetectionDialog::onEnvelopeAcquired ( te::gm::Envelope  env)
protectedslot

◆ onFilterCellChanged

void te::qt::widgets::CloudDetectionDialog::onFilterCellChanged ( int  row,
int  column 
)
protectedslot

◆ onFilterCellClicked

void te::qt::widgets::CloudDetectionDialog::onFilterCellClicked ( int  row,
int  column 
)
protectedslot

◆ onFilterCellDoubleClicked

void te::qt::widgets::CloudDetectionDialog::onFilterCellDoubleClicked ( int  row,
int  column 
)
protectedslot

◆ onMapDisplayExtentChanged

void te::qt::widgets::CloudDetectionDialog::onMapDisplayExtentChanged ( )
protectedslot

◆ onOkPushButtonClicked

void te::qt::widgets::CloudDetectionDialog::onOkPushButtonClicked ( )
protectedslot

◆ onPreviewCheckBoxToggled

void te::qt::widgets::CloudDetectionDialog::onPreviewCheckBoxToggled ( bool  isChecked)
protectedslot

◆ onSearchCloudLayerToolButtonClicked

void te::qt::widgets::CloudDetectionDialog::onSearchCloudLayerToolButtonClicked ( )
protectedslot

◆ onSearchShadowLayerToolButtonClicked

void te::qt::widgets::CloudDetectionDialog::onSearchShadowLayerToolButtonClicked ( )
protectedslot

◆ onShadowBandComboBoxActivated

void te::qt::widgets::CloudDetectionDialog::onShadowBandComboBoxActivated ( int  index)
protectedslot

◆ onShadowLayerComboBoxActivated

void te::qt::widgets::CloudDetectionDialog::onShadowLayerComboBoxActivated ( int  index)
protectedslot

◆ onStyleToolButtonClicked

void te::qt::widgets::CloudDetectionDialog::onStyleToolButtonClicked ( )
protectedslot

◆ onTargetDatasourceToolButtonClicked

void te::qt::widgets::CloudDetectionDialog::onTargetDatasourceToolButtonClicked ( )
protectedslot

◆ onTargetFileToolButtonClicked

void te::qt::widgets::CloudDetectionDialog::onTargetFileToolButtonClicked ( )
protectedslot

◆ onUpToolButtonClicked

void te::qt::widgets::CloudDetectionDialog::onUpToolButtonClicked ( )
protectedslot

◆ readStyle()

void te::qt::widgets::CloudDetectionDialog::readStyle ( )
protected

◆ saveDataSet()

void te::qt::widgets::CloudDetectionDialog::saveDataSet ( te::mem::DataSet dataSet,
te::da::DataSetType dsType,
te::da::DataSourcePtr  ds,
std::string  dataSetName 
)
protected

Function used to save the output dataset

◆ setActionGroup()

void te::qt::widgets::CloudDetectionDialog::setActionGroup ( QActionGroup *  actionGroup)

◆ setCloudBands()

void te::qt::widgets::CloudDetectionDialog::setCloudBands ( )
protected

◆ setCloudMinMax()

void te::qt::widgets::CloudDetectionDialog::setCloudMinMax ( )
protected

◆ setLayers()

void te::qt::widgets::CloudDetectionDialog::setLayers ( std::list< te::map::AbstractLayerPtr layers)

◆ setMapDisplay()

void te::qt::widgets::CloudDetectionDialog::setMapDisplay ( te::qt::widgets::MapDisplay mapDisplay)

◆ setShadowBands()

void te::qt::widgets::CloudDetectionDialog::setShadowBands ( )
protected

◆ setShadowMinMax()

void te::qt::widgets::CloudDetectionDialog::setShadowMinMax ( )
protected

◆ setUserPath()

void te::qt::widgets::CloudDetectionDialog::setUserPath ( std::string  path)

◆ vectorize()

bool te::qt::widgets::CloudDetectionDialog::vectorize ( te::rst::Raster raster,
std::vector< te::gm::Geometry *> &  geomVec,
std::vector< double > &  geomsValues 
)
protected

◆ writeStyle()

void te::qt::widgets::CloudDetectionDialog::writeStyle ( )
protected

Member Data Documentation

◆ m_cloudLayer

te::map::AbstractLayerPtr te::qt::widgets::CloudDetectionDialog::m_cloudLayer
private

Definition at line 183 of file CloudDetectionDialog.h.

◆ m_cloudMaxValue

std::vector<double> te::qt::widgets::CloudDetectionDialog::m_cloudMaxValue
private

Definition at line 197 of file CloudDetectionDialog.h.

◆ m_cloudMinValue

std::vector<double> te::qt::widgets::CloudDetectionDialog::m_cloudMinValue
private

Definition at line 196 of file CloudDetectionDialog.h.

◆ m_cloudRaster

std::unique_ptr<te::rst::Raster> te::qt::widgets::CloudDetectionDialog::m_cloudRaster
private

Definition at line 187 of file CloudDetectionDialog.h.

◆ m_cloudRasterPreview

std::unique_ptr<te::rst::Raster> te::qt::widgets::CloudDetectionDialog::m_cloudRasterPreview
private

Definition at line 189 of file CloudDetectionDialog.h.

◆ m_geom

std::unique_ptr<te::gm::Geometry> te::qt::widgets::CloudDetectionDialog::m_geom
private

Definition at line 192 of file CloudDetectionDialog.h.

◆ m_histogramWidget

std::unique_ptr<te::qt::widgets::RasterHistogramWidget> te::qt::widgets::CloudDetectionDialog::m_histogramWidget
private

Definition at line 178 of file CloudDetectionDialog.h.

◆ m_lastSelectedRow

int te::qt::widgets::CloudDetectionDialog::m_lastSelectedRow
private

Definition at line 200 of file CloudDetectionDialog.h.

◆ m_lastText

std::string te::qt::widgets::CloudDetectionDialog::m_lastText
private

Definition at line 195 of file CloudDetectionDialog.h.

◆ m_layers

std::list<te::map::AbstractLayerPtr> te::qt::widgets::CloudDetectionDialog::m_layers
private

Definition at line 182 of file CloudDetectionDialog.h.

◆ m_mapDisplay

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

Definition at line 193 of file CloudDetectionDialog.h.

◆ m_navigator

std::unique_ptr<te::qt::widgets::RpToolsWidget> te::qt::widgets::CloudDetectionDialog::m_navigator
private

Definition at line 180 of file CloudDetectionDialog.h.

◆ m_outputLayer

te::map::AbstractLayerPtr te::qt::widgets::CloudDetectionDialog::m_outputLayer
private

Definition at line 185 of file CloudDetectionDialog.h.

◆ m_polygonSymbolizerWidget

std::unique_ptr<te::qt::widgets::PolygonSymbolizerWidget> te::qt::widgets::CloudDetectionDialog::m_polygonSymbolizerWidget
private

Definition at line 204 of file CloudDetectionDialog.h.

◆ m_shadowLayer

te::map::AbstractLayerPtr te::qt::widgets::CloudDetectionDialog::m_shadowLayer
private

Definition at line 184 of file CloudDetectionDialog.h.

◆ m_shadowMaxValue

std::vector<double> te::qt::widgets::CloudDetectionDialog::m_shadowMaxValue
private

Definition at line 199 of file CloudDetectionDialog.h.

◆ m_shadowMinValue

std::vector<double> te::qt::widgets::CloudDetectionDialog::m_shadowMinValue
private

Definition at line 198 of file CloudDetectionDialog.h.

◆ m_shadowRaster

std::unique_ptr<te::rst::Raster> te::qt::widgets::CloudDetectionDialog::m_shadowRaster
private

Definition at line 188 of file CloudDetectionDialog.h.

◆ m_shadowRasterPreview

std::unique_ptr<te::rst::Raster> te::qt::widgets::CloudDetectionDialog::m_shadowRasterPreview
private

Definition at line 190 of file CloudDetectionDialog.h.

◆ m_symbolizer

te::se::Symbolizer* te::qt::widgets::CloudDetectionDialog::m_symbolizer
private

Definition at line 205 of file CloudDetectionDialog.h.

◆ m_ui

std::unique_ptr<Ui::CloudDetectionDialogForm> te::qt::widgets::CloudDetectionDialog::m_ui
private

Definition at line 176 of file CloudDetectionDialog.h.

◆ m_userPath

std::string te::qt::widgets::CloudDetectionDialog::m_userPath
private

Definition at line 202 of file CloudDetectionDialog.h.


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