#include <BufferDialog.h>
Public Member Functions | |
BufferDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
int | getBoundariesRule () |
te::map::AbstractLayerPtr | getLayer () |
int | getPolygonRule () |
void | setAttributesForDistance (std::vector< te::dt::Property * > properties) |
void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
Set the layer that can be used. More... | |
void | setPossibleLevels () |
~BufferDialog () | |
Protected Slots | |
void | onAttDistanceToggled () |
void | onCancelPushButtonClicked () |
void | onFixedDistanceToggled () |
void | onLayerComboBoxChanged (int index) |
void | onOkPushButtonClicked () |
void | onRuleInOutToggled () |
void | onRuleInToggled () |
void | onRuleOutToggled () |
void | onTargetDatasourceToolButtonPressed () |
void | onTargetFileToolButtonPressed () |
void | onWithBoundToggled () |
void | onWithoutBoundToggled () |
Private Attributes | |
std::list< te::map::AbstractLayerPtr > | m_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... | |
std::vector< te::dt::Property * > | m_properties |
Properties related to the selected Layer. More... | |
te::map::AbstractLayerPtr | m_selectedLayer |
Layer used for buffer. More... | |
bool | m_toFile |
std::auto_ptr< Ui::BufferDialogForm > | m_ui |
Definition at line 57 of file BufferDialog.h.
te::vp::BufferDialog::BufferDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 76 of file BufferDialog.cpp.
References m_ui, onAttDistanceToggled(), onCancelPushButtonClicked(), onFixedDistanceToggled(), onLayerComboBoxChanged(), onOkPushButtonClicked(), onRuleInOutToggled(), onRuleInToggled(), onRuleOutToggled(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), onWithBoundToggled(), onWithoutBoundToggled(), and setPossibleLevels().
te::vp::BufferDialog::~BufferDialog | ( | ) |
Definition at line 125 of file BufferDialog.cpp.
int te::vp::BufferDialog::getBoundariesRule | ( | ) |
Definition at line 190 of file BufferDialog.cpp.
References te::vp::DISSOLVE, and te::vp::NOT_DISSOLVE.
te::map::AbstractLayerPtr te::vp::BufferDialog::getLayer | ( | ) |
Definition at line 198 of file BufferDialog.cpp.
Referenced by te::qt::plugins::vp::BufferAction::onActionActivated().
int te::vp::BufferDialog::getPolygonRule | ( | ) |
Definition at line 180 of file BufferDialog.cpp.
References te::vp::INSIDE_OUTSIDE, te::vp::ONLY_INSIDE, and te::vp::ONLY_OUTSIDE.
|
protectedslot |
Definition at line 259 of file BufferDialog.cpp.
Referenced by BufferDialog().
|
protectedslot |
Definition at line 580 of file BufferDialog.cpp.
Referenced by BufferDialog().
|
protectedslot |
Definition at line 253 of file BufferDialog.cpp.
Referenced by BufferDialog().
|
protectedslot |
Definition at line 203 of file BufferDialog.cpp.
References te::common::Clone(), te::common::FreeContents(), te::map::DataSetLayer::getDataSetName(), te::da::GetDataSetType(), te::da::GetDataSource(), te::map::DataSetLayer::getDataSourceId(), te::da::GetFirstGeomProperty(), te::gm::LineStringType, te::gm::MultiLineStringType, te::gm::MultiPointType, and te::gm::PointType.
Referenced by BufferDialog().
|
protectedslot |
Definition at line 333 of file BufferDialog.cpp.
References te::common::ProgressManager::addViewer(), te::da::AssociateDataSetTypeConverterSRID(), te::map::DataSetLayer::getDataSetName(), te::da::GetDataSource(), te::map::DataSetLayer::getDataSourceId(), te::common::Singleton< DataSourceManager >::getInstance(), te::common::Singleton< DataSourceInfoManager >::getInstance(), te::common::Singleton< ProgressManager >::getInstance(), te::da::DataSourceCapabilities::getQueryCapabilities(), te::map::DataSetLayer::getSchema(), te::map::AbstractLayer::getSRID(), te::da::DataSourceFactory::make(), te::vp::BufferOp::paramsAreValid(), te::common::ProgressManager::removeViewer(), te::vp::BufferOp::run(), te::vp::BufferOp::setInput(), te::vp::BufferOp::setOutput(), te::vp::BufferOp::setParams(), te::da::DataSourceCapabilities::supportsPreparedQueryAPI(), and te::da::QueryCapabilities::supportsSpatialSQLDialect().
Referenced by BufferDialog().
|
protectedslot |
Definition at line 265 of file BufferDialog.cpp.
Referenced by BufferDialog().
|
protectedslot |
Definition at line 275 of file BufferDialog.cpp.
Referenced by BufferDialog().
|
protectedslot |
Definition at line 270 of file BufferDialog.cpp.
Referenced by BufferDialog().
|
protectedslot |
Definition at line 291 of file BufferDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds().
Referenced by BufferDialog().
|
protectedslot |
Definition at line 312 of file BufferDialog.cpp.
Referenced by BufferDialog().
|
protectedslot |
Definition at line 286 of file BufferDialog.cpp.
Referenced by BufferDialog().
|
protectedslot |
Definition at line 280 of file BufferDialog.cpp.
Referenced by BufferDialog().
void te::vp::BufferDialog::setAttributesForDistance | ( | std::vector< te::dt::Property * > | properties | ) |
Definition at line 150 of file BufferDialog.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::NUMERIC_TYPE, te::dt::UINT16_TYPE, te::dt::UINT32_TYPE, and te::dt::UINT64_TYPE.
void te::vp::BufferDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
layers | List of AbstractLayerPtr |
Definition at line 129 of file BufferDialog.cpp.
Referenced by te::qt::plugins::vp::BufferAction::onActionActivated().
void te::vp::BufferDialog::setPossibleLevels | ( | ) |
Definition at line 144 of file BufferDialog.cpp.
Referenced by BufferDialog().
|
private |
List of layers.
Definition at line 115 of file BufferDialog.h.
|
private |
Archive information.
Definition at line 114 of file BufferDialog.h.
|
private |
DataSource information.
Definition at line 113 of file BufferDialog.h.
|
private |
Generated Layer.
Definition at line 117 of file BufferDialog.h.
|
private |
Properties related to the selected Layer.
Definition at line 118 of file BufferDialog.h.
|
private |
Layer used for buffer.
Definition at line 116 of file BufferDialog.h.
|
private |
Definition at line 119 of file BufferDialog.h.
|
private |
Definition at line 112 of file BufferDialog.h.
Referenced by BufferDialog().