te::vp::GeometricOpDialog Class Reference

This class is GUI used to define the wizard for the VP geometric operation. More...

#include <GeometricOpDialog.h>

Inheritance diagram for te::vp::GeometricOpDialog:
QDialog

Public Member Functions

void enableOperations (te::gm::GeomType type)
 
 GeometricOpDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 
te::map::AbstractLayerPtr getInLayer ()
 
te::vp::GeometricOpObjStrategy getObjectStrategy ()
 
std::vector< te::map::AbstractLayerPtrgetOutLayer ()
 
bool hasArea ()
 
bool hasCentroid ()
 
bool hasConvexHull ()
 
bool hasLine ()
 
bool hasMBR ()
 
bool hasPerimeter ()
 
void setLayers (std::list< te::map::AbstractLayerPtr > layers)
 
 ~GeometricOpDialog ()
 

Protected Slots

void onAllLayerOperationToggled ()
 
void onAllObjectsToggled ()
 
void onAttributeComboBoxChanged (int index)
 
void onAttributeOperationToggled ()
 
void onCancelPushButtonClicked ()
 
void onLayerComboBoxChanged (int index)
 
void onOkPushButtonClicked ()
 
void onSrsToolButtonClicked ()
 
void onTargetDatasourceToolButtonPressed ()
 
void onTargetFileToolButtonPressed ()
 

Private Attributes

std::string m_attribute
 Properties related to the selected Layer to do the dissolve before operation. More...
 
std::list< te::map::AbstractLayerPtrm_layers
 List of layers. More...
 
int m_newSRID
 newSRID to compure tabular operations (Area, Perimeter, Line). More...
 
std::vector< te::vp::GeometricOperationm_ops
 Operations selected to be executed. More...
 
te::da::DataSourceInfoPtr m_outputDatasource
 DataSource information. More...
 
std::vector< te::map::AbstractLayerPtrm_outputLayer
 Generated Layer. More...
 
te::map::AbstractLayerPtr m_selectedLayer
 Selected layer to operation. More...
 
bool m_toFile
 Flag to indicate if the output will be stored in a file. More...
 
std::unique_ptr< Ui::GeometricOpDialogForm > m_ui
 Qt Dialog Form. More...
 

Detailed Description

This class is GUI used to define the wizard for the VP geometric operation.

Definition at line 57 of file GeometricOpDialog.h.

Constructor & Destructor Documentation

te::vp::GeometricOpDialog::~GeometricOpDialog ( )
default

Referenced by GeometricOpDialog().

Member Function Documentation

te::map::AbstractLayerPtr te::vp::GeometricOpDialog::getInLayer ( )

Definition at line 161 of file GeometricOpDialog.cpp.

References m_selectedLayer.

te::vp::GeometricOpObjStrategy te::vp::GeometricOpDialog::getObjectStrategy ( )
std::vector< te::map::AbstractLayerPtr > te::vp::GeometricOpDialog::getOutLayer ( )
bool te::vp::GeometricOpDialog::hasArea ( )

Definition at line 186 of file GeometricOpDialog.cpp.

References m_ui.

Referenced by onOkPushButtonClicked().

bool te::vp::GeometricOpDialog::hasCentroid ( )

Definition at line 176 of file GeometricOpDialog.cpp.

References m_ui.

Referenced by onOkPushButtonClicked().

bool te::vp::GeometricOpDialog::hasConvexHull ( )

Definition at line 171 of file GeometricOpDialog.cpp.

References m_ui.

Referenced by onOkPushButtonClicked().

bool te::vp::GeometricOpDialog::hasLine ( )

Definition at line 191 of file GeometricOpDialog.cpp.

References m_ui.

Referenced by onOkPushButtonClicked().

bool te::vp::GeometricOpDialog::hasMBR ( )

Definition at line 181 of file GeometricOpDialog.cpp.

References m_ui.

Referenced by onOkPushButtonClicked().

bool te::vp::GeometricOpDialog::hasPerimeter ( )

Definition at line 196 of file GeometricOpDialog.cpp.

References m_ui.

Referenced by onOkPushButtonClicked().

