This class is used to define a widget for tie point acquirement. More...
#include <TiePointLocatorWidget.h>
Public Types | |
| enum | FirstCoordType { None, Reference, Adjust } |
Signals | |
| void | doneAcquiredTiePoints () |
| void | tiePointsUpdated () |
Public Member Functions | |
| FirstCoordType | getFirstTiePointCoord (te::gm::Coord2D &firstCoord) |
| Get tie point reference coord that does not have an adjust coordenate or \ tie point adjust coord that does not have an reference coordenate. More... | |
| Ui::TiePointLocatorWidgetForm * | getForm () const |
| te::rst::Interpolator::Method | getInterpolatorMethod () const |
| void | getOutputResolution (double &resX, double &resY) |
| void | getOutputSRID (int &srid) |
| const te::qt::widgets::TiePointData::TPContainerT & | getTiePointContainer () |
| Get tie point data container. More... | |
| void | getTiePoints (std::vector< te::gm::GTParameters::TiePoint > &tiePoints) const |
| Get the current acquired tie-points. More... | |
| void | getTiePointsIdxCoords (std::vector< te::gm::GTParameters::TiePoint > &tiePoints) const |
| Get the current acquired tie-points. More... | |
| std::string | getTransformationName () const |
| void | setAdjustLayer (te::map::AbstractLayerPtr layer) |
| This method is used to set the selected layer used to be the adjust layer. More... | |
| void | setReferenceLayer (te::map::AbstractLayerPtr layer) |
| This method is used to set the selected layer used to be the reference layer. More... | |
| TiePointLocatorWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
| ~TiePointLocatorWidget () | |
Protected Slots | |
| void | onAddToolButtonClicked () |
| void | onAdjMapDisplayExtentChanged () |
| void | onAdjPointMoved (double xorig, double yorig, double xnew, double ynew) |
| void | onAdjPointPicked (double x, double y) |
| void | onAutoAcquireTiePointsToolButtonClicked () |
| void | onDeleteSelectedToolButtonClicked () |
| void | onDoneToolButtonClicked () |
| void | onLoadTiePointsToolButtonClicked () |
| void | onRefMapDisplayExtentChanged () |
| void | onRefPointMoved (double xorig, double yorig, double xnew, double ynew) |
| void | onRefPointPicked (double x, double y) |
| void | onRefreshToolButtonClicked () |
| void | onSaveTiePointsToolButtonClicked () |
| void | onSelectAllToolButtonClicked () |
| void | onSRIDPushButtonClicked () |
| void | onTiePointsTableWidgetItemChanged (QTableWidgetItem *) |
| void | onTiePointsTableWidgetItemSelectionChanged () |
| void | onTiePointsUpdated () |
| void | onUnselectAllToolButtonClicked () |
Protected Member Functions | |
| void | adjCoordMoved (double xorig, double yorig, double xnew, double ynew) |
| void | adjCoordPicked (double x, double y) |
| void | createSelection (int initialIdx, int nPos) |
| void | drawTiePoints () |
| QPixmap | getPixmap (te::color::RGBAColor **rgba) |
| void | refCoordMoved (double xorig, double yorig, double xnew, double ynew) |
| void | refCoordPicked (double x, double y) |
| void | reset () |
| void | setReferenceTiePointMarkLegend (QPixmap p) |
| void | setSelectedTiePointMarkLegend (QPixmap p) |
| void | setTiePointMarkLegend (QPixmap p) |
| bool | shotFirstPoint () |
| bool | shotSecondtPoint () |
| void | startUpNavigators () |
| void | tiePointsTableUpdate () |
| Uptate the tie-points table widget. More... | |
| void | transformationInfoUpdate () |
| Uptate the current transformation information widgets. More... | |
Private Attributes | |
| te::map::AbstractLayerPtr | m_adjLayer |
| Layer with adjust imagem. More... | |
| te::qt::widgets::RasterNavigatorWidget * | m_adjNavigator |
| Adjust raster navigator. More... | |
| std::map< unsigned int, QPointF > | m_adjPoints |
| Display adjust coordinates. More... | |
| te::gm::GTParameters::TiePoint | m_currentTiePoint |
| The current tie-point. More... | |
| te::se::Mark * | m_markRef |
| Represents the mark of a reference tie point. More... | |
| te::se::Mark * | m_markSelected |
| Represents the mark of a selected tie point. More... | |
| te::se::Mark * | m_markUnselected |
| Represents the mark of a unselected tie point. More... | |
| te::map::AbstractLayerPtr | m_refLayer |
| Layer with reference imagem. More... | |
| te::qt::widgets::RasterNavigatorWidget * | m_refNavigator |
| Reference raster navigator. More... | |
| std::map< unsigned int, QPointF > | m_refPoints |
| Display reference coordinates. More... | |
| te::color::RGBAColor ** | m_rgbaMarkRef |
| Represents the pattern of reference tie point. More... | |
| te::color::RGBAColor ** | m_rgbaMarkSelected |
| Represents the pattern of a selected tie point. More... | |
| te::color::RGBAColor ** | m_rgbaMarkUnselected |
| Represents the pattern of a unselected tie point. More... | |
| FirstCoordType | m_tiePointFirstCoord |
| Type of coord if the tie-point has the first part set;. More... | |
| unsigned int | m_tiePointIdCounter |
| A ID counter for new tie pointes inserted into m_tiePoints;. More... | |
| te::qt::widgets::TiePointLocatorParametersWidget * | m_tiePointParameters |
| Tie Point parameters widget. More... | |
| te::qt::widgets::TiePointData::TPContainerT | m_tiePoints |
| Internal tie-points container. More... | |
| std::set< int > | m_tiePointsSelected |
| List of selected tie points. More... | |
| std::unique_ptr< Ui::TiePointLocatorWidgetForm > | m_ui |
This class is used to define a widget for tie point acquirement.
Definition at line 97 of file TiePointLocatorWidget.h.
| Enumerator | |
|---|---|
| None |
None first coord picked. |
| Reference |
Reference first coord was picked. |
| Adjust |
Adjust first coord was picked. |
Definition at line 103 of file TiePointLocatorWidget.h.
| te::qt::widgets::TiePointLocatorWidget::TiePointLocatorWidget | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Definition at line 97 of file TiePointLocatorWidget.cpp.
References te::se::CreateFill(), te::se::CreateMark(), te::se::CreateStroke(), te::common::Singleton< MarkRendererManager >::getInstance(), getPixmap(), te::qt::widgets::TiePointLocatorParametersWidget::getWidgetForm(), m_markRef, m_markSelected, m_markUnselected, m_rgbaMarkRef, m_rgbaMarkSelected, m_rgbaMarkUnselected, m_tiePointParameters, m_ui, onAddToolButtonClicked(), onAutoAcquireTiePointsToolButtonClicked(), onDeleteSelectedToolButtonClicked(), onDoneToolButtonClicked(), onLoadTiePointsToolButtonClicked(), onRefreshToolButtonClicked(), onSaveTiePointsToolButtonClicked(), onSelectAllToolButtonClicked(), onSRIDPushButtonClicked(), onTiePointsTableWidgetItemChanged(), onTiePointsTableWidgetItemSelectionChanged(), onTiePointsUpdated(), onUnselectAllToolButtonClicked(), PATTERN_SIZE, setReferenceTiePointMarkLegend(), setSelectedTiePointMarkLegend(), setTiePointMarkLegend(), startUpNavigators(), and tiePointsUpdated().
| te::qt::widgets::TiePointLocatorWidget::~TiePointLocatorWidget | ( | ) |
Definition at line 180 of file TiePointLocatorWidget.cpp.
References te::common::Free(), m_markRef, m_markSelected, m_markUnselected, m_rgbaMarkRef, m_rgbaMarkSelected, m_rgbaMarkUnselected, and PATTERN_SIZE.
|
protected |
Definition at line 712 of file TiePointLocatorWidget.cpp.
References ds, te::da::GetFirstPropertyPos(), m_adjLayer, m_tiePoints, te::dt::RASTER_TYPE, tiePointsTableUpdate(), te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by onAdjPointMoved().
|
protected |
Definition at line 581 of file TiePointLocatorWidget.cpp.
References Adjust, ds, te::da::GetFirstPropertyPos(), te::qt::widgets::TiePointData::m_acqType, m_adjLayer, m_adjPoints, m_currentTiePoint, m_refLayer, te::qt::widgets::TiePointData::m_tiePoint, m_tiePointFirstCoord, m_tiePointIdCounter, m_tiePoints, te::qt::widgets::TiePointData::ManualAcquisitionT, None, te::dt::RASTER_TYPE, Reference, shotFirstPoint(), and tiePointsTableUpdate().
Referenced by onAdjPointPicked().
Definition at line 760 of file TiePointLocatorWidget.cpp.
References m_ui.
Referenced by onAutoAcquireTiePointsToolButtonClicked().
|
signal |
Referenced by onDoneToolButtonClicked().
|
protected |
Definition at line 1726 of file TiePointLocatorWidget.cpp.
References Adjust, te::qt::widgets::RasterNavigatorWidget::getDisplay(), te::qt::widgets::MapDisplay::getDraftPixmap(), te::map::MapDisplay::getExtent(), te::da::GetFirstPropertyPos(), getFirstTiePointCoord(), getTiePointContainer(), m_adjLayer, m_adjNavigator, te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, m_refLayer, m_refNavigator, m_rgbaMarkRef, m_rgbaMarkSelected, m_rgbaMarkUnselected, te::qt::widgets::TiePointData::m_selected, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, PATTERN_SIZE, te::dt::RASTER_TYPE, Reference, te::qt::widgets::Canvas::setWindow(), te::gm::Point::setX(), te::gm::Point::setY(), TE_OPAQUE, TE_TRANSPARENT, te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by onAdjMapDisplayExtentChanged(), onAdjPointMoved(), onAdjPointPicked(), onRefMapDisplayExtentChanged(), onRefPointMoved(), onRefPointPicked(), and onTiePointsUpdated().
| te::qt::widgets::TiePointLocatorWidget::FirstCoordType te::qt::widgets::TiePointLocatorWidget::getFirstTiePointCoord | ( | te::gm::Coord2D & | firstCoord | ) |
Get tie point reference coord that does not have an adjust coordenate or \ tie point adjust coord that does not have an reference coordenate.
| firstCoord | The tie point reference or adjsut coord. |
Definition at line 275 of file TiePointLocatorWidget.cpp.
References Adjust, m_currentTiePoint, m_tiePointFirstCoord, and Reference.
Referenced by drawTiePoints().
| Ui::TiePointLocatorWidgetForm * te::qt::widgets::TiePointLocatorWidget::getForm | ( | ) | const |
Definition at line 192 of file TiePointLocatorWidget.cpp.
References m_ui.
| te::rst::Interpolator::Method te::qt::widgets::TiePointLocatorWidget::getInterpolatorMethod | ( | ) | const |
Definition at line 470 of file TiePointLocatorWidget.cpp.
References te::rst::Bicubic, te::rst::Bilinear, te::qt::widgets::TiePointLocatorParametersWidget::getWidgetForm(), m_tiePointParameters, and te::rst::NearestNeighbor.
| void te::qt::widgets::TiePointLocatorWidget::getOutputResolution | ( | double & | resX, |
| double & | resY | ||
| ) |
Definition at line 459 of file TiePointLocatorWidget.cpp.
References m_ui.
| void te::qt::widgets::TiePointLocatorWidget::getOutputSRID | ( | int & | srid | ) |
Definition at line 454 of file TiePointLocatorWidget.cpp.
References m_ui.
|
protected |
Definition at line 1884 of file TiePointLocatorWidget.cpp.
References te::qt::widgets::GetImage(), p, and PATTERN_SIZE.
Referenced by TiePointLocatorWidget().
| const te::qt::widgets::TiePointData::TPContainerT & te::qt::widgets::TiePointLocatorWidget::getTiePointContainer | ( | ) |
Get tie point data container.
Definition at line 270 of file TiePointLocatorWidget.cpp.
References m_tiePoints.
Referenced by drawTiePoints().
| void te::qt::widgets::TiePointLocatorWidget::getTiePoints | ( | std::vector< te::gm::GTParameters::TiePoint > & | tiePoints | ) | const |
Get the current acquired tie-points.
| tiePoints | The current acquired tie-points. |
Definition at line 197 of file TiePointLocatorWidget.cpp.
References ds, te::da::GetFirstPropertyPos(), m_refLayer, m_tiePoints, m_ui, te::dt::RASTER_TYPE, te::gm::Coord2D::x, and te::gm::Coord2D::y.
| void te::qt::widgets::TiePointLocatorWidget::getTiePointsIdxCoords | ( | std::vector< te::gm::GTParameters::TiePoint > & | tiePoints | ) | const |
Get the current acquired tie-points.
| tiePoints | The current acquired tie-points. |
Definition at line 246 of file TiePointLocatorWidget.cpp.
References ds, te::da::GetFirstPropertyPos(), m_refLayer, m_tiePoints, and te::dt::RASTER_TYPE.
| std::string te::qt::widgets::TiePointLocatorWidget::getTransformationName | ( | ) | const |
Definition at line 465 of file TiePointLocatorWidget.cpp.
References te::qt::widgets::TiePointLocatorParametersWidget::getTransformationName(), and m_tiePointParameters.
|
protectedslot |
Definition at line 1034 of file TiePointLocatorWidget.cpp.
References te::gm::Envelope::getCenter(), te::qt::widgets::RasterNavigatorWidget::getDisplay(), te::map::MapDisplay::getExtent(), te::da::GetFirstPropertyPos(), te::qt::widgets::TiePointData::m_acqType, m_adjLayer, m_adjNavigator, m_adjPoints, m_currentTiePoint, m_refLayer, m_refPoints, te::qt::widgets::TiePointData::m_tiePoint, m_tiePointIdCounter, m_tiePoints, m_ui, te::qt::widgets::TiePointData::ManualAcquisitionT, te::dt::RASTER_TYPE, shotFirstPoint(), shotSecondtPoint(), tiePointsTableUpdate(), te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by TiePointLocatorWidget().
|
protectedslot |
Definition at line 1139 of file TiePointLocatorWidget.cpp.
References drawTiePoints().
Referenced by startUpNavigators().
|
protectedslot |
Definition at line 1165 of file TiePointLocatorWidget.cpp.
References adjCoordMoved(), and drawTiePoints().
Referenced by startUpNavigators().
|
protectedslot |
Definition at line 1151 of file TiePointLocatorWidget.cpp.
References adjCoordPicked(), and drawTiePoints().
Referenced by startUpNavigators().
|
protectedslot |
Definition at line 775 of file TiePointLocatorWidget.cpp.
References te::qt::widgets::TiePointData::AutomaticAcquisitionT, createSelection(), te::rp::TiePointsLocator::execute(), te::rst::Grid::geoToGrid(), te::qt::widgets::RasterNavigatorWidget::getCurrentExtent(), te::da::GetFirstPropertyPos(), te::rst::Raster::getGrid(), te::rp::Module::getLastLogStr(), te::rst::Raster::getNumberOfColumns(), te::rst::Raster::getNumberOfRows(), te::qt::widgets::TiePointLocatorParametersWidget::getTiePointInputParameters(), te::rp::TiePointsLocator::initialize(), te::qt::widgets::TiePointData::m_acqType, m_adjLayer, m_adjNavigator, m_adjPoints, te::rp::TiePointsLocatorInputParameters::m_enableProgress, te::rp::TiePointsLocatorInputParameters::m_inRaster1Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inRaster2Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster2Ptr, te::rp::TiePointsLocatorInputParameters::m_pixelSizeXRelation, te::rp::TiePointsLocatorInputParameters::m_pixelSizeYRelation, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaColStart, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaHeight, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaLineStart, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaWidth, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaColStart, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaHeight, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaLineStart, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaWidth, m_refLayer, m_refNavigator, m_refPoints, te::rp::TiePointsLocatorInputParameters::m_subSampleOptimizationRescaleFactor, te::qt::widgets::TiePointData::m_tiePoint, m_tiePointIdCounter, m_tiePointParameters, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, m_tiePoints, m_ui, te::qt::widgets::TiePointData::ManualAcquisitionT, onTiePointsTableWidgetItemSelectionChanged(), te::dt::RASTER_TYPE, tiePointsTableUpdate(), te::gm::Envelope::transform(), and transformationInfoUpdate().
Referenced by TiePointLocatorWidget().
|
protectedslot |
Definition at line 996 of file TiePointLocatorWidget.cpp.
References m_adjPoints, m_refPoints, m_tiePointIdCounter, m_tiePoints, m_tiePointsSelected, m_ui, and tiePointsTableUpdate().
Referenced by TiePointLocatorWidget().
|
protectedslot |
Definition at line 1129 of file TiePointLocatorWidget.cpp.
References doneAcquiredTiePoints().
Referenced by TiePointLocatorWidget().
|
protectedslot |
Definition at line 1192 of file TiePointLocatorWidget.cpp.
References te::qt::widgets::AddFilePathToSettings(), te::qt::widgets::TiePointData::AutomaticAcquisitionT, te::qt::widgets::GetFilePathFromSettings(), te::qt::widgets::TiePointData::m_acqType, m_adjLayer, m_adjPoints, m_refLayer, m_refPoints, te::qt::widgets::TiePointData::m_tiePoint, m_tiePointIdCounter, m_tiePoints, te::qt::widgets::TiePointData::ManualAcquisitionT, te::srs::Converter::setSourceSRID(), tiePointsTableUpdate(), te::common::Tokenize(), transformationInfoUpdate(), te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by TiePointLocatorWidget().
|
protectedslot |
Definition at line 1134 of file TiePointLocatorWidget.cpp.
References drawTiePoints().
Referenced by startUpNavigators().
|
protectedslot |
Definition at line 1158 of file TiePointLocatorWidget.cpp.
References drawTiePoints(), and refCoordMoved().
Referenced by startUpNavigators().
|
protectedslot |
Definition at line 1144 of file TiePointLocatorWidget.cpp.
References drawTiePoints(), and refCoordPicked().
Referenced by startUpNavigators().
|
protectedslot |
Definition at line 1124 of file TiePointLocatorWidget.cpp.
References tiePointsTableUpdate().
Referenced by TiePointLocatorWidget().
|
protectedslot |
Definition at line 1381 of file TiePointLocatorWidget.cpp.
References te::qt::widgets::AddFilePathToSettings(), te::qt::widgets::GetFilePathFromSettings(), te::rst::Grid::gridToGeo(), m_adjLayer, m_refLayer, m_tiePoints, te::qt::widgets::TiePointData::ManualAcquisitionT, te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by TiePointLocatorWidget().
|
protectedslot |
Definition at line 986 of file TiePointLocatorWidget.cpp.
References m_ui.
Referenced by TiePointLocatorWidget().
|
protectedslot |
Definition at line 1177 of file TiePointLocatorWidget.cpp.
References te::qt::widgets::SRSManagerDialog::getSelectedSRS(), and m_ui.
Referenced by TiePointLocatorWidget().
|
protectedslot |
Definition at line 1892 of file TiePointLocatorWidget.cpp.
References col, te::da::GetFirstPropertyPos(), m_adjLayer, m_adjPoints, m_refLayer, m_refPoints, m_tiePoints, m_ui, te::dt::RASTER_TYPE, tiePointsTableUpdate(), te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by TiePointLocatorWidget().
|
protectedslot |
Definition at line 1119 of file TiePointLocatorWidget.cpp.
References transformationInfoUpdate().
Referenced by onAutoAcquireTiePointsToolButtonClicked(), and TiePointLocatorWidget().
|
protectedslot |
Definition at line 1172 of file TiePointLocatorWidget.cpp.
References drawTiePoints().
Referenced by TiePointLocatorWidget().
|
protectedslot |
Definition at line 991 of file TiePointLocatorWidget.cpp.
References m_ui.
Referenced by TiePointLocatorWidget().
|
protected |
Definition at line 678 of file TiePointLocatorWidget.cpp.
References ds, te::da::GetFirstPropertyPos(), m_refLayer, m_tiePoints, te::dt::RASTER_TYPE, tiePointsTableUpdate(), te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by onRefPointMoved().
|
protected |
Definition at line 488 of file TiePointLocatorWidget.cpp.
References Adjust, ds, te::da::GetFirstPropertyPos(), te::qt::widgets::TiePointData::m_acqType, m_currentTiePoint, m_refLayer, m_refPoints, te::qt::widgets::TiePointData::m_tiePoint, m_tiePointFirstCoord, m_tiePointIdCounter, m_tiePoints, te::qt::widgets::TiePointData::ManualAcquisitionT, None, te::dt::RASTER_TYPE, Reference, shotSecondtPoint(), and tiePointsTableUpdate().
Referenced by onRefPointPicked().
|
protected |
Definition at line 1961 of file TiePointLocatorWidget.cpp.
References m_adjPoints, m_refPoints, m_tiePointFirstCoord, m_tiePointIdCounter, m_tiePoints, m_tiePointsSelected, None, and tiePointsTableUpdate().
Referenced by setAdjustLayer(), and setReferenceLayer().
| void te::qt::widgets::TiePointLocatorWidget::setAdjustLayer | ( | te::map::AbstractLayerPtr | layer | ) |
This method is used to set the selected layer used to be the adjust layer.
| layer | The layer ptr |
Definition at line 387 of file TiePointLocatorWidget.cpp.
References ds, te::da::GetFirstPropertyPos(), m_adjLayer, m_adjNavigator, m_refLayer, m_tiePointParameters, m_ui, te::dt::RASTER_TYPE, reset(), te::qt::widgets::RasterNavigatorWidget::set(), and te::qt::widgets::TiePointLocatorParametersWidget::setRescaleFactor().
| void te::qt::widgets::TiePointLocatorWidget::setReferenceLayer | ( | te::map::AbstractLayerPtr | layer | ) |
This method is used to set the selected layer used to be the reference layer.
| layer | The layer ptr |
Definition at line 285 of file TiePointLocatorWidget.cpp.
References ds, te::da::GetFirstPropertyPos(), m_adjLayer, m_refLayer, m_refNavigator, m_tiePointFirstCoord, m_tiePointParameters, m_ui, None, te::dt::RASTER_TYPE, reset(), te::qt::widgets::RasterNavigatorWidget::set(), and te::qt::widgets::TiePointLocatorParametersWidget::setRescaleFactor().
|
protected |
Definition at line 755 of file TiePointLocatorWidget.cpp.
References m_ui.
Referenced by TiePointLocatorWidget().
|
protected |
Definition at line 750 of file TiePointLocatorWidget.cpp.
References m_ui.
Referenced by TiePointLocatorWidget().
|
protected |
Definition at line 745 of file TiePointLocatorWidget.cpp.
References m_ui.
Referenced by TiePointLocatorWidget().
|
protected |
Definition at line 626 of file TiePointLocatorWidget.cpp.
References ds, te::da::GetFirstPropertyPos(), te::qt::widgets::TiePointLocatorParametersWidget::getTransformationName(), te::gm::Coord2D::getX(), te::gm::Coord2D::getY(), m_currentTiePoint, m_refLayer, m_refPoints, m_tiePointIdCounter, m_tiePointParameters, te::gm::GTParameters::m_tiePoints, m_tiePoints, te::common::AbstractFactory< GeometricTransformation, std::string >::make(), and te::dt::RASTER_TYPE.
Referenced by adjCoordPicked(), and onAddToolButtonClicked().
|
protected |
Definition at line 529 of file TiePointLocatorWidget.cpp.
References ds, te::da::GetFirstPropertyPos(), te::qt::widgets::TiePointLocatorParametersWidget::getTransformationName(), te::gm::Coord2D::getX(), te::gm::Coord2D::getY(), m_adjLayer, m_adjPoints, m_currentTiePoint, m_tiePointFirstCoord, m_tiePointIdCounter, m_tiePointParameters, te::gm::GTParameters::m_tiePoints, m_tiePoints, te::common::AbstractFactory< GeometricTransformation, std::string >::make(), None, and te::dt::RASTER_TYPE.
Referenced by onAddToolButtonClicked(), and refCoordPicked().
|
protected |
Definition at line 1687 of file TiePointLocatorWidget.cpp.
References te::qt::widgets::RasterNavigatorWidget::hideBoxTool(), te::qt::widgets::RasterNavigatorWidget::hideGeomTool(), te::qt::widgets::RasterNavigatorWidget::hideInfoTool(), m_adjNavigator, m_adjPoints, m_refNavigator, m_refPoints, m_ui, onAdjMapDisplayExtentChanged(), onAdjPointMoved(), onAdjPointPicked(), onRefMapDisplayExtentChanged(), onRefPointMoved(), onRefPointPicked(), and te::qt::widgets::RasterNavigatorWidget::setPoints().
Referenced by TiePointLocatorWidget().
|
protected |
Uptate the tie-points table widget.
Definition at line 1486 of file TiePointLocatorWidget.cpp.
References te::qt::widgets::TiePointLocatorParametersWidget::getTransformationName(), m_refLayer, m_tiePointParameters, te::gm::GTParameters::m_tiePoints, m_tiePoints, m_tiePointsSelected, m_ui, te::common::AbstractFactory< GeometricTransformation, std::string >::make(), te::qt::widgets::TiePointData::ManualAcquisitionT, and transformationInfoUpdate().
Referenced by adjCoordMoved(), adjCoordPicked(), onAddToolButtonClicked(), onAutoAcquireTiePointsToolButtonClicked(), onDeleteSelectedToolButtonClicked(), onLoadTiePointsToolButtonClicked(), onRefreshToolButtonClicked(), onTiePointsTableWidgetItemChanged(), refCoordMoved(), refCoordPicked(), and reset().
|
signal |
Referenced by TiePointLocatorWidget(), and transformationInfoUpdate().
|
protected |
Uptate the current transformation information widgets.
Definition at line 1606 of file TiePointLocatorWidget.cpp.
References te::qt::widgets::TiePointLocatorParametersWidget::getTransformationName(), m_tiePointParameters, te::gm::GTParameters::m_tiePoints, m_tiePoints, m_tiePointsSelected, m_ui, te::common::AbstractFactory< GeometricTransformation, std::string >::make(), and tiePointsUpdated().
Referenced by onAutoAcquireTiePointsToolButtonClicked(), onLoadTiePointsToolButtonClicked(), onTiePointsTableWidgetItemSelectionChanged(), and tiePointsTableUpdate().
|
private |
Layer with adjust imagem.
Definition at line 265 of file TiePointLocatorWidget.h.
Referenced by adjCoordMoved(), adjCoordPicked(), drawTiePoints(), onAddToolButtonClicked(), onAutoAcquireTiePointsToolButtonClicked(), onLoadTiePointsToolButtonClicked(), onSaveTiePointsToolButtonClicked(), onTiePointsTableWidgetItemChanged(), setAdjustLayer(), setReferenceLayer(), and shotSecondtPoint().
|
private |
Adjust raster navigator.
Definition at line 276 of file TiePointLocatorWidget.h.
Referenced by drawTiePoints(), onAddToolButtonClicked(), onAutoAcquireTiePointsToolButtonClicked(), setAdjustLayer(), and startUpNavigators().
|
private |
Display adjust coordinates.
Definition at line 285 of file TiePointLocatorWidget.h.
Referenced by adjCoordPicked(), onAddToolButtonClicked(), onAutoAcquireTiePointsToolButtonClicked(), onDeleteSelectedToolButtonClicked(), onLoadTiePointsToolButtonClicked(), onTiePointsTableWidgetItemChanged(), reset(), shotSecondtPoint(), and startUpNavigators().
|
private |
The current tie-point.
Definition at line 269 of file TiePointLocatorWidget.h.
Referenced by adjCoordPicked(), getFirstTiePointCoord(), onAddToolButtonClicked(), refCoordPicked(), shotFirstPoint(), and shotSecondtPoint().
|
private |
Represents the mark of a reference tie point.
Definition at line 283 of file TiePointLocatorWidget.h.
Referenced by TiePointLocatorWidget(), and ~TiePointLocatorWidget().
|
private |
Represents the mark of a selected tie point.
Definition at line 281 of file TiePointLocatorWidget.h.
Referenced by TiePointLocatorWidget(), and ~TiePointLocatorWidget().
|
private |
Represents the mark of a unselected tie point.
Definition at line 282 of file TiePointLocatorWidget.h.
Referenced by TiePointLocatorWidget(), and ~TiePointLocatorWidget().
|
private |
Layer with reference imagem.
Definition at line 264 of file TiePointLocatorWidget.h.
Referenced by adjCoordPicked(), drawTiePoints(), getTiePoints(), getTiePointsIdxCoords(), onAddToolButtonClicked(), onAutoAcquireTiePointsToolButtonClicked(), onLoadTiePointsToolButtonClicked(), onSaveTiePointsToolButtonClicked(), onTiePointsTableWidgetItemChanged(), refCoordMoved(), refCoordPicked(), setAdjustLayer(), setReferenceLayer(), shotFirstPoint(), and tiePointsTableUpdate().
|
private |
Reference raster navigator.
Definition at line 275 of file TiePointLocatorWidget.h.
Referenced by drawTiePoints(), onAutoAcquireTiePointsToolButtonClicked(), setReferenceLayer(), and startUpNavigators().
|
private |
Display reference coordinates.
Definition at line 284 of file TiePointLocatorWidget.h.
Referenced by onAddToolButtonClicked(), onAutoAcquireTiePointsToolButtonClicked(), onDeleteSelectedToolButtonClicked(), onLoadTiePointsToolButtonClicked(), onTiePointsTableWidgetItemChanged(), refCoordPicked(), reset(), shotFirstPoint(), and startUpNavigators().
|
private |
Represents the pattern of reference tie point.
Definition at line 280 of file TiePointLocatorWidget.h.
Referenced by drawTiePoints(), TiePointLocatorWidget(), and ~TiePointLocatorWidget().
|
private |
Represents the pattern of a selected tie point.
Definition at line 278 of file TiePointLocatorWidget.h.
Referenced by drawTiePoints(), TiePointLocatorWidget(), and ~TiePointLocatorWidget().
|
private |
Represents the pattern of a unselected tie point.
Definition at line 279 of file TiePointLocatorWidget.h.
Referenced by drawTiePoints(), TiePointLocatorWidget(), and ~TiePointLocatorWidget().
|
private |
Type of coord if the tie-point has the first part set;.
Definition at line 270 of file TiePointLocatorWidget.h.
Referenced by adjCoordPicked(), getFirstTiePointCoord(), refCoordPicked(), reset(), setReferenceLayer(), and shotSecondtPoint().
|
private |
A ID counter for new tie pointes inserted into m_tiePoints;.
Definition at line 271 of file TiePointLocatorWidget.h.
Referenced by adjCoordPicked(), onAddToolButtonClicked(), onAutoAcquireTiePointsToolButtonClicked(), onDeleteSelectedToolButtonClicked(), onLoadTiePointsToolButtonClicked(), refCoordPicked(), reset(), shotFirstPoint(), and shotSecondtPoint().
|
private |
Tie Point parameters widget.
Definition at line 262 of file TiePointLocatorWidget.h.
Referenced by getInterpolatorMethod(), getTransformationName(), onAutoAcquireTiePointsToolButtonClicked(), setAdjustLayer(), setReferenceLayer(), shotFirstPoint(), shotSecondtPoint(), TiePointLocatorWidget(), tiePointsTableUpdate(), and transformationInfoUpdate().
|
private |
Internal tie-points container.
Definition at line 267 of file TiePointLocatorWidget.h.
Referenced by adjCoordMoved(), adjCoordPicked(), getTiePointContainer(), getTiePoints(), getTiePointsIdxCoords(), onAddToolButtonClicked(), onAutoAcquireTiePointsToolButtonClicked(), onDeleteSelectedToolButtonClicked(), onLoadTiePointsToolButtonClicked(), onSaveTiePointsToolButtonClicked(), onTiePointsTableWidgetItemChanged(), refCoordMoved(), refCoordPicked(), reset(), shotFirstPoint(), shotSecondtPoint(), tiePointsTableUpdate(), and transformationInfoUpdate().
List of selected tie points.
Definition at line 273 of file TiePointLocatorWidget.h.
Referenced by onDeleteSelectedToolButtonClicked(), reset(), tiePointsTableUpdate(), and transformationInfoUpdate().
|
private |
Definition at line 260 of file TiePointLocatorWidget.h.
Referenced by createSelection(), getForm(), getOutputResolution(), getOutputSRID(), getTiePoints(), onAddToolButtonClicked(), onAutoAcquireTiePointsToolButtonClicked(), onDeleteSelectedToolButtonClicked(), onSelectAllToolButtonClicked(), onSRIDPushButtonClicked(), onTiePointsTableWidgetItemChanged(), onUnselectAllToolButtonClicked(), setAdjustLayer(), setReferenceLayer(), setReferenceTiePointMarkLegend(), setSelectedTiePointMarkLegend(), setTiePointMarkLegend(), startUpNavigators(), TiePointLocatorWidget(), tiePointsTableUpdate(), and transformationInfoUpdate().