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"
34 #include "../../../maptools/AbstractLayer.h"
35 #include "../../../rp/TiePointsLocator.h"
37 #include "../Config.h"
47 namespace Ui {
class TiePointLocatorWidgetForm; }
52 namespace se {
class Mark; }
59 class RasterNavigatorWidget;
60 class TiePointLocatorParametersWidget;
106 Ui::TiePointLocatorWidgetForm* getForm()
const;
115 void getTiePoints( std::vector< te::gm::GTParameters::TiePoint >& tiePoints )
const;
122 void getTiePointsIdxCoords( std::vector< te::gm::GTParameters::TiePoint >& tiePoints )
const;
158 void getOutputSRID(
int& srid);
160 void getOutputResolution(
double& resX,
double& resY);
162 std::string getTransformationName()
const;
168 void refCoordPicked(
double x,
double y);
170 void adjCoordPicked(
double x,
double y);
172 void setTiePointMarkLegend(QPixmap p);
174 void setSelectedTiePointMarkLegend(QPixmap p);
176 void setReferenceTiePointMarkLegend(QPixmap p);
178 void createSelection(
int initialIdx,
int nPos);
182 void onAutoAcquireTiePointsToolButtonClicked();
184 void onSelectAllToolButtonClicked();
186 void onUnselectAllToolButtonClicked();
188 void onDeleteSelectedToolButtonClicked();
190 void onAddToolButtonClicked();
192 void onTiePointsTableWidgetItemSelectionChanged();
194 void onRefreshToolButtonClicked();
196 void onDoneToolButtonClicked();
198 void onRefMapDisplayExtentChanged();
200 void onAdjMapDisplayExtentChanged();
202 void onRefPointPicked(
double x,
double y);
204 void onAdjPointPicked(
double x,
double y);
206 void onTiePointsUpdated();
208 void onSRIDPushButtonClicked();
210 void onLoadTiePointsToolButtonClicked();
212 void onSaveTiePointsToolButtonClicked();
217 void tiePointsTableUpdate();
220 void transformationInfoUpdate();
222 void startUpNavigators();
224 void drawTiePoints();
230 void tiePointsUpdated();
232 void doneAcquiredTiePoints();
236 std::auto_ptr<Ui::TiePointLocatorWidgetForm>
m_ui;
266 #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.
InterpolationMethod
Allowed interpolation methods.
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