26 #ifndef __TERRALIB_QT_WIDGETS_RP_INTERNAL_TIEPOINTLOCATORWIDGET_H
27 #define __TERRALIB_QT_WIDGETS_RP_INTERNAL_TIEPOINTLOCATORWIDGET_H
30 #include "../../../color/RGBAColor.h"
31 #include "../../../geometry/Coord2D.h"
32 #include "../../../geometry/GTParameters.h"
33 #include "../../../maptools/AbstractLayer.h"
34 #include "../../../rp/TiePointsLocator.h"
35 #include "../Config.h"
43 #include <QtGui/QWidget>
45 namespace Ui {
class TiePointLocatorWidgetForm; }
50 namespace se {
class Mark; }
57 class RasterNavigatorWidget;
103 Ui::TiePointLocatorWidgetForm* getForm()
const;
112 void getTiePoints( std::vector< te::gm::GTParameters::TiePoint >& tiePoints )
const;
148 void getOutputSRID(
int& srid);
150 void getOutputResolution(
double& resX,
double& resY);
154 void refCoordPicked(
double x,
double y);
156 void adjCoordPicked(
double x,
double y);
158 void setTiePointMarkLegend(QPixmap p);
160 void setSelectedTiePointMarkLegend(QPixmap p);
162 void setReferenceTiePointMarkLegend(QPixmap p);
164 void createSelection(
int initialId);
168 void onAutoAcquireTiePointsToolButtonClicked();
170 void onSelectAllToolButtonClicked();
172 void onUnselectAllToolButtonClicked();
174 void onDeleteSelectedToolButtonClicked();
176 void onAddToolButtonClicked();
178 void onTiePointsTableWidgetItemSelectionChanged();
180 void onRefreshToolButtonClicked();
182 void onDoneToolButtonClicked();
184 void onRefMapDisplayExtentChanged();
186 void onAdjMapDisplayExtentChanged();
192 void onTiePointsUpdated();
194 void onSRIDPushButtonClicked();
199 void tiePointsTableUpdate();
202 void transformationInfoUpdate();
205 void startAdvancedOptions();
208 void updateAdvancedOptions();
210 void startUpNavigators();
212 void drawTiePoints();
218 void tiePointsUpdated();
220 void doneAcquiredTiePoints();
224 std::auto_ptr<Ui::TiePointLocatorWidgetForm>
m_ui;
255 #endif // __TERRALIB_QT_WIDGETS_RP_INTERNAL_TIEPOINTLOCATORWIDGET_H
std::map< unsigned int, TiePointData > TPContainerT
Tie-pints container type definition.
te::color::RGBAColor ** m_rgbaMarkRef
Represents the pattern of reference tie point.
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
unsigned int m_tiePointIdCounter
A ID counter for new tie pointes inserted into m_tiePoints;.
te::rp::TiePointsLocator::InputParameters m_inputParameters
The current parameters.
te::gm::GTParameters::TiePoint m_currentTiePoint
The current tie-point.
te::se::Mark * m_markRef
Represents the mark of a reference tie point.
te::se::Mark * m_markUnselected
Represents the mark of a unselected tie point.
TiePointAcquisitionType m_acqType
Acquisition type.
te::map::AbstractLayerPtr m_adjLayer
Layer with adjust imagem.
te::se::Mark * m_markSelected
Represents the mark of a selected tie point.
This class is used to navigate over a DataSetLayer (having a raster representation) and given a set o...
An utility struct for representing 2D coordinates.
te::color::RGBAColor ** m_rgbaMarkUnselected
Represents the pattern of a unselected tie point.
bool m_selected
Tie point selection status;.
TiePointsLocator input parameters.
This class is used to define a widget for tie point acquirement.
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
A widget to control the display of a set of layers.
bool m_tiePointHasFirstCoord
true if the tie-point has the first part set;
Invalid acquisition type.
Automatic acquisition type.
te::qt::widgets::RasterNavigatorWidget * m_refNavigator
Reference raster navigator.
const TiePointData & operator=(const TiePointData &other)
te::color::RGBAColor ** m_rgbaMarkSelected
Represents the pattern of a selected tie point.
te::qt::widgets::TiePointData::TPContainerT m_tiePoints
Internal tie-points container.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
std::set< int > m_tiePointsSelected
List of selected tie points.
std::auto_ptr< Ui::TiePointLocatorWidgetForm > m_ui
te::map::AbstractLayerPtr m_refLayer
Layer with reference imagem.
std::pair< Coord2D, Coord2D > TiePoint
Tie point type definition.
te::gm::GTParameters::TiePoint m_tiePoint
Tie point coordinates.
te::qt::widgets::RasterNavigatorWidget * m_adjNavigator
Adjust raster navigator.
A Mark specifies a geometric shape and applies coloring to it.