All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::qt::widgets::TiePointsLocatorDialog Class Reference

A dialog used to execute tie points location. More...

#include <TiePointsLocatorDialog.h>

Inheritance diagram for te::qt::widgets::TiePointsLocatorDialog:

Classes

class  TiePointData
 

Public Member Functions

void getTiePoints (std::vector< te::gm::GTParameters::TiePoint > &tiePoints) const
 Get the current acquired tie-points. More...
 
 TiePointsLocatorDialog (const te::map::DataSetLayerPtr &inLayer1Ptr, const te::map::DataSetLayerPtr &inLayer2Ptr, QWidget *parent=0, Qt::WindowFlags f=0)
 Constructs a basic dialog which is a child of parent, with widget flags set to f. More...
 
 ~TiePointsLocatorDialog ()
 Destructor. More...
 

Protected Types

typedef std::map< unsigned int,
TiePointData
TPContainerT
 Tie-pints container type definition. More...
 

Protected Slots

void on_addPushButton_clicked ()
 
void on_advancedOptionsPushButton_clicked ()
 
void on_autoAcquireTiePointsPushButton_clicked ()
 
void on_deleteSelectedPushButton_clicked ()
 
void on_mapDisplay1_coordTracked (QPointF &coordinate)
 
void on_mapDisplay1_extentChanged ()
 
void on_mapDisplay1_keyPressed (int key)
 
void on_mapDisplay2_coordTracked (QPointF &coordinate)
 
void on_mapDisplay2_extentChanged ()
 
void on_mapDisplay2_keyPressed (int key)
 
void on_okPushButton_clicked ()
 
void on_selectAllPushButton_clicked ()
 
void on_tiePointsTableWidget_itemSelectionChanged ()
 
void on_unselectAllPushButton_clicked ()
 

Protected Member Functions

void refreshMapDisplay1 ()
 Refresh map display 1. More...
 
void refreshMapDisplay2 ()
 Refresh map display 2. More...
 
void tiePointsTableUpdate ()
 Uptate the tie-points table widget. More...
 
void transformationInfoUpdate ()
 Uptate the current transformation information widgets. More...
 

Protected Attributes

TiePointsLocatorAdvancedDialogm_advDialogPtr
 User interface. More...
 
CoordTrackingm_coordTracking1
 Coord tracking (map display 1);. More...
 
CoordTrackingm_coordTracking2
 Coord tracking (map display 2);. More...
 
te::map::DataSetLayerPtr m_inLayer1Ptr
 
te::map::DataSetLayerPtr m_inLayer2Ptr
 Input data set layer 1 pointer. More...
 
unsigned int m_lastInsertedTPID
 A ID counter for new tie pointes inserted into m_tiePoints;. More...
 
te::gm::GTParameters::TiePoint m_lastSelectedTiePoint
 The last mouse tracked tie-point by pressing any key over the map areas. More...
 
bool m_lastSelectedTiePointHasFirstOk
 true if the last selected tie-point has the first part set; More...
 
te::gm::GTParameters::TiePoint m_lastTrackedTiePoint
 The last mouse tracked tie-point by analysing the mouse move over the map areas. More...
 
te::qt::widgets::MapDisplaym_mapDisplay1
 Map display 1. More...
 
te::qt::widgets::MapDisplaym_mapDisplay2
 Map display 2. More...
 
TiePointsLocatorDialogMDEventFilterm_mDEventFilter1
 Map display 1 event filter. More...
 
TiePointsLocatorDialogMDEventFilterm_mDEventFilter2
 Map display 2 event filter. More...
 
te::rst::Rasterm_raster1
 Input data set layer 2 pointer. More...
 
te::rst::Rasterm_raster2
 Input raster 1 pointer. More...
 
te::color::RGBAColor ** m_selectedPointPattern
 The display draw pattern used for selected points. More...
 
te::color::RGBAColor ** m_tempPointPattern
 The display draw pattern used for temporary points. More...
 
TPContainerT m_tiePoints
 Internal tie-points container. More...
 
Ui::TiePointsLocatorForm * m_uiPtr
 
te::color::RGBAColor ** m_unselectedPointPattern
 The display draw pattern used for unselected points. More...
 
te::qt::widgets::ZoomLeftAndRightClickm_zoomClickEvent1
 Input raster 2 pointer. More...
 
te::qt::widgets::ZoomLeftAndRightClickm_zoomClickEvent2
 Zoom click event (map display 2). More...
 

Detailed Description

A dialog used to execute tie points location.

Definition at line 98 of file TiePointsLocatorDialog.h.

Member Typedef Documentation

typedef std::map< unsigned int, TiePointData > te::qt::widgets::TiePointsLocatorDialog::TPContainerT
protected

Tie-pints container type definition.

Definition at line 170 of file TiePointsLocatorDialog.h.

Constructor & Destructor Documentation

te::qt::widgets::TiePointsLocatorDialog::TiePointsLocatorDialog ( const te::map::DataSetLayerPtr inLayer1Ptr,
const te::map::DataSetLayerPtr inLayer2Ptr,
QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
te::qt::widgets::TiePointsLocatorDialog::~TiePointsLocatorDialog ( )

Member Function Documentation

void te::qt::widgets::TiePointsLocatorDialog::getTiePoints ( std::vector< te::gm::GTParameters::TiePoint > &  tiePoints) const

Get the current acquired tie-points.

Parameters
tiePointsThe current acquired tie-points.

Definition at line 273 of file TiePointsLocatorDialog.cpp.

References m_tiePoints.

void te::qt::widgets::TiePointsLocatorDialog::on_advancedOptionsPushButton_clicked ( )
protectedslot

Definition at line 452 of file TiePointsLocatorDialog.cpp.

References m_advDialogPtr.

Referenced by TiePointsLocatorDialog().

void te::qt::widgets::TiePointsLocatorDialog::on_autoAcquireTiePointsPushButton_clicked ( )
protectedslot

Definition at line 294 of file TiePointsLocatorDialog.cpp.

References te::qt::widgets::TiePointsLocatorDialog::TiePointData::AutomaticAcquisitionT, te::rp::TiePointsLocator::execute(), te::rst::Grid::geoToGrid(), te::map::MapDisplay::getExtent(), te::rst::Raster::getGrid(), te::rst::Raster::getNumberOfColumns(), te::rst::Raster::getNumberOfRows(), te::rp::TiePointsLocator::initialize(), te::qt::widgets::TiePointsLocatorDialog::TiePointData::m_acqType, m_advDialogPtr, te::qt::widgets::TiePointsLocatorAdvancedDialog::m_inputParameters, te::rp::TiePointsLocatorInputParameters::m_inRaster1Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inRaster2Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster2Ptr, m_lastInsertedTPID, m_mapDisplay1, m_mapDisplay2, m_raster1, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaColStart, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaHeight, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaLineStart, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaWidth, m_raster2, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaColStart, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaHeight, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaLineStart, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaWidth, te::qt::widgets::TiePointsLocatorDialog::TiePointData::m_tiePoint, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, m_tiePoints, m_uiPtr, te::qt::widgets::TiePointsLocatorDialog::TiePointData::ManualAcquisitionT, and tiePointsTableUpdate().

Referenced by TiePointsLocatorDialog().

void te::qt::widgets::TiePointsLocatorDialog::on_deleteSelectedPushButton_clicked ( )
protectedslot
void te::qt::widgets::TiePointsLocatorDialog::on_mapDisplay1_coordTracked ( QPointF &  coordinate)
protectedslot
void te::qt::widgets::TiePointsLocatorDialog::on_mapDisplay1_keyPressed ( int  key)
protectedslot
void te::qt::widgets::TiePointsLocatorDialog::on_mapDisplay2_coordTracked ( QPointF &  coordinate)
protectedslot
void te::qt::widgets::TiePointsLocatorDialog::on_okPushButton_clicked ( )
protectedslot

Definition at line 289 of file TiePointsLocatorDialog.cpp.

Referenced by TiePointsLocatorDialog().

void te::qt::widgets::TiePointsLocatorDialog::on_selectAllPushButton_clicked ( )
protectedslot

Definition at line 413 of file TiePointsLocatorDialog.cpp.

References m_uiPtr.

Referenced by TiePointsLocatorDialog().

void te::qt::widgets::TiePointsLocatorDialog::on_tiePointsTableWidget_itemSelectionChanged ( )
protectedslot
void te::qt::widgets::TiePointsLocatorDialog::on_unselectAllPushButton_clicked ( )
protectedslot

Definition at line 418 of file TiePointsLocatorDialog.cpp.

References m_uiPtr.

Referenced by TiePointsLocatorDialog().

void te::qt::widgets::TiePointsLocatorDialog::refreshMapDisplay1 ( )
protected
void te::qt::widgets::TiePointsLocatorDialog::refreshMapDisplay2 ( )
protected

Member Data Documentation

TiePointsLocatorAdvancedDialog* te::qt::widgets::TiePointsLocatorDialog::m_advDialogPtr
protected
CoordTracking* te::qt::widgets::TiePointsLocatorDialog::m_coordTracking1
protected

Coord tracking (map display 1);.

Definition at line 185 of file TiePointsLocatorDialog.h.

Referenced by TiePointsLocatorDialog().

CoordTracking* te::qt::widgets::TiePointsLocatorDialog::m_coordTracking2
protected

Coord tracking (map display 2);.

Definition at line 186 of file TiePointsLocatorDialog.h.

Referenced by TiePointsLocatorDialog().

te::map::DataSetLayerPtr te::qt::widgets::TiePointsLocatorDialog::m_inLayer1Ptr
protected

Definition at line 179 of file TiePointsLocatorDialog.h.

Referenced by TiePointsLocatorDialog().

te::map::DataSetLayerPtr te::qt::widgets::TiePointsLocatorDialog::m_inLayer2Ptr
protected

Input data set layer 1 pointer.

Definition at line 180 of file TiePointsLocatorDialog.h.

Referenced by TiePointsLocatorDialog().

unsigned int te::qt::widgets::TiePointsLocatorDialog::m_lastInsertedTPID
protected

A ID counter for new tie pointes inserted into m_tiePoints;.

Definition at line 193 of file TiePointsLocatorDialog.h.

Referenced by on_addPushButton_clicked(), on_autoAcquireTiePointsPushButton_clicked(), on_deleteSelectedPushButton_clicked(), and on_mapDisplay2_keyPressed().

te::gm::GTParameters::TiePoint te::qt::widgets::TiePointsLocatorDialog::m_lastSelectedTiePoint
protected

The last mouse tracked tie-point by pressing any key over the map areas.

Definition at line 188 of file TiePointsLocatorDialog.h.

Referenced by on_mapDisplay1_extentChanged(), on_mapDisplay1_keyPressed(), and on_mapDisplay2_keyPressed().

bool te::qt::widgets::TiePointsLocatorDialog::m_lastSelectedTiePointHasFirstOk
protected

true if the last selected tie-point has the first part set;

Definition at line 189 of file TiePointsLocatorDialog.h.

Referenced by on_mapDisplay1_extentChanged(), on_mapDisplay1_keyPressed(), and on_mapDisplay2_keyPressed().

te::gm::GTParameters::TiePoint te::qt::widgets::TiePointsLocatorDialog::m_lastTrackedTiePoint
protected

The last mouse tracked tie-point by analysing the mouse move over the map areas.

Definition at line 187 of file TiePointsLocatorDialog.h.

Referenced by on_mapDisplay1_coordTracked(), on_mapDisplay1_keyPressed(), on_mapDisplay2_coordTracked(), and on_mapDisplay2_keyPressed().

te::qt::widgets::MapDisplay* te::qt::widgets::TiePointsLocatorDialog::m_mapDisplay1
protected
te::qt::widgets::MapDisplay* te::qt::widgets::TiePointsLocatorDialog::m_mapDisplay2
protected
TiePointsLocatorDialogMDEventFilter* te::qt::widgets::TiePointsLocatorDialog::m_mDEventFilter1
protected

Map display 1 event filter.

Definition at line 190 of file TiePointsLocatorDialog.h.

Referenced by TiePointsLocatorDialog().

TiePointsLocatorDialogMDEventFilter* te::qt::widgets::TiePointsLocatorDialog::m_mDEventFilter2
protected

Map display 2 event filter.

Definition at line 191 of file TiePointsLocatorDialog.h.

Referenced by TiePointsLocatorDialog().

te::rst::Raster* te::qt::widgets::TiePointsLocatorDialog::m_raster1
protected
te::rst::Raster* te::qt::widgets::TiePointsLocatorDialog::m_raster2
protected
te::color::RGBAColor** te::qt::widgets::TiePointsLocatorDialog::m_selectedPointPattern
protected

The display draw pattern used for selected points.

Definition at line 172 of file TiePointsLocatorDialog.h.

Referenced by on_mapDisplay1_extentChanged(), on_mapDisplay2_extentChanged(), TiePointsLocatorDialog(), and ~TiePointsLocatorDialog().

te::color::RGBAColor** te::qt::widgets::TiePointsLocatorDialog::m_tempPointPattern
protected

The display draw pattern used for temporary points.

Definition at line 174 of file TiePointsLocatorDialog.h.

Referenced by on_mapDisplay1_extentChanged(), TiePointsLocatorDialog(), and ~TiePointsLocatorDialog().

te::color::RGBAColor** te::qt::widgets::TiePointsLocatorDialog::m_unselectedPointPattern
protected

The display draw pattern used for unselected points.

Definition at line 173 of file TiePointsLocatorDialog.h.

Referenced by on_mapDisplay1_extentChanged(), on_mapDisplay2_extentChanged(), TiePointsLocatorDialog(), and ~TiePointsLocatorDialog().

te::qt::widgets::ZoomLeftAndRightClick* te::qt::widgets::TiePointsLocatorDialog::m_zoomClickEvent1
protected

Input raster 2 pointer.

Zoom click event (map display 1).

Definition at line 183 of file TiePointsLocatorDialog.h.

Referenced by TiePointsLocatorDialog().

te::qt::widgets::ZoomLeftAndRightClick* te::qt::widgets::TiePointsLocatorDialog::m_zoomClickEvent2
protected

Zoom click event (map display 2).

Definition at line 184 of file TiePointsLocatorDialog.h.

Referenced by TiePointsLocatorDialog().


The documentation for this class was generated from the following files: