27 #ifndef __TERRALIB_VP_INTERNAL_GEOMETRICOPDIALOG_H
28 #define __TERRALIB_VP_INTERNAL_GEOMETRICOPDIALOG_H
32 #include "../../dataaccess/datasource/DataSourceInfo.h"
33 #include "../../maptools/AbstractLayer.h"
35 #include "../Config.h"
45 namespace Ui {
class GeometricOpDialogForm; }
67 void setLayers(std::list<te::map::AbstractLayerPtr> layers);
113 std::unique_ptr<Ui::GeometricOpDialogForm>
m_ui;
119 std::vector<te::vp::GeometricOperation>
m_ops;
This class is GUI used to define the wizard for the VP geometric operation.
std::string m_attribute
Properties related to the selected Layer to do the dissolve before operation.
int m_newSRID
newSRID to compure tabular operations (Area, Perimeter, Line).
void onAllLayerOperationToggled()
void onSrsToolButtonClicked()
void onTargetDatasourceToolButtonPressed()
std::unique_ptr< Ui::GeometricOpDialogForm > m_ui
Qt Dialog Form.
te::da::DataSourceInfoPtr m_outputDatasource
DataSource information.
bool m_toFile
Flag to indicate if the output will be stored in a file.
void onAttributeOperationToggled()
void onCancelPushButtonClicked()
void onLayerComboBoxChanged(int index)
void onTargetFileToolButtonPressed()
GeometricOpDialog(QWidget *parent=0, Qt::WindowFlags f=0)
void onAllObjectsToggled()
void setLayers(std::list< te::map::AbstractLayerPtr > layers)
te::vp::GeometricOpObjStrategy getObjectStrategy()
std::vector< te::map::AbstractLayerPtr > getOutLayer()
void onOkPushButtonClicked()
std::vector< te::map::AbstractLayerPtr > m_outputLayer
Generated Layer.
std::list< te::map::AbstractLayerPtr > m_layers
List of layers.
te::map::AbstractLayerPtr getInLayer()
void enableOperations(te::gm::GeomType type)
void onAttributeComboBoxChanged(int index)
std::vector< te::vp::GeometricOperation > m_ops
Operations selected to be executed.
te::map::AbstractLayerPtr m_selectedLayer
Selected layer to operation.
boost::shared_ptr< DataSourceInfo > DataSourceInfoPtr
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
GeometricOpObjStrategy
Defines the strategy used for the processing of the input geometries.
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.