This class is used to define a widget for tie point acquirement. More...
#include <TiePointLocatorWidget.h>
  
 Signals | |
| void | doneAcquiredTiePoints () | 
| void | tiePointsUpdated () | 
Public Member Functions | |
| Ui::TiePointLocatorWidgetForm * | getForm () const | 
| void | getOutputResolution (double &resX, double &resY) | 
| void | getOutputSRID (int &srid) | 
| bool | getReferenceTiePointCoord (te::gm::Coord2D &coordRef) | 
| Get tie point reference coord that does not have an adjust coordenate.  More... | |
| 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 | 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 | onAdjPointPicked (double x, double y, te::qt::widgets::MapDisplay *map) | 
| void | onAutoAcquireTiePointsToolButtonClicked () | 
| void | onDeleteSelectedToolButtonClicked () | 
| void | onDoneToolButtonClicked () | 
| void | onRefMapDisplayExtentChanged () | 
| void | onRefPointPicked (double x, double y, te::qt::widgets::MapDisplay *map) | 
| void | onRefreshToolButtonClicked () | 
| void | onSelectAllToolButtonClicked () | 
| void | onSRIDPushButtonClicked () | 
| void | onTiePointsTableWidgetItemSelectionChanged () | 
| void | onTiePointsUpdated () | 
| void | onUnselectAllToolButtonClicked () | 
Protected Member Functions | |
| void | adjCoordPicked (double x, double y) | 
| void | createSelection (int initialId) | 
| void | drawTiePoints () | 
| QPixmap | getPixmap (te::color::RGBAColor **rgba) | 
| void | refCoordPicked (double x, double y) | 
| void | setReferenceTiePointMarkLegend (QPixmap p) | 
| void | setSelectedTiePointMarkLegend (QPixmap p) | 
| void | setTiePointMarkLegend (QPixmap p) | 
| void | startAdvancedOptions () | 
| Fill interface widget with initial values.  More... | |
| void | startUpNavigators () | 
| void | tiePointsTableUpdate () | 
| Uptate the tie-points table widget.  More... | |
| void | transformationInfoUpdate () | 
| Uptate the current transformation information widgets.  More... | |
| void | updateAdvancedOptions () | 
| Update tie point values with advanced options changed values.  More... | |
Private Attributes | |
| te::map::AbstractLayerPtr | m_adjLayer | 
| Layer with adjust imagem.  More... | |
| te::qt::widgets::RasterNavigatorWidget * | m_adjNavigator | 
| Adjust raster navigator.  More... | |
| te::gm::GTParameters::TiePoint | m_currentTiePoint | 
| The current tie-point.  More... | |
| te::rp::TiePointsLocator::InputParameters | m_inputParameters | 
| The current parameters.  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... | |
| 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... | |
| bool | m_tiePointHasFirstCoord | 
| true 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::TiePointData::TPContainerT | m_tiePoints | 
| Internal tie-points container.  More... | |
| std::set< int > | m_tiePointsSelected | 
| List of selected tie points.  More... | |
| std::auto_ptr < Ui::TiePointLocatorWidgetForm >  | m_ui | 
This class is used to define a widget for tie point acquirement.
Definition at line 93 of file TiePointLocatorWidget.h.
| te::qt::widgets::TiePointLocatorWidget::TiePointLocatorWidget | ( | QWidget * | parent = 0,  | 
        
| Qt::WindowFlags | f = 0  | 
        ||
| ) | 
Definition at line 89 of file TiePointLocatorWidget.cpp.
References te::se::CreateFill(), te::se::CreateMark(), te::se::CreateStroke(), te::common::Singleton< MarkRendererManager >::getInstance(), getPixmap(), m_markRef, m_markSelected, m_markUnselected, m_rgbaMarkRef, m_rgbaMarkSelected, m_rgbaMarkUnselected, m_ui, onAddToolButtonClicked(), onAutoAcquireTiePointsToolButtonClicked(), onDeleteSelectedToolButtonClicked(), onDoneToolButtonClicked(), onRefreshToolButtonClicked(), onSelectAllToolButtonClicked(), onSRIDPushButtonClicked(), onTiePointsTableWidgetItemSelectionChanged(), onTiePointsUpdated(), onUnselectAllToolButtonClicked(), PATTERN_SIZE, setReferenceTiePointMarkLegend(), setSelectedTiePointMarkLegend(), setTiePointMarkLegend(), startAdvancedOptions(), startUpNavigators(), and tiePointsUpdated().
| te::qt::widgets::TiePointLocatorWidget::~TiePointLocatorWidget | ( | ) | 
Definition at line 163 of file TiePointLocatorWidget.cpp.
References te::common::Free(), and PATTERN_SIZE.
      
  | 
  protected | 
Definition at line 334 of file TiePointLocatorWidget.cpp.
References te::da::GetFirstPropertyPos(), te::qt::widgets::TiePointData::m_acqType, te::qt::widgets::TiePointData::m_tiePoint, te::qt::widgets::TiePointData::ManualAcquisitionT, and te::dt::RASTER_TYPE.
      
  | 
  protected | 
Definition at line 383 of file TiePointLocatorWidget.cpp.
      
  | 
  signal | 
      
  | 
  protected | 
Definition at line 980 of file TiePointLocatorWidget.cpp.
References te::qt::widgets::MapDisplay::getDraftPixmap(), te::map::MapDisplay::getExtent(), te::da::GetFirstPropertyPos(), te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::qt::widgets::TiePointData::m_selected, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, PATTERN_SIZE, te::dt::RASTER_TYPE, te::qt::widgets::Canvas::setWindow(), te::gm::Point::setX(), te::gm::Point::setY(), TE_TRANSPARENT, te::gm::Coord2D::x, and te::gm::Coord2D::y.
| Ui::TiePointLocatorWidgetForm * te::qt::widgets::TiePointLocatorWidget::getForm | ( | ) | const | 
Definition at line 175 of file TiePointLocatorWidget.cpp.
| void te::qt::widgets::TiePointLocatorWidget::getOutputResolution | ( | double & | resX, | 
| double & | resY | ||
| ) | 
Definition at line 307 of file TiePointLocatorWidget.cpp.
| void te::qt::widgets::TiePointLocatorWidget::getOutputSRID | ( | int & | srid | ) | 
Definition at line 302 of file TiePointLocatorWidget.cpp.
      
  | 
  protected | 
Definition at line 1097 of file TiePointLocatorWidget.cpp.
References te::qt::widgets::GetImage(), and PATTERN_SIZE.
Referenced by TiePointLocatorWidget().
| bool te::qt::widgets::TiePointLocatorWidget::getReferenceTiePointCoord | ( | te::gm::Coord2D & | coordRef | ) | 
Get tie point reference coord that does not have an adjust coordenate.
| coordRef | The tie point reference coord. | 
Definition at line 221 of file TiePointLocatorWidget.cpp.
| const te::qt::widgets::TiePointData::TPContainerT & te::qt::widgets::TiePointLocatorWidget::getTiePointContainer | ( | ) | 
Get tie point data container.
Definition at line 216 of file TiePointLocatorWidget.cpp.
| 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 180 of file TiePointLocatorWidget.cpp.
References te::da::GetFirstPropertyPos(), te::dt::RASTER_TYPE, te::gm::Coord2D::x, and te::gm::Coord2D::y.
      
  | 
  protectedslot | 
Definition at line 564 of file TiePointLocatorWidget.cpp.
References te::qt::widgets::TiePointData::m_acqType, te::qt::widgets::TiePointData::m_tiePoint, and te::qt::widgets::TiePointData::ManualAcquisitionT.
Referenced by TiePointLocatorWidget().
      
  | 
  protectedslot | 
Definition at line 605 of file TiePointLocatorWidget.cpp.
      
  | 
  protectedslot | 
Definition at line 617 of file TiePointLocatorWidget.cpp.
      
  | 
  protectedslot | 
