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"
45 namespace Ui {
class TiePointLocatorWidgetForm; }
50 namespace se {
class Mark; }
57 class RasterNavigatorWidget;
58 class TiePointLocatorParametersWidget;
104 Ui::TiePointLocatorWidgetForm* getForm()
const;
113 void getTiePoints( std::vector< te::gm::GTParameters::TiePoint >& tiePoints )
const;
120 void getTiePointsIdxCoords( std::vector< te::gm::GTParameters::TiePoint >& tiePoints )
const;
156 void getOutputSRID(
int& srid);
158 void getOutputResolution(
double& resX,
double& resY);
162 void refCoordPicked(
double x,
double y);
164 void adjCoordPicked(
double x,
double y);
166 void setTiePointMarkLegend(QPixmap p);
168 void setSelectedTiePointMarkLegend(QPixmap p);
170 void setReferenceTiePointMarkLegend(QPixmap p);
172 void createSelection(
int initialIdx,
int nPos);
176 void onAutoAcquireTiePointsToolButtonClicked();
178 void onSelectAllToolButtonClicked();
180 void onUnselectAllToolButtonClicked();
182 void onDeleteSelectedToolButtonClicked();
184 void onAddToolButtonClicked();
186 void onTiePointsTableWidgetItemSelectionChanged();
188 void onRefreshToolButtonClicked();
190 void onDoneToolButtonClicked();
192 void onRefMapDisplayExtentChanged();
194 void onAdjMapDisplayExtentChanged();
196 void onRefPointPicked(
double x,
double y);
198 void onAdjPointPicked(
double x,
double y);
200 void onTiePointsUpdated();
202 void onSRIDPushButtonClicked();
207 void tiePointsTableUpdate();
210 void transformationInfoUpdate();
212 void startUpNavigators();
214 void drawTiePoints();
220 void tiePointsUpdated();
222 void doneAcquiredTiePoints();
226 std::auto_ptr<Ui::TiePointLocatorWidgetForm>
m_ui;
256 #endif // __TERRALIB_QT_WIDGETS_RP_INTERNAL_TIEPOINTLOCATORWIDGET_H
A Mark specifies a geometric shape and applies coloring to it.
An utility struct for representing 2D coordinates.
std::pair< Coord2D, Coord2D > TiePoint
Tie point type definition.
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr