26 #ifndef __TERRALIB_QT_WIDGETS_RP_INTERNAL_CLOUDDETECTIONDIALOG_H    27 #define __TERRALIB_QT_WIDGETS_RP_INTERNAL_CLOUDDETECTIONDIALOG_H    30 #include "../Config.h"    32 #include "../../../dataaccess/datasource/DataSource.h"    33 #include "../../../dataaccess/datasource/DataSourceInfo.h"    34 #include "../../../maptools/AbstractLayer.h"    35 #include "../../../qt/widgets/rp/RpToolsWidget.h"    36 #include "../se/PolygonSymbolizerWidget.h"    45 namespace Ui { 
class CloudDetectionDialogForm; }
    50   namespace da  { 
class DataSetType; }
    51   namespace gm { 
class Envelope; }
    52   namespace mem { 
class DataSet; }
    60       class RasterHistogramWidget;
    77           void setLayers(std::list<te::map::AbstractLayerPtr> layers);
    81           void setActionGroup(QActionGroup* actionGroup);
    85           void onCloudLayerComboBoxActivated(
int index);
    87           void onShadowLayerComboBoxActivated(
int index);
    89           void onCloudBandComboBoxActivated(
int index);
    91           void onShadowBandComboBoxActivated(
int index);
    93           void onSearchCloudLayerToolButtonClicked();
    95           void onSearchShadowLayerToolButtonClicked();
    97           void onUpToolButtonClicked();
    99           void onDownToolButtonClicked();
   101           void onPreviewCheckBoxToggled(
bool isChecked);
   103           void onCellClicked(
int row, 
int column);
   105           void onCellDoubleClicked(
int row, 
int column);
   107           void onCellChanged(
int row, 
int column);
   109           void onFilterCellClicked(
int row, 
int column);
   111           void onFilterCellDoubleClicked(
int row, 
int column);
   113           void onFilterCellChanged(
int row, 
int column);
   115           void onTargetDatasourceToolButtonClicked();
   117           void onTargetFileToolButtonClicked();
   121           void onMapDisplayExtentChanged();
   123           void onOkPushButtonClicked();
   125           void onStyleToolButtonClicked();
   137           bool vectorize(
te::rst::Raster* raster, std::vector<te::gm::Geometry*>& geomVec, std::vector< double >& geomsValues);
   139           void setCloudBands();
   141           void setShadowBands();
   143           void setCloudMinMax();
   145           void setShadowMinMax();
   147           void drawHistogram();
   153           void getRasterFromROI();
   156           std::unique_ptr<te::da::DataSetType> createDataSetType(std::string dataSetName, 
int srid);
   159           std::unique_ptr<te::mem::DataSet> createDataSet(
te::da::DataSetType* dsType, std::vector<te::gm::Geometry*>& geoms, std::vector< double >& geomsValues);
   166           void closeEvent(QCloseEvent* e);
   170           std::unique_ptr<Ui::CloudDetectionDialogForm> 
m_ui;
   186           std::unique_ptr<te::gm::Geometry> 
m_geom;
   204 #endif  // __TERRALIB_QT_PLUGINS_RP_INTERNAL_CLOUDDETECTIONDIALOG_H 
boost::shared_ptr< DataSource > DataSourcePtr
 
A class that models the description of a dataset. 
 
A Symbolizer describes how a feature is to appear on a map. 
 
Implementation of a random-access dataset class for the TerraLib In-Memory Data Access driver...
 
An Envelope defines a 2D rectangular region. 
 
An abstract class for raster data strucutures. 
 
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr