26 #ifndef __TERRALIB_QT_PLUGINS_CELLSPACE_INTERNAL_CREATECELLULARSPACEDIALOG_H 27 #define __TERRALIB_QT_PLUGINS_CELLSPACE_INTERNAL_CREATECELLULARSPACEDIALOG_H 31 #include "../../../common/UnitOfMeasure.h" 32 #include "../../../dataaccess/datasource/DataSourceInfo.h" 33 #include "../../../maptools/AbstractLayer.h" 42 namespace Ui {
class CreateCellularSpaceDialogForm; }
46 namespace gm {
class Envelope; }
69 void setLayers(std::list<te::map::AbstractLayerPtr> layers);
77 void onLayersComboBoxChanged(
int index);
79 void onEnvelopeChanged(
const QString & text);
81 void onSrsToolButtonClicked();
84 void onUnitComboBoxChanged(
int index);
86 void onResXLineEditEditingFinished();
88 void onResYLineEditEditingFinished();
91 void onTargetDatasourceToolButtonClicked();
93 void onTargetFileToolButtonClicked();
95 void onCreatePushButtonClicked();
101 void initUnitsOfMeasure();
117 void clearEnvelope();
123 bool unitConvertion(
double& res,
127 void clearResolution();
132 bool checkList(std::string& errors);
145 std::auto_ptr<Ui::CreateCellularSpaceDialogForm>
m_ui;
153 #endif // __TERRALIB_QT_PLUGINS_CELLSPACE_INTERNAL_CREATECELLULARSPACEDIALOG_H
TEMNTEXPORT bool convertAngleToPlanar(double &val, te::common::UnitOfMeasurePtr planar, int type)
std::string m_outputDataSetName
TEMNTEXPORT bool convertPlanarToAngle(double &val, te::common::UnitOfMeasurePtr unit)
An Envelope defines a 2D rectangular region.
te::da::DataSourceInfoPtr m_outDataSourceInfo
boost::shared_ptr< UnitOfMeasure > UnitOfMeasurePtr
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
std::auto_ptr< Ui::CreateCellularSpaceDialogForm > m_ui
boost::shared_ptr< DataSourceInfo > DataSourceInfoPtr