#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 | onColsLineEditEditingFinished () |
void | onHelpPushButtonClicked () |
void | onOkPushButtonClicked () |
void | onResXLineEditEditingFinished () |
void | onResYLineEditEditingFinished () |
void | onRowsLineEditEditingFinished () |
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::auto_ptr < Ui::VectorToRasterDialogForm > | m_ui |
std::auto_ptr < te::qt::widgets::DoubleListWidget > | m_widget |
Double list widget. More... | |
Definition at line 51 of file VectorToRasterDialog.h.
te::attributefill::VectorToRasterDialog::VectorToRasterDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 75 of file VectorToRasterDialog.cpp.
References m_ui, m_widget, onCancelPushButtonClicked(), onColsLineEditEditingFinished(), onOkPushButtonClicked(), onResXLineEditEditingFinished(), onResYLineEditEditingFinished(), onRowsLineEditEditingFinished(), onTargetFileToolButtonPressed(), and onVectorComboBoxChanged().
te::attributefill::VectorToRasterDialog::~VectorToRasterDialog | ( | ) |
Definition at line 115 of file VectorToRasterDialog.cpp.
te::map::AbstractLayerPtr te::attributefill::VectorToRasterDialog::getLayer | ( | ) |
Get the generated layer.
Definition at line 134 of file VectorToRasterDialog.cpp.
Referenced by te::qt::plugins::attributefill::VectorToRasterAction::onActionActivated().
|
protectedslot |
Definition at line 479 of file VectorToRasterDialog.cpp.
Referenced by VectorToRasterDialog().
|
protectedslot |
Definition at line 230 of file VectorToRasterDialog.cpp.
References te::gm::Envelope::isValid(), te::gm::Envelope::m_llx, and te::gm::Envelope::m_urx.
Referenced by VectorToRasterDialog().
|
protectedslot |
Definition at line 285 of file VectorToRasterDialog.cpp.
|
protectedslot |
Definition at line 290 of file VectorToRasterDialog.cpp.
References te::common::ProgressManager::addViewer(), te::qt::widgets::createLayer(), te::da::GetDataSource(), te::map::DataSetLayer::getDataSourceId(), te::common::Singleton< ProgressManager >::getInstance(), te::common::Singleton< DataSourceManager >::getInstance(), te::common::Singleton< DataSourceInfoManager >::getInstance(), te::map::DataSetLayer::getSchema(), te::map::AbstractLayer::getTitle(), te::da::DataSourceFactory::make(), te::attributefill::VectorToRaster::paramsAreValid(), te::common::ProgressManager::removeViewer(), te::attributefill::VectorToRaster::run(), te::attributefill::VectorToRaster::setInput(), te::attributefill::VectorToRaster::setOutput(), and te::attributefill::VectorToRaster::setParams().
Referenced by VectorToRasterDialog().
|
protectedslot |
Definition at line 196 of file VectorToRasterDialog.cpp.
References te::gm::Envelope::isValid(), te::gm::Envelope::m_llx, and te::gm::Envelope::m_urx.
Referenced by VectorToRasterDialog().
|
protectedslot |
Definition at line 213 of file VectorToRasterDialog.cpp.
References te::gm::Envelope::isValid(), te::gm::Envelope::m_lly, and te::gm::Envelope::m_ury.
Referenced by VectorToRasterDialog().
|
protectedslot |
Definition at line 247 of file VectorToRasterDialog.cpp.
References te::gm::Envelope::isValid(), te::gm::Envelope::m_lly, and te::gm::Envelope::m_ury.
Referenced by VectorToRasterDialog().
|
protectedslot |
Definition at line 264 of file VectorToRasterDialog.cpp.
Referenced by VectorToRasterDialog().
|
protectedslot |
Definition at line 147 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, 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 119 of file VectorToRasterDialog.cpp.
Referenced by te::qt::plugins::attributefill::VectorToRasterAction::onActionActivated().
|
private |
Definition at line 139 of file VectorToRasterDialog.cpp.
References te::common::Singleton< SpatialReferenceSystemManager >::getInstance().
|
private |
List of layers.
Definition at line 102 of file VectorToRasterDialog.h.
|
private |
Generated Layer.
Definition at line 108 of file VectorToRasterDialog.h.
|
private |
DataSource information.
Definition at line 105 of file VectorToRasterDialog.h.
|
private |
Output layer path;.
Definition at line 109 of file VectorToRasterDialog.h.
|
private |
Properties related to the selected Layer.
Definition at line 106 of file VectorToRasterDialog.h.
|
private |
Selected layer.
Definition at line 107 of file VectorToRasterDialog.h.
|
private |
SRID of selected layer.
Definition at line 103 of file VectorToRasterDialog.h.
|
private |
Definition at line 110 of file VectorToRasterDialog.h.
|
private |
Definition at line 101 of file VectorToRasterDialog.h.
Referenced by VectorToRasterDialog().
|
private |
Double list widget.
Definition at line 104 of file VectorToRasterDialog.h.
Referenced by VectorToRasterDialog().