This class is used to define a widget for tie point acquirement.  
 More...
#include <TiePointLocatorWidget.h>
 | 
| 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) | 
|   | 
| double  | getRastersMeanPixelSizeRelation () const | 
|   | Returns the rasters pixel size relation ((under the reference SRS)).  More...
  | 
|   | 
| void  | getRastersPixelSizesRelation (double &pixelSizeXRelation, double &pixelSizeYRelation) const | 
|   | Returns the rasters pixel sizes relation (under the reference SRS)  More...
  | 
|   | 
| 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  | tiePointsTableUpdate () | 
|   | Uptate the tie-points table widget.  More...
  | 
|   | 
| void  | transformationInfoUpdate () | 
|   | Uptate the current transformation information widgets.  More...
  | 
|   | 
This class is used to define a widget for tie point acquirement. 
Definition at line 97 of file TiePointLocatorWidget.h.
 
◆ FirstCoordType
| 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.
 
 
◆ TiePointLocatorWidget()
      
        
          | te::qt::widgets::TiePointLocatorWidget::TiePointLocatorWidget  | 
          ( | 
          QWidget *  | 
          parent = 0,  | 
        
        
           | 
           | 
          Qt::WindowFlags  | 
          f = 0  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ ~TiePointLocatorWidget()
      
        
          | te::qt::widgets::TiePointLocatorWidget::~TiePointLocatorWidget  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ adjCoordMoved()
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::adjCoordMoved  | 
          ( | 
          double  | 
          xorig,  | 
         
        
           | 
           | 
          double  | 
          yorig,  | 
         
        
           | 
           | 
          double  | 
          xnew,  | 
         
        
           | 
           | 
          double  | 
          ynew  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ adjCoordPicked()
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::adjCoordPicked  | 
          ( | 
          double  | 
          x,  | 
         
        
           | 
           | 
          double  | 
          y  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ createSelection()
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::createSelection  | 
          ( | 
          int  | 
          initialIdx,  | 
         
        
           | 
           | 
          int  | 
          nPos  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ doneAcquiredTiePoints
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::doneAcquiredTiePoints  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
signal   | 
  
 
 
◆ drawTiePoints()
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::drawTiePoints  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ getAdjSRID()
      
        
          | void te::qt::widgets::TiePointLocatorWidget::getAdjSRID  | 
          ( | 
          int &  | 
          srid | ) | 
           | 
        
      
 
 
◆ getFirstTiePointCoord()
Get tie point reference coord that does not have an adjust coordenate or \ tie point adjust coord that does not have an reference coordenate. 
- Parameters
 - 
  
    | firstCoord | The tie point reference or adjsut coord. | 
  
   
- Returns
 - The m_tiePointHasFirstCoord type (None, Reference or Adjust). 
 
 
 
◆ getForm()
      
        
          | Ui::TiePointLocatorWidgetForm* te::qt::widgets::TiePointLocatorWidget::getForm  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getInterpolatorMethod()
◆ getOutputResolution()
      
        
          | void te::qt::widgets::TiePointLocatorWidget::getOutputResolution  | 
          ( | 
          double &  | 
          resX,  | 
        
        
           | 
           | 
          double &  | 
          resY  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ getOutputSRID()
      
        
          | void te::qt::widgets::TiePointLocatorWidget::getOutputSRID  | 
          ( | 
          int &  | 
          srid | ) | 
           | 
        
      
 
 
◆ getPixmap()
◆ getRastersMeanPixelSizeRelation()
  
  
      
        
          | double te::qt::widgets::TiePointLocatorWidget::getRastersMeanPixelSizeRelation  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
protected   | 
  
 
Returns the rasters pixel size relation ((under the reference SRS)). 
- Note
 - PixelSizeRelation = Reference_Raster_Mean_Pixel_Size / Adjust_Raster_Mean_Pixel_Size 
 
 
 
◆ getRastersPixelSizesRelation()
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::getRastersPixelSizesRelation  | 
          ( | 
          double &  | 
          pixelSizeXRelation,  | 
         
        
           | 
           | 
          double &  | 
          pixelSizeYRelation  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
protected   | 
  
 
Returns the rasters pixel sizes relation (under the reference SRS) 
- Parameters
 - 
  
    | pixelSizeXRelation | X Relation.  | 
    | pixelSizeYRelation | Y Relation.  | 
  
   
- Note
 - PixelSizeRelation = Reference_Raster_Pixel_Size / Adjust_Raster_Pixel_Size 
 
 
 
◆ getRefSRID()
      
        
          | void te::qt::widgets::TiePointLocatorWidget::getRefSRID  | 
          ( | 
          int &  | 
          srid | ) | 
           | 
        
      
 
 
◆ getTiePointContainer()
Get tie point data container. 
- Returns
 - The tie point data container. 
 
 
 
◆ getTiePoints()
Get the current acquired tie-points. 
- Parameters
 - 
  
    | tiePoints | The current acquired tie-points (TiePoint.first=adjust raster lines/cols, TiePoint.second=the related correct X/Y coords under the output SRID).  | 
  
   
 
 
◆ getTiePointsIdxCoords()
Get the current acquired tie-points. 
- Parameters
 - 
  
    | tiePoints | The current acquired tie-points.  | 
  
   
 
 
◆ getTransformationName()
      
        
          | std::string te::qt::widgets::TiePointLocatorWidget::getTransformationName  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ hideEvent
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::hideEvent  | 
          ( | 
          QShowEvent *  | 
          event | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ hideRasterNavigators()
      
        
          | void te::qt::widgets::TiePointLocatorWidget::hideRasterNavigators  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ onAddToolButtonClicked
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onAddToolButtonClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onAdjMapDisplayExtentChanged
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onAdjMapDisplayExtentChanged  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onAdjPointMoved
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onAdjPointMoved  | 
          ( | 
          double  | 
          xorig,  | 
         
        
           | 
           | 
          double  | 
          yorig,  | 
         
        
           | 
           | 
          double  | 
          xnew,  | 
         
        
           | 
           | 
          double  | 
          ynew  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onAdjPointPicked
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onAdjPointPicked  | 
          ( | 
          double  | 
          x,  | 
         
        
           | 
           | 
          double  | 
          y  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onAdjustPushButtonClicked
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onAdjustPushButtonClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onAutoAcquireTiePointsToolButtonClicked
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onAutoAcquireTiePointsToolButtonClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onDeleteSelectedToolButtonClicked
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onDeleteSelectedToolButtonClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onDoneToolButtonClicked
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onDoneToolButtonClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onLoadTiePointsToolButtonClicked
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onLoadTiePointsToolButtonClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onRefMapDisplayExtentChanged
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onRefMapDisplayExtentChanged  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onRefPointMoved
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onRefPointMoved  | 
          ( | 
          double  | 
          xorig,  | 
         
        
           | 
           | 
          double  | 
          yorig,  | 
         
        
           | 
           | 
          double  | 
          xnew,  | 
         
        
           | 
           | 
          double  | 
          ynew  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onRefPointPicked
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onRefPointPicked  | 
          ( | 
          double  | 
          x,  | 
         
        
           | 
           | 
          double  | 
          y  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onRefreshToolButtonClicked
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onRefreshToolButtonClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onSaveTiePointsToolButtonClicked
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onSaveTiePointsToolButtonClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onSelectAllToolButtonClicked
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onSelectAllToolButtonClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onShowReferencePushButtonClicked
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onShowReferencePushButtonClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onSRIDPushButtonClicked
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onSRIDPushButtonClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onTiePointsTableWidgetItemChanged
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onTiePointsTableWidgetItemChanged  | 
          ( | 
          QTableWidgetItem *  | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onTiePointsTableWidgetItemSelectionChanged
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onTiePointsTableWidgetItemSelectionChanged  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onTiePointsUpdated
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onTiePointsUpdated  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ onUnselectAllToolButtonClicked
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::onUnselectAllToolButtonClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ refCoordMoved()
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::refCoordMoved  | 
          ( | 
          double  | 
          xorig,  | 
         
        
           | 
           | 
          double  | 
          yorig,  | 
         
        
           | 
           | 
          double  | 
          xnew,  | 
         
        
           | 
           | 
          double  | 
          ynew  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ refCoordPicked()
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::refCoordPicked  | 
          ( | 
          double  | 
          x,  | 
         
        
           | 
           | 
          double  | 
          y  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ reset()
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::reset  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ setAdjustLayer()
This method is used to set the selected layer used to be the adjust layer. 
- Parameters
 - 
  
  
 
- Note
 - This layer MUST HAVE a valid raster object. 
 
 
 
◆ setReferenceLayer()
This method is used to set the selected layer used to be the reference layer. 
- Parameters
 - 
  
  
 
- Note
 - This layer MUST HAVE a valid raster object. 
 
 
 
◆ setReferenceTiePointMarkLegend()
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::setReferenceTiePointMarkLegend  | 
          ( | 
          QPixmap  | 
          p | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ setSelectedTiePointMarkLegend()
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::setSelectedTiePointMarkLegend  | 
          ( | 
          QPixmap  | 
          p | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ setTiePointMarkLegend()
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::setTiePointMarkLegend  | 
          ( | 
          QPixmap  | 
          p | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ shotFirstPoint()
  
  
      
        
          | bool te::qt::widgets::TiePointLocatorWidget::shotFirstPoint  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ shotSecondtPoint()
  
  
      
        
          | bool te::qt::widgets::TiePointLocatorWidget::shotSecondtPoint  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ showEvent
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::showEvent  | 
          ( | 
          QShowEvent *  | 
          event | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ tiePointsTableUpdate()
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::tiePointsTableUpdate  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Uptate the tie-points table widget. 
 
 
◆ tiePointsUpdated
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::tiePointsUpdated  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
signal   | 
  
 
 
◆ transformationInfoUpdate()
  
  
      
        
          | void te::qt::widgets::TiePointLocatorWidget::transformationInfoUpdate  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Uptate the current transformation information widgets. 
 
 
◆ m_adjLayer
◆ m_adjNavigatorDPtr
◆ m_adjPoints
  
  
      
        
          | std::map< unsigned int, QPointF > te::qt::widgets::TiePointLocatorWidget::m_adjPoints | 
         
       
   | 
  
private   | 
  
 
 
◆ m_currentTiePoint
◆ m_markRef
  
  
      
        
          | te::se::Mark* te::qt::widgets::TiePointLocatorWidget::m_markRef | 
         
       
   | 
  
private   | 
  
 
 
◆ m_markSelected
  
  
      
        
          | te::se::Mark* te::qt::widgets::TiePointLocatorWidget::m_markSelected | 
         
       
   | 
  
private   | 
  
 
 
◆ m_markUnselected
  
  
      
        
          | te::se::Mark* te::qt::widgets::TiePointLocatorWidget::m_markUnselected | 
         
       
   | 
  
private   | 
  
 
 
◆ m_refLayer
◆ m_refNavigatorDPtr
◆ m_refPoints
  
  
      
        
          | std::map< unsigned int, QPointF > te::qt::widgets::TiePointLocatorWidget::m_refPoints | 
         
       
   | 
  
private   | 
  
 
 
◆ m_rgbaMarkRef
◆ m_rgbaMarkSelected
◆ m_rgbaMarkUnselected
◆ m_tiePointFirstCoord
  
  
      
        
          | FirstCoordType te::qt::widgets::TiePointLocatorWidget::m_tiePointFirstCoord | 
         
       
   | 
  
private   | 
  
 
 
◆ m_tiePointIdCounter
  
  
      
        
          | unsigned int te::qt::widgets::TiePointLocatorWidget::m_tiePointIdCounter | 
         
       
   | 
  
private   | 
  
 
 
◆ m_tiePointParameters
◆ m_tiePoints
◆ m_ui
  
  
      
        
          | std::unique_ptr<Ui::TiePointLocatorWidgetForm> te::qt::widgets::TiePointLocatorWidget::m_ui | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file: