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);
71 std::vector<te::map::AbstractLayerPtr> getOutLayer();
87 bool isProjectionLatLong(
const int& srid);
93 void onLayerComboBoxChanged(
int index);
95 void onAttributeComboBoxChanged(
int index);
97 void onAllObjectsToggled();
99 void onAllLayerOperationToggled();
101 void onAttributeOperationToggled();
103 void onTargetDatasourceToolButtonPressed();
105 void onTargetFileToolButtonPressed();
107 void onOkPushButtonClicked();
109 void onCancelPushButtonClicked();
111 void onSrsToolButtonClicked();
115 std::auto_ptr<Ui::GeometricOpDialogForm>
m_ui;
121 std::vector<te::vp::GeometricOperation>
m_ops;
129 #endif // __TERRALIB_VP_INTERNAL_GEOMETRICOPDIALOG_H #define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
std::string m_attribute
Properties related to the selected Layer to do the dissolve before operation.
te::da::DataSourceInfoPtr m_outputDatasource
DataSource information.
GeometricOpObjStrategy
Defines the strategy used for the processing of the input geometries.
te::map::AbstractLayerPtr m_selectedLayer
Selected layer to operation.
bool m_toFile
Flag to indicate if the output will be stored in a file.
std::list< te::map::AbstractLayerPtr > m_layers
List of layers.
std::vector< te::map::AbstractLayerPtr > m_outputLayer
Generated Layer.
std::vector< te::vp::GeometricOperation > m_ops
Operations selected to be executed.
std::auto_ptr< Ui::GeometricOpDialogForm > m_ui
Qt Dialog Form.
This class is GUI used to define the wizard for the VP geometric operation.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
int m_newSRID
newSRID to compure tabular operations (Area, Perimeter, Line).
boost::shared_ptr< DataSourceInfo > DataSourceInfoPtr