te::mnt::MNTGenerationDialog Class Reference

#include <MNTGenerationDialog.h>

Inheritance diagram for te::mnt::MNTGenerationDialog:
QDialog

Public Member Functions

te::map::AbstractLayerPtr getLayer ()
 
 MNTGenerationDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 
void setLayers (std::list< te::map::AbstractLayerPtr > layers)
 Set the layer that can be used. More...
 
void setSRID (int newSRID)
 
 ~MNTGenerationDialog ()
 

Protected Slots

void onCancelPushButtonClicked ()
 
void onDimCLineEditEditingFinished ()
 
void onDimLLineEditEditingFinished ()
 
void onGridToggled ()
 
void onInputComboBoxChanged (int index)
 
void onInputIsolinesToolButtonClicked ()
 
void onInputSamplesToolButtonClicked ()
 
void oninterpolatorComboBoxChanged (int index)
 
void onIsolinesComboBoxChanged (int index)
 
void onlayerSearchToolButtonClicked ()
 
void onOkPushButtonClicked ()
 
void onResXLineEditEditingFinished ()
 
void onResYLineEditEditingFinished ()
 
void onSamplesComboBoxChanged (int index)
 
void onSrsToolButtonClicked ()
 
void onTargetDatasourceToolButtonPressed ()
 
void onTargetFileToolButtonPressed ()
 
void onVectorToggled ()
 

Private Attributes

te::da::DataSourcePtr m_inDataSource
 input DataSourcePtr More...
 
te::map::AbstractLayerPtr m_inputLayer
 Input layer. More...
 
mntType m_inputType
 Input type (SAMPLE, TIN, GRID) More...
 
std::string m_inSetName
 input DataSetLayer name More...
 
Interpolator m_inter
 
te::da::DataSourcePtr m_isoinDataSource
 input DataSourcePtr More...
 
te::map::AbstractLayerPtr m_isoinputLayer
 Input layer. More...
 
std::string m_isoinSetName
 input DataSetLayer name More...
 
std::list< te::map::AbstractLayerPtrm_layers
 List of layers. More...
 
std::string m_outputArchive
 Archive information. More...
 
te::da::DataSourceInfoPtr m_outputDatasource
 DataSource information. More...
 
te::map::AbstractLayerPtr m_outputLayer
 Generated Layer. More...
 
int m_outsrid
 
te::da::DataSourcePtr m_sampleinDataSource
 input DataSourcePtr More...
 
te::map::AbstractLayerPtr m_sampleinputLayer
 Input layer. More...
 
std::string m_sampleinSetName
 input DataSetLayer name More...
 
std::unique_ptr< Ui::MNTGenerationDialogForm > m_ui
 

Detailed Description

Definition at line 50 of file MNTGenerationDialog.h.

Constructor & Destructor Documentation

te::mnt::MNTGenerationDialog::~MNTGenerationDialog ( )
default

Referenced by MNTGenerationDialog().

Member Function Documentation

te::map::AbstractLayerPtr te::mnt::MNTGenerationDialog::getLayer ( )
void te::mnt::MNTGenerationDialog::onCancelPushButtonClicked ( )
protectedslot

Definition at line 1084 of file MNTGenerationDialog.cpp.

Referenced by MNTGenerationDialog().

void te::mnt::MNTGenerationDialog::onDimCLineEditEditingFinished ( )
protectedslot
void te::mnt::MNTGenerationDialog::onDimLLineEditEditingFinished ( )
protectedslot
void te::mnt::MNTGenerationDialog::onGridToggled ( )
protectedslot

Definition at line 235 of file MNTGenerationDialog.cpp.

References m_inputLayer, m_ui, and onInputComboBoxChanged().

Referenced by MNTGenerationDialog(), and setLayers().

void te::mnt::MNTGenerationDialog::onInputIsolinesToolButtonClicked ( )
protectedslot
void te::mnt::MNTGenerationDialog::onInputSamplesToolButtonClicked ( )
protectedslot
void te::mnt::MNTGenerationDialog::oninterpolatorComboBoxChanged ( int  index)
protectedslot
void te::mnt::MNTGenerationDialog::onlayerSearchToolButtonClicked ( )
protectedslot
void te::mnt::MNTGenerationDialog::onOkPushButtonClicked ( )
protectedslot

Definition at line 760 of file MNTGenerationDialog.cpp.

References te::qt::widgets::applyRasterMultiResolution(), b, compose::bands, te::rst::Bicubic, te::rst::Bilinear, te::mnt::SplineInterpolationGrassMitasova::calculateGrid(), CalculateGrid(), te::qt::widgets::createLayer(), te::dt::DOUBLE_TYPE, te::core::FileSystem::exists(), te::mnt::SplineInterpolationGrass::generateGrid(), te::da::GetFirstPropertyPos(), te::rp::Contrast::getGainAndOffset(), te::mnt::CalculateGrid::getMax(), te::mnt::Tin::getMax(), te::mnt::CalculateGrid::getMin(), te::mnt::Tin::getMin(), te::map::GetRaster(), te::rst::GrayIdxCInt, te::mnt::GRID, te::sa::Grid, te::common::TaskProgress::isActive(), te::mnt::ISOLINE, te::mnt::Isolines, te::mnt::Linear, te::map::RasterTransform::LINEAR_CONTRAST, te::rp::Contrast::InputParameters::LinearContrastT, m_inDataSource, m_inputLayer, m_inputType, m_inSetName, m_inter, m_isoinDataSource, m_isoinputLayer, m_isoinSetName, m_outputLayer, m_outsrid, m_sampleinDataSource, m_sampleinputLayer, m_sampleinSetName, m_ui, te::rst::RasterFactory::make(), te::mnt::Media, te::mnt::MediaCotaQuad, te::mnt::MediaPonderada, te::mnt::MediaQuad, te::mnt::Mitasova, te::mnt::OTHER, te::common::TaskProgress::pulse(), te::mnt::Quintico, te::mnt::QuinticoBrkLine, te::dt::RASTER_TYPE, mixture::rst, te::mnt::TINCalculateGrid::run(), te::mnt::CalculateGrid::run(), te::mnt::SAMPLE, te::mnt::Samples, te::mnt::TINCalculateGrid::setInput(), te::mnt::CalculateGrid::setInput(), te::mnt::TINCalculateGrid::setOutput(), te::mnt::CalculateGrid::setOutput(), te::mnt::TINCalculateGrid::setParams(), te::mnt::CalculateGrid::setParams(), te::mnt::CalculateGrid::setSRID(), te::mnt::Tin::setSRID(), te::rst::Raster::setValues(), te::mnt::SplineBicubico, te::mnt::SplineBilinear, TE_TR, te::mnt::TIN, TINCalculateGrid(), te::common::TaskProgress::UNDEFINED, te::mnt::Vizinho, and te::common::Exception::what().

Referenced by MNTGenerationDialog().

void te::mnt::MNTGenerationDialog::onResXLineEditEditingFinished ( )
protectedslot
void te::mnt::MNTGenerationDialog::onResYLineEditEditingFinished ( )
protectedslot
void te::mnt::MNTGenerationDialog::onSrsToolButtonClicked ( )
protectedslot
void te::mnt::MNTGenerationDialog::onTargetDatasourceToolButtonPressed ( )
protectedslot
void te::mnt::MNTGenerationDialog::onTargetFileToolButtonPressed ( )
protectedslot
void te::mnt::MNTGenerationDialog::onVectorToggled ( )
protectedslot
void te::mnt::MNTGenerationDialog::setLayers ( std::list< te::map::AbstractLayerPtr layers)

Member Data Documentation

te::da::DataSourcePtr te::mnt::MNTGenerationDialog::m_inDataSource
private

input DataSourcePtr

Definition at line 101 of file MNTGenerationDialog.h.

Referenced by onInputComboBoxChanged(), and onOkPushButtonClicked().

mntType te::mnt::MNTGenerationDialog::m_inputType
private

Input type (SAMPLE, TIN, GRID)

Definition at line 108 of file MNTGenerationDialog.h.

Referenced by onInputComboBoxChanged(), oninterpolatorComboBoxChanged(), onOkPushButtonClicked(), and onVectorToggled().

std::string te::mnt::MNTGenerationDialog::m_inSetName
private

input DataSetLayer name

Definition at line 104 of file MNTGenerationDialog.h.

Referenced by onInputComboBoxChanged(), and onOkPushButtonClicked().

Interpolator te::mnt::MNTGenerationDialog::m_inter
private

Definition at line 109 of file MNTGenerationDialog.h.

Referenced by onOkPushButtonClicked().

te::da::DataSourcePtr te::mnt::MNTGenerationDialog::m_isoinDataSource
private

input DataSourcePtr

Definition at line 103 of file MNTGenerationDialog.h.

Referenced by onIsolinesComboBoxChanged(), and onOkPushButtonClicked().

std::string te::mnt::MNTGenerationDialog::m_isoinSetName
private

input DataSetLayer name

Definition at line 106 of file MNTGenerationDialog.h.

Referenced by onIsolinesComboBoxChanged(), and onOkPushButtonClicked().

std::string te::mnt::MNTGenerationDialog::m_outputArchive
private

Archive information.

Definition at line 95 of file MNTGenerationDialog.h.

te::da::DataSourceInfoPtr te::mnt::MNTGenerationDialog::m_outputDatasource
private

DataSource information.

Definition at line 94 of file MNTGenerationDialog.h.

Referenced by onTargetDatasourceToolButtonPressed().

te::map::AbstractLayerPtr te::mnt::MNTGenerationDialog::m_outputLayer
private

Generated Layer.

Definition at line 100 of file MNTGenerationDialog.h.

Referenced by getLayer(), and onOkPushButtonClicked().

int te::mnt::MNTGenerationDialog::m_outsrid
private

Definition at line 111 of file MNTGenerationDialog.h.

Referenced by MNTGenerationDialog(), onOkPushButtonClicked(), and setSRID().

te::da::DataSourcePtr te::mnt::MNTGenerationDialog::m_sampleinDataSource
private

input DataSourcePtr

Definition at line 102 of file MNTGenerationDialog.h.

Referenced by onOkPushButtonClicked(), and onSamplesComboBoxChanged().

std::string te::mnt::MNTGenerationDialog::m_sampleinSetName
private

input DataSetLayer name

Definition at line 105 of file MNTGenerationDialog.h.

Referenced by onOkPushButtonClicked(), and onSamplesComboBoxChanged().


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