void te::vp::GeometricOpDialog::onAllLayerOperationToggled ( )
protectedslot

Definition at line 337 of file GeometricOpDialog.cpp.

References m_ui, and onAttributeComboBoxChanged().

Referenced by GeometricOpDialog().

void te::vp::GeometricOpDialog::onAllObjectsToggled ( )
protectedslot

Definition at line 331 of file GeometricOpDialog.cpp.

References m_ui, and onAttributeComboBoxChanged().

Referenced by GeometricOpDialog().

void te::vp::GeometricOpDialog::onAttributeComboBoxChanged ( int  index)
protectedslot

Definition at line 323 of file GeometricOpDialog.cpp.

References m_attribute, and m_ui.

Referenced by GeometricOpDialog(), onAllLayerOperationToggled(), and onAllObjectsToggled().

void te::vp::GeometricOpDialog::onAttributeOperationToggled ( )
protectedslot

Definition at line 343 of file GeometricOpDialog.cpp.

References m_ui.

Referenced by GeometricOpDialog().

void te::vp::GeometricOpDialog::onCancelPushButtonClicked ( )
protectedslot

Definition at line 752 of file GeometricOpDialog.cpp.

Referenced by GeometricOpDialog().

void te::vp::GeometricOpDialog::onLayerComboBoxChanged ( int  index)
protectedslot
void te::vp::GeometricOpDialog::onSrsToolButtonClicked ( )
protectedslot
void te::vp::GeometricOpDialog::onTargetDatasourceToolButtonPressed ( )
protectedslot
void te::vp::GeometricOpDialog::onTargetFileToolButtonPressed ( )
protectedslot
void te::vp::GeometricOpDialog::setLayers ( std::list< te::map::AbstractLayerPtr layers)

Definition at line 142 of file GeometricOpDialog.cpp.

References m_layers, and m_ui.

Referenced by te::qt::plugins::vp::GeometricOpAction::onActionActivated().

Member Data Documentation

std::string te::vp::GeometricOpDialog::m_attribute
private

Properties related to the selected Layer to do the dissolve before operation.

Definition at line 120 of file GeometricOpDialog.h.

Referenced by onAttributeComboBoxChanged(), and onOkPushButtonClicked().

std::list<te::map::AbstractLayerPtr> te::vp::GeometricOpDialog::m_layers
private

List of layers.

Definition at line 115 of file GeometricOpDialog.h.

Referenced by onLayerComboBoxChanged(), and setLayers().

int te::vp::GeometricOpDialog::m_newSRID
private

newSRID to compure tabular operations (Area, Perimeter, Line).

Definition at line 122 of file GeometricOpDialog.h.

Referenced by onLayerComboBoxChanged(), onOkPushButtonClicked(), and onSrsToolButtonClicked().

std::vector<te::vp::GeometricOperation> te::vp::GeometricOpDialog::m_ops
private

Operations selected to be executed.

Definition at line 119 of file GeometricOpDialog.h.

Referenced by onOkPushButtonClicked().

te::da::DataSourceInfoPtr te::vp::GeometricOpDialog::m_outputDatasource
private

DataSource information.

Definition at line 117 of file GeometricOpDialog.h.

Referenced by GeometricOpDialog(), onOkPushButtonClicked(), and onTargetDatasourceToolButtonPressed().

std::vector<te::map::AbstractLayerPtr> te::vp::GeometricOpDialog::m_outputLayer
private

Generated Layer.

Definition at line 118 of file GeometricOpDialog.h.

Referenced by getOutLayer(), and onOkPushButtonClicked().

te::map::AbstractLayerPtr te::vp::GeometricOpDialog::m_selectedLayer
private

Selected layer to operation.

Definition at line 116 of file GeometricOpDialog.h.

Referenced by getInLayer(), onLayerComboBoxChanged(), and onOkPushButtonClicked().

bool te::vp::GeometricOpDialog::m_toFile
private

Flag to indicate if the output will be stored in a file.

Definition at line 121 of file GeometricOpDialog.h.

Referenced by onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), and onTargetFileToolButtonPressed().


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