.... More...
#include <CreateCellularSpaceDialog.h>
Public Member Functions | |
CreateCellularSpaceDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
te::map::AbstractLayerPtr | getLayer () |
void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
~CreateCellularSpaceDialog () | |
Protected Slots | |
void | onCreatePushButtonClicked () |
void | onEnvelopeChanged (const QString &text) |
void | onLayersComboBoxChanged (int index) |
void | onResXLineEditEditingFinished () |
void | onResYLineEditEditingFinished () |
void | onSrsToolButtonClicked () |
void | onTargetDatasourceToolButtonClicked () |
void | onTargetFileToolButtonClicked () |
void | onUnitComboBoxChanged (int index) |
Private Member Functions | |
bool | checkList (std::string &errors) |
void | clearEnvelope () |
void | clearResolution () |
bool | convertAngleToPlanar (double &val, te::common::UnitOfMeasurePtr planar) |
bool | convertPlanarToAngle (double &val, te::common::UnitOfMeasurePtr planar) |
te::da::DataSourceInfoPtr | getDataSourceInfo () |
te::gm::Envelope | getEnvelope () |
te::map::AbstractLayerPtr | getReferenceLayer () |
te::common::UnitOfMeasurePtr | getResolutionUnit () |
double | getResX () |
double | getResY () |
void | initUnitsOfMeasure () |
void | setResolutionUnit (te::common::UnitOfMeasurePtr unit) |
void | showEnvelope (const te::gm::Envelope &env, int precision) |
void | showSRS () |
bool | unitConvertion (double &res, te::common::UnitOfMeasurePtr from, te::common::UnitOfMeasurePtr to) |
Private Attributes | |
int | m_bbSRID |
bool | m_isFile |
te::da::DataSourceInfoPtr | m_outDataSourceInfo |
std::string | m_outputDataSetName |
std::auto_ptr< Ui::CreateCellularSpaceDialogForm > | m_ui |
....
Definition at line 57 of file CreateCellularSpaceDialog.h.
te::qt::plugins::cellspace::CreateCellularSpaceDialog::CreateCellularSpaceDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 63 of file CreateCellularSpaceDialog.cpp.
References initUnitsOfMeasure(), m_ui, onCreatePushButtonClicked(), onEnvelopeChanged(), onLayersComboBoxChanged(), onResXLineEditEditingFinished(), onResYLineEditEditingFinished(), onSrsToolButtonClicked(), onTargetDatasourceToolButtonClicked(), onTargetFileToolButtonClicked(), and onUnitComboBoxChanged().
te::qt::plugins::cellspace::CreateCellularSpaceDialog::~CreateCellularSpaceDialog | ( | ) |
Definition at line 117 of file CreateCellularSpaceDialog.cpp.
|
private |
Definition at line 670 of file CreateCellularSpaceDialog.cpp.
References te::gm::Envelope::getHeight(), te::gm::Envelope::getWidth(), and te::gm::Envelope::isValid().
|
private |
Definition at line 543 of file CreateCellularSpaceDialog.cpp.
|
private |
Definition at line 649 of file CreateCellularSpaceDialog.cpp.
|
private |
Definition at line 611 of file CreateCellularSpaceDialog.cpp.
References te::common::UOM_Foot, te::common::UOM_Kilometre, and te::common::UOM_Metre.
|
private |
Definition at line 630 of file CreateCellularSpaceDialog.cpp.
References te::common::UOM_Foot, te::common::UOM_Kilometre, and te::common::UOM_Metre.
|
private |
|
private |
Definition at line 532 of file CreateCellularSpaceDialog.cpp.
References te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::gm::Envelope::m_urx, and te::gm::Envelope::m_ury.
te::map::AbstractLayerPtr te::qt::plugins::cellspace::CreateCellularSpaceDialog::getLayer | ( | ) |
Definition at line 144 of file CreateCellularSpaceDialog.cpp.
References te::da::GetDataSource(), te::common::Singleton< DataSourceManager >::getInstance(), and te::common::Singleton< DataSourceInfoManager >::getInstance().
Referenced by te::qt::plugins::cellspace::CreateCellLayerAction::onActionActivated().
|
private |
Definition at line 526 of file CreateCellularSpaceDialog.cpp.
|
private |
Definition at line 520 of file CreateCellularSpaceDialog.cpp.
|
private |
Definition at line 552 of file CreateCellularSpaceDialog.cpp.
References te::common::Singleton< SpatialReferenceSystemManager >::getInstance().
|
private |
Definition at line 563 of file CreateCellularSpaceDialog.cpp.
References te::common::Singleton< SpatialReferenceSystemManager >::getInstance().
|
private |
Definition at line 467 of file CreateCellularSpaceDialog.cpp.
References te::common::Angle, te::common::UnitsOfMeasureManager::begin(), te::common::UnitsOfMeasureManager::end(), te::common::Singleton< SpatialReferenceSystemManager >::getInstance(), te::common::Singleton< UnitsOfMeasureManager >::getInstance(), and te::common::Length.
Referenced by CreateCellularSpaceDialog().
|
protectedslot |
Definition at line 411 of file CreateCellularSpaceDialog.cpp.
References te::common::ProgressManager::addViewer(), te::cellspace::CellularSpacesOperations::CELLSPACE_POINTS, te::cellspace::CellularSpacesOperations::CELLSPACE_POLYGONS, te::common::Singleton< ProgressManager >::getInstance(), te::common::ProgressManager::removeViewer(), and te::common::Exception::what().
Referenced by CreateCellularSpaceDialog().
|
protectedslot |
Definition at line 216 of file CreateCellularSpaceDialog.cpp.
Referenced by CreateCellularSpaceDialog().
|
protectedslot |
Definition at line 186 of file CreateCellularSpaceDialog.cpp.
References te::common::Singleton< SpatialReferenceSystemManager >::getInstance(), te::common::UOM_Degree, and te::common::UOM_Radian.
Referenced by CreateCellularSpaceDialog().
|
protectedslot |
Definition at line 312 of file CreateCellularSpaceDialog.cpp.
References te::common::Singleton< SpatialReferenceSystemManager >::getInstance(), te::gm::Envelope::isValid(), te::gm::Envelope::m_llx, and te::gm::Envelope::m_urx.
Referenced by CreateCellularSpaceDialog().
|
protectedslot |
Definition at line 328 of file CreateCellularSpaceDialog.cpp.
References te::common::Singleton< SpatialReferenceSystemManager >::getInstance(), te::gm::Envelope::isValid(), te::gm::Envelope::m_lly, and te::gm::Envelope::m_ury.
Referenced by CreateCellularSpaceDialog().
|
protectedslot |
Definition at line 221 of file CreateCellularSpaceDialog.cpp.
References te::common::Singleton< SpatialReferenceSystemManager >::getInstance(), te::qt::widgets::SRSManagerDialog::getSelectedSRS(), te::gm::Envelope::isValid(), te::gm::Envelope::transform(), te::common::UOM_Degree, and te::common::UOM_Radian.
Referenced by CreateCellularSpaceDialog().
|
protectedslot |
Definition at line 344 of file CreateCellularSpaceDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds().
Referenced by CreateCellularSpaceDialog().
|
protectedslot |
Definition at line 368 of file CreateCellularSpaceDialog.cpp.
Referenced by CreateCellularSpaceDialog().
|
protectedslot |
Definition at line 273 of file CreateCellularSpaceDialog.cpp.
References te::common::Singleton< SpatialReferenceSystemManager >::getInstance(), te::common::Singleton< UnitsOfMeasureManager >::getInstance(), te::common::UOM_Degree, te::common::UOM_Foot, te::common::UOM_Kilometre, te::common::UOM_Metre, and te::common::UOM_Radian.
Referenced by CreateCellularSpaceDialog().
void te::qt::plugins::cellspace::CreateCellularSpaceDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Definition at line 121 of file CreateCellularSpaceDialog.cpp.
Referenced by te::qt::plugins::cellspace::CreateCellLayerAction::onActionActivated().
|
private |
Definition at line 500 of file CreateCellularSpaceDialog.cpp.
|
private |
Definition at line 492 of file CreateCellularSpaceDialog.cpp.
References te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::gm::Envelope::m_urx, and te::gm::Envelope::m_ury.
|
private |
Definition at line 657 of file CreateCellularSpaceDialog.cpp.
References te::common::Singleton< SpatialReferenceSystemManager >::getInstance().
|
private |
Definition at line 575 of file CreateCellularSpaceDialog.cpp.
References te::common::UnitsOfMeasureManager::getConversion(), te::common::Singleton< UnitsOfMeasureManager >::getInstance(), and te::common::UOM_Degree.
|
private |
Definition at line 138 of file CreateCellularSpaceDialog.h.
|
private |
Definition at line 139 of file CreateCellularSpaceDialog.h.
|
private |
Definition at line 140 of file CreateCellularSpaceDialog.h.
|
private |
Definition at line 141 of file CreateCellularSpaceDialog.h.
|
private |
Definition at line 143 of file CreateCellularSpaceDialog.h.
Referenced by CreateCellularSpaceDialog().