Definition at line 399 of file TiePointLocatorWidget.cpp.
References te::qt::widgets::TiePointData::AutomaticAcquisitionT, te::rp::TiePointsLocator::execute(), te::rst::Grid::geoToGrid(), te::da::GetFirstPropertyPos(), te::rst::Raster::getGrid(), te::rst::Raster::getNumberOfColumns(), te::rst::Raster::getNumberOfRows(), te::rp::TiePointsLocator::initialize(), te::qt::widgets::TiePointData::m_acqType, te::rp::TiePointsLocator::InputParameters::m_enableProgress, te::rp::TiePointsLocator::InputParameters::m_inRaster1Bands, te::rp::TiePointsLocator::InputParameters::m_inRaster1Ptr, te::rp::TiePointsLocator::InputParameters::m_inRaster2Bands, te::rp::TiePointsLocator::InputParameters::m_inRaster2Ptr, te::rp::TiePointsLocator::InputParameters::m_maxR1ToR2Offset, te::rp::TiePointsLocator::InputParameters::m_pixelSizeXRelation, te::rp::TiePointsLocator::InputParameters::m_pixelSizeYRelation, te::rp::TiePointsLocator::InputParameters::m_raster1TargetAreaColStart, te::rp::TiePointsLocator::InputParameters::m_raster1TargetAreaHeight, te::rp::TiePointsLocator::InputParameters::m_raster1TargetAreaLineStart, te::rp::TiePointsLocator::InputParameters::m_raster1TargetAreaWidth, te::rp::TiePointsLocator::InputParameters::m_raster2TargetAreaColStart, te::rp::TiePointsLocator::InputParameters::m_raster2TargetAreaHeight, te::rp::TiePointsLocator::InputParameters::m_raster2TargetAreaLineStart, te::rp::TiePointsLocator::InputParameters::m_raster2TargetAreaWidth, te::qt::widgets::TiePointData::m_tiePoint, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, te::qt::widgets::TiePointData::ManualAcquisitionT, and te::dt::RASTER_TYPE.
Referenced by TiePointLocatorWidget().
      
  | 
  protectedslot | 
Definition at line 534 of file TiePointLocatorWidget.cpp.
Referenced by TiePointLocatorWidget().
      
  | 
  protectedslot | 
Definition at line 595 of file TiePointLocatorWidget.cpp.
Referenced by TiePointLocatorWidget().
      
  | 
  protectedslot | 
Definition at line 600 of file TiePointLocatorWidget.cpp.
      
  | 
  protectedslot | 
Definition at line 610 of file TiePointLocatorWidget.cpp.
      
  | 
  protectedslot | 
Definition at line 588 of file TiePointLocatorWidget.cpp.
Referenced by TiePointLocatorWidget().
      
  | 
  protectedslot | 
Definition at line 524 of file TiePointLocatorWidget.cpp.
Referenced by TiePointLocatorWidget().
      
  | 
  protectedslot | 
Definition at line 629 of file TiePointLocatorWidget.cpp.
References te::qt::widgets::SRSManagerDialog::getSelectedSRS().
Referenced by TiePointLocatorWidget().
      
  | 
  protectedslot | 
Definition at line 583 of file TiePointLocatorWidget.cpp.
Referenced by TiePointLocatorWidget().
      
  | 
  protectedslot | 
Definition at line 624 of file TiePointLocatorWidget.cpp.
Referenced by TiePointLocatorWidget().
      
  | 
  protectedslot | 
Definition at line 529 of file TiePointLocatorWidget.cpp.
Referenced by TiePointLocatorWidget().
      
  | 
  protected | 
Definition at line 313 of file TiePointLocatorWidget.cpp.
References te::da::GetFirstPropertyPos(), and te::dt::RASTER_TYPE.
| 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 266 of file TiePointLocatorWidget.cpp.
References te::da::GetFirstPropertyPos(), and te::dt::RASTER_TYPE.
| 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 229 of file TiePointLocatorWidget.cpp.
References te::da::GetFirstPropertyPos(), and te::dt::RASTER_TYPE.
      
  | 
  protected | 
Definition at line 378 of file TiePointLocatorWidget.cpp.
Referenced by TiePointLocatorWidget().
      
  | 
  protected | 
Definition at line 373 of file TiePointLocatorWidget.cpp.
Referenced by TiePointLocatorWidget().
      
  | 
  protected | 
Definition at line 368 of file TiePointLocatorWidget.cpp.
Referenced by TiePointLocatorWidget().
      
  | 
  protected | 
Fill interface widget with initial values.
Definition at line 830 of file TiePointLocatorWidget.cpp.
References te::common::FactoryDictionary< TFACTORY, TFACTORYKEY, TKEYCOMPARE >::begin(), te::rst::Interpolator::Bicubic, te::rst::Interpolator::Bilinear, te::common::FactoryDictionary< TFACTORY, TFACTORYKEY, TKEYCOMPARE >::end(), te::common::AbstractFactory< GeometricTransformation, std::string >::getDictionary(), and te::rp::TiePointsLocator::InputParameters::SurfStrategyT.
Referenced by TiePointLocatorWidget().
      
  | 
  protected | 
Definition at line 945 of file TiePointLocatorWidget.cpp.
Referenced by TiePointLocatorWidget().
      
  | 
  protected | 
Uptate the tie-points table widget.
Definition at line 644 of file TiePointLocatorWidget.cpp.
References te::gm::GTParameters::m_tiePoints, te::common::AbstractFactory< GeometricTransformation, std::string >::make(), and te::qt::widgets::TiePointData::ManualAcquisitionT.
      
  | 
  signal | 
Referenced by TiePointLocatorWidget().
      
  | 
  protected | 
Uptate the current transformation information widgets.
Definition at line 749 of file TiePointLocatorWidget.cpp.
References te::gm::GTParameters::m_tiePoints, and te::common::AbstractFactory< GeometricTransformation, std::string >::make().
      
  | 
  protected | 
Update tie point values with advanced options changed values.
Definition at line 904 of file TiePointLocatorWidget.cpp.
References te::rst::Interpolator::Bicubic, te::rst::Interpolator::Bilinear, te::rp::TiePointsLocator::InputParameters::MoravecStrategyT, te::rst::Interpolator::NearestNeighbor, and te::rp::TiePointsLocator::InputParameters::SurfStrategyT.
      
  | 
  private | 
Layer with adjust imagem.
Definition at line 227 of file TiePointLocatorWidget.h.
      
  | 
  private | 
Adjust raster navigator.
Definition at line 241 of file TiePointLocatorWidget.h.
      
  | 
  private | 
The current tie-point.
Definition at line 233 of file TiePointLocatorWidget.h.
      
  | 
  private | 
The current parameters.
Definition at line 231 of file TiePointLocatorWidget.h.
      
  | 
  private | 
Represents the mark of a reference tie point.
Definition at line 248 of file TiePointLocatorWidget.h.
Referenced by TiePointLocatorWidget().
      
  | 
  private | 
Represents the mark of a selected tie point.
Definition at line 246 of file TiePointLocatorWidget.h.
Referenced by TiePointLocatorWidget().
      
  | 
  private | 
Represents the mark of a unselected tie point.
Definition at line 247 of file TiePointLocatorWidget.h.
Referenced by TiePointLocatorWidget().
      
  | 
  private | 
Layer with reference imagem.
Definition at line 226 of file TiePointLocatorWidget.h.
      
  | 
  private | 
Reference raster navigator.
Definition at line 240 of file TiePointLocatorWidget.h.
      
  | 
  private | 
Represents the pattern of reference tie point.
Definition at line 245 of file TiePointLocatorWidget.h.
Referenced by TiePointLocatorWidget().
      
  | 
  private | 
Represents the pattern of a selected tie point.
Definition at line 243 of file TiePointLocatorWidget.h.
Referenced by TiePointLocatorWidget().
      
  | 
  private | 
Represents the pattern of a unselected tie point.
Definition at line 244 of file TiePointLocatorWidget.h.
Referenced by TiePointLocatorWidget().
      
  | 
  private | 
true if the tie-point has the first part set;
Definition at line 234 of file TiePointLocatorWidget.h.
      
  | 
  private | 
A ID counter for new tie pointes inserted into m_tiePoints;.
Definition at line 235 of file TiePointLocatorWidget.h.
      
  | 
  private | 
Internal tie-points container.
Definition at line 229 of file TiePointLocatorWidget.h.
      
  | 
  private | 
List of selected tie points.
Definition at line 237 of file TiePointLocatorWidget.h.
      
  | 
  private | 
Definition at line 224 of file TiePointLocatorWidget.h.
Referenced by TiePointLocatorWidget().