te::qt::widgets::TiePointLocatorWidget Class Reference

This class is used to define a widget for tie point acquirement. More...

#include <TiePointLocatorWidget.h>

Inheritance diagram for te::qt::widgets::TiePointLocatorWidget:

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::TPContainerTgetTiePointContainer ()
 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...
 
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)
 
void onAutoAcquireTiePointsToolButtonClicked ()
 
void onDeleteSelectedToolButtonClicked ()
 
void onDoneToolButtonClicked ()
 
void onRefMapDisplayExtentChanged ()
 
void onRefPointPicked (double x, double y)
 
void onRefreshToolButtonClicked ()
 
void onSelectAllToolButtonClicked ()
 
void onSRIDPushButtonClicked ()
 
void onTiePointsTableWidgetItemSelectionChanged ()
 
void onTiePointsUpdated ()
 
void onUnselectAllToolButtonClicked ()
 

Protected Member Functions

void adjCoordPicked (double x, double y)
 
void createSelection (int initialIdx, int nPos)
 
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 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::RasterNavigatorWidgetm_adjNavigator
 Adjust raster navigator. More...
 
te::gm::GTParameters::TiePoint m_currentTiePoint
 The current tie-point. More...
 
te::se::Markm_markRef
 Represents the mark of a reference tie point. More...
 
te::se::Markm_markSelected
 Represents the mark of a selected tie point. More...
 
te::se::Markm_markUnselected
 Represents the mark of a unselected tie point. More...
 
te::map::AbstractLayerPtr m_refLayer
 Layer with reference imagem. More...
 
te::qt::widgets::RasterNavigatorWidgetm_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::TiePointLocatorParametersWidgetm_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::auto_ptr< Ui::TiePointLocatorWidgetForm > m_ui
 

Detailed Description

This class is used to define a widget for tie point acquirement.

Definition at line 94 of file TiePointLocatorWidget.h.

Constructor & Destructor Documentation

te::qt::widgets::TiePointLocatorWidget::TiePointLocatorWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
te::qt::widgets::TiePointLocatorWidget::~TiePointLocatorWidget ( )

Member Function Documentation

void te::qt::widgets::TiePointLocatorWidget::adjCoordPicked ( double  x,
double  y 
)
protected
void te::qt::widgets::TiePointLocatorWidget::createSelection ( int  initialIdx,
int  nPos 
)
protected
void te::qt::widgets::TiePointLocatorWidget::doneAcquiredTiePoints ( )
signal
void te::qt::widgets::TiePointLocatorWidget::drawTiePoints ( )
protected
Ui::TiePointLocatorWidgetForm* te::qt::widgets::TiePointLocatorWidget::getForm ( ) const
void te::qt::widgets::TiePointLocatorWidget::getOutputResolution ( double &  resX,
double &  resY 
)
void te::qt::widgets::TiePointLocatorWidget::getOutputSRID ( int &  srid)
QPixmap te::qt::widgets::TiePointLocatorWidget::getPixmap ( te::color::RGBAColor **  rgba)
protected
bool te::qt::widgets::TiePointLocatorWidget::getReferenceTiePointCoord ( te::gm::Coord2D coordRef)

Get tie point reference coord that does not have an adjust coordenate.

Parameters
coordRefThe tie point reference coord.
Returns
The m_tiePointHasFirstCoord status.
const te::qt::widgets::TiePointData::TPContainerT& te::qt::widgets::TiePointLocatorWidget::getTiePointContainer ( )

Get tie point data container.

Returns
The tie point data container.
void te::qt::widgets::TiePointLocatorWidget::getTiePoints ( std::vector< te::gm::GTParameters::TiePoint > &  tiePoints) const

Get the current acquired tie-points.

Parameters
tiePointsThe current acquired tie-points.
void te::qt::widgets::TiePointLocatorWidget::getTiePointsIdxCoords ( std::vector< te::gm::GTParameters::TiePoint > &  tiePoints) const

Get the current acquired tie-points.

Parameters
tiePointsThe current acquired tie-points.
void te::qt::widgets::TiePointLocatorWidget::onAddToolButtonClicked ( )
protectedslot
void te::qt::widgets::TiePointLocatorWidget::onAdjMapDisplayExtentChanged ( )
protectedslot
void te::qt::widgets::TiePointLocatorWidget::onAdjPointPicked ( double  x,
double  y 
)
protectedslot
void te::qt::widgets::TiePointLocatorWidget::onAutoAcquireTiePointsToolButtonClicked ( )
protectedslot
void te::qt::widgets::TiePointLocatorWidget::onDeleteSelectedToolButtonClicked ( )
protectedslot
void te::qt::widgets::TiePointLocatorWidget::onDoneToolButtonClicked ( )
protectedslot
void te::qt::widgets::TiePointLocatorWidget::onRefMapDisplayExtentChanged ( )
protectedslot
void te::qt::widgets::TiePointLocatorWidget::onRefPointPicked ( double  x,
double  y 
)
protectedslot
void te::qt::widgets::TiePointLocatorWidget::onRefreshToolButtonClicked ( )
protectedslot
void te::qt::widgets::TiePointLocatorWidget::onSelectAllToolButtonClicked ( )
protectedslot
void te::qt::widgets::TiePointLocatorWidget::onSRIDPushButtonClicked ( )
protectedslot
void te::qt::widgets::TiePointLocatorWidget::onTiePointsTableWidgetItemSelectionChanged ( )
protectedslot
void te::qt::widgets::TiePointLocatorWidget::onTiePointsUpdated ( )
protectedslot
void te::qt::widgets::TiePointLocatorWidget::onUnselectAllToolButtonClicked ( )
protectedslot
void te::qt::widgets::TiePointLocatorWidget::refCoordPicked ( double  x,
double  y 
)
protected
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.

Parameters
layerThe layer ptr
Note
This layer MUST HAVE a valid raster object.
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.

Parameters
layerThe layer ptr
Note
This layer MUST HAVE a valid raster object.
void te::qt::widgets::TiePointLocatorWidget::setReferenceTiePointMarkLegend ( QPixmap  p)
protected
void te::qt::widgets::TiePointLocatorWidget::setSelectedTiePointMarkLegend ( QPixmap  p)
protected
void te::qt::widgets::TiePointLocatorWidget::setTiePointMarkLegend ( QPixmap  p)
protected
void te::qt::widgets::TiePointLocatorWidget::startUpNavigators ( )
protected
void te::qt::widgets::TiePointLocatorWidget::tiePointsTableUpdate ( )
protected

Uptate the tie-points table widget.

void te::qt::widgets::TiePointLocatorWidget::tiePointsUpdated ( )
signal
void te::qt::widgets::TiePointLocatorWidget::transformationInfoUpdate ( )
protected

Uptate the current transformation information widgets.

Member Data Documentation

te::map::AbstractLayerPtr te::qt::widgets::TiePointLocatorWidget::m_adjLayer
private

Layer with adjust imagem.

Definition at line 231 of file TiePointLocatorWidget.h.

te::qt::widgets::RasterNavigatorWidget* te::qt::widgets::TiePointLocatorWidget::m_adjNavigator
private

Adjust raster navigator.

Definition at line 242 of file TiePointLocatorWidget.h.

te::gm::GTParameters::TiePoint te::qt::widgets::TiePointLocatorWidget::m_currentTiePoint
private

The current tie-point.

Definition at line 235 of file TiePointLocatorWidget.h.

te::se::Mark* te::qt::widgets::TiePointLocatorWidget::m_markRef
private

Represents the mark of a reference tie point.

Definition at line 249 of file TiePointLocatorWidget.h.

te::se::Mark* te::qt::widgets::TiePointLocatorWidget::m_markSelected
private

Represents the mark of a selected tie point.

Definition at line 247 of file TiePointLocatorWidget.h.

te::se::Mark* te::qt::widgets::TiePointLocatorWidget::m_markUnselected
private

Represents the mark of a unselected tie point.

Definition at line 248 of file TiePointLocatorWidget.h.

te::map::AbstractLayerPtr te::qt::widgets::TiePointLocatorWidget::m_refLayer
private

Layer with reference imagem.

Definition at line 230 of file TiePointLocatorWidget.h.

te::qt::widgets::RasterNavigatorWidget* te::qt::widgets::TiePointLocatorWidget::m_refNavigator
private

Reference raster navigator.

Definition at line 241 of file TiePointLocatorWidget.h.

te::color::RGBAColor** te::qt::widgets::TiePointLocatorWidget::m_rgbaMarkRef
private

Represents the pattern of reference tie point.

Definition at line 246 of file TiePointLocatorWidget.h.

te::color::RGBAColor** te::qt::widgets::TiePointLocatorWidget::m_rgbaMarkSelected
private

Represents the pattern of a selected tie point.

Definition at line 244 of file TiePointLocatorWidget.h.

te::color::RGBAColor** te::qt::widgets::TiePointLocatorWidget::m_rgbaMarkUnselected
private

Represents the pattern of a unselected tie point.

Definition at line 245 of file TiePointLocatorWidget.h.

bool te::qt::widgets::TiePointLocatorWidget::m_tiePointHasFirstCoord
private

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

Definition at line 236 of file TiePointLocatorWidget.h.

unsigned int te::qt::widgets::TiePointLocatorWidget::m_tiePointIdCounter
private

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

Definition at line 237 of file TiePointLocatorWidget.h.

te::qt::widgets::TiePointLocatorParametersWidget* te::qt::widgets::TiePointLocatorWidget::m_tiePointParameters
private

Tie Point parameters widget.

Definition at line 228 of file TiePointLocatorWidget.h.

te::qt::widgets::TiePointData::TPContainerT te::qt::widgets::TiePointLocatorWidget::m_tiePoints
private

Internal tie-points container.

Definition at line 233 of file TiePointLocatorWidget.h.

std::set<int> te::qt::widgets::TiePointLocatorWidget::m_tiePointsSelected
private

List of selected tie points.

Definition at line 239 of file TiePointLocatorWidget.h.

std::auto_ptr<Ui::TiePointLocatorWidgetForm> te::qt::widgets::TiePointLocatorWidget::m_ui
private

Definition at line 226 of file TiePointLocatorWidget.h.


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