#include <VectorToRasterDialog.h>
Public Member Functions | |
| te::map::AbstractLayerPtr | getLayer () |
| Get the generated layer. More... | |
| void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
| Set the layer that can be used. More... | |
| VectorToRasterDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| ~VectorToRasterDialog () | |
Protected Slots | |
| void | onCancelPushButtonClicked () |
| void | onOkPushButtonClicked () |
| void | onResXLineEditEditingFinished () |
| void | onResYLineEditEditingFinished () |
| void | onTargetFileToolButtonPressed () |
| void | onVectorComboBoxChanged (int index) |
Private Member Functions | |
| void | showSRS () |
Private Attributes | |
| std::list< te::map::AbstractLayerPtr > | m_layers |
| List of layers. More... | |
| te::map::AbstractLayerPtr | m_outLayer |
| Generated Layer. More... | |
| te::da::DataSourceInfoPtr | m_outputDatasource |
| DataSource information. More... | |
| std::string | m_path |
| Output layer path;. More... | |
| std::vector< te::dt::Property * > | m_properties |
| Properties related to the selected Layer. More... | |
| te::map::AbstractLayerPtr | m_selectedLayer |
| Selected layer. More... | |
| int | m_srid |
| SRID of selected layer. More... | |
| bool | m_toFile |
| std::unique_ptr< Ui::VectorToRasterDialogForm > | m_ui |
| std::unique_ptr< te::qt::widgets::DoubleListWidget > | m_widget |
| Double list widget. More... | |
Definition at line 53 of file VectorToRasterDialog.h.
| te::attributefill::VectorToRasterDialog::VectorToRasterDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Definition at line 77 of file VectorToRasterDialog.cpp.
References m_ui, m_widget, onCancelPushButtonClicked(), onOkPushButtonClicked(), onResXLineEditEditingFinished(), onResYLineEditEditingFinished(), onTargetFileToolButtonPressed(), onVectorComboBoxChanged(), and ~VectorToRasterDialog().
|
default |
Referenced by VectorToRasterDialog().
| te::map::AbstractLayerPtr te::attributefill::VectorToRasterDialog::getLayer | ( | ) |
Get the generated layer.
Definition at line 132 of file VectorToRasterDialog.cpp.
References m_outLayer.
Referenced by te::qt::plugins::attributefill::VectorToRasterAction::onActionActivated().
|
protectedslot |
Definition at line 434 of file VectorToRasterDialog.cpp.
Referenced by VectorToRasterDialog().
|
protectedslot |
Definition at line 248 of file VectorToRasterDialog.cpp.
References te::da::AssociateDataSetTypeConverterSRID(), te::qt::widgets::createLayer(), ds, te::core::FileSystem::exists(), te::da::GetDataSource(), te::map::AbstractLayer::getDataSourceId(), te::common::Singleton< DataSourceManager >::getInstance(), te::common::Singleton< DataSourceInfoManager >::getInstance(), te::map::DataSetLayer::getSchema(), te::map::AbstractLayer::getSRID(), te::map::AbstractLayer::getTitle(), m_outLayer, m_outputDatasource, m_selectedLayer, m_ui, m_widget, te::da::DataSourceFactory::make(), te::attributefill::VectorToRaster::paramsAreValid(), te::attributefill::VectorToRaster::run(), te::attributefill::VectorToRaster::setInput(), te::attributefill::VectorToRaster::setOutput(), te::attributefill::VectorToRaster::setParams(), TE_CORE_LOG_DEBUG, and VectorToRaster().
Referenced by VectorToRasterDialog().
|
protectedslot |
Definition at line 194 of file VectorToRasterDialog.cpp.
References te::gm::Envelope::isValid(), te::gm::Envelope::m_llx, m_selectedLayer, m_ui, and te::gm::Envelope::m_urx.
Referenced by VectorToRasterDialog().
|
protectedslot |
Definition at line 210 of file VectorToRasterDialog.cpp.
References te::gm::Envelope::isValid(), te::gm::Envelope::m_lly, m_selectedLayer, m_ui, and te::gm::Envelope::m_ury.
Referenced by VectorToRasterDialog().
|
protectedslot |
Definition at line 226 of file VectorToRasterDialog.cpp.
References te::qt::widgets::FileDialog::exec(), te::qt::widgets::FileDialog::getFileName(), te::qt::widgets::FileDialog::getPath(), m_toFile, m_ui, te::qt::widgets::FileDialog::RASTER, and te::common::Exception::what().
Referenced by VectorToRasterDialog().
|
protectedslot |
Definition at line 145 of file VectorToRasterDialog.cpp.
References te::dt::CDOUBLE_TYPE, te::dt::CFLOAT_TYPE, te::dt::CINT16_TYPE, te::dt::CINT32_TYPE, te::dt::DOUBLE_TYPE, te::dt::FLOAT_TYPE, te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, m_layers, m_properties, m_selectedLayer, m_srid, m_ui, m_widget, showSRS(), te::dt::UINT16_TYPE, te::dt::UINT32_TYPE, and te::dt::UINT64_TYPE.
Referenced by VectorToRasterDialog().
| void te::attributefill::VectorToRasterDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
| layers | List of AbstractLayerPtr |
Definition at line 117 of file VectorToRasterDialog.cpp.
References m_layers, and m_ui.
Referenced by te::qt::plugins::attributefill::VectorToRasterAction::onActionActivated().
|
private |
Definition at line 137 of file VectorToRasterDialog.cpp.
References te::common::Singleton< SpatialReferenceSystemManager >::getInstance(), m_srid, and m_ui.
Referenced by onVectorComboBoxChanged().
|
private |
List of layers.
Definition at line 98 of file VectorToRasterDialog.h.
Referenced by onVectorComboBoxChanged(), and setLayers().
|
private |
Generated Layer.
Definition at line 104 of file VectorToRasterDialog.h.
Referenced by getLayer(), and onOkPushButtonClicked().
|
private |
DataSource information.
Definition at line 101 of file VectorToRasterDialog.h.
Referenced by onOkPushButtonClicked().
|
private |
Output layer path;.
Definition at line 105 of file VectorToRasterDialog.h.
|
private |
Properties related to the selected Layer.
Definition at line 102 of file VectorToRasterDialog.h.
Referenced by onVectorComboBoxChanged().
|
private |
Selected layer.
Definition at line 103 of file VectorToRasterDialog.h.
Referenced by onOkPushButtonClicked(), onResXLineEditEditingFinished(), onResYLineEditEditingFinished(), and onVectorComboBoxChanged().
|
private |
SRID of selected layer.
Definition at line 99 of file VectorToRasterDialog.h.
Referenced by onVectorComboBoxChanged(), and showSRS().
|
private |
Definition at line 106 of file VectorToRasterDialog.h.
Referenced by onTargetFileToolButtonPressed().
|
private |
Definition at line 97 of file VectorToRasterDialog.h.
Referenced by onOkPushButtonClicked(), onResXLineEditEditingFinished(), onResYLineEditEditingFinished(), onTargetFileToolButtonPressed(), onVectorComboBoxChanged(), setLayers(), showSRS(), and VectorToRasterDialog().
|
private |
Double list widget.
Definition at line 100 of file VectorToRasterDialog.h.
Referenced by onOkPushButtonClicked(), onVectorComboBoxChanged(), and VectorToRasterDialog().