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" 45 #include <QTableWidgetItem> 48 namespace Ui {
class TiePointLocatorWidgetForm; }
53 namespace se {
class Mark; }
60 class RasterNavigatorWidget;
61 class TiePointLocatorParametersWidget;
114 Ui::TiePointLocatorWidgetForm* getForm()
const;
123 void getTiePoints( std::vector< te::gm::GTParameters::TiePoint >& tiePoints )
const;
130 void getTiePointsIdxCoords( std::vector< te::gm::GTParameters::TiePoint >& tiePoints )
const;
166 void getOutputSRID(
int& srid);
168 void getOutputResolution(
double& resX,
double& resY);
170 std::string getTransformationName()
const;
176 void refCoordPicked(
double x,
double y);
178 void adjCoordPicked(
double x,
double y);
180 void refCoordMoved(
double xorig,
double yorig,
double xnew,
double ynew);
182 void adjCoordMoved(
double xorig,
double yorig,
double xnew,
double ynew);
184 void setTiePointMarkLegend(QPixmap p);
186 void setSelectedTiePointMarkLegend(QPixmap p);
188 void setReferenceTiePointMarkLegend(QPixmap p);
190 void createSelection(
int initialIdx,
int nPos);
192 bool shotSecondtPoint();
194 bool shotFirstPoint();
198 void onAutoAcquireTiePointsToolButtonClicked();
200 void onSelectAllToolButtonClicked();
202 void onUnselectAllToolButtonClicked();
204 void onDeleteSelectedToolButtonClicked();
206 void onAddToolButtonClicked();
208 void onTiePointsTableWidgetItemSelectionChanged();
210 void onRefreshToolButtonClicked();
212 void onDoneToolButtonClicked();
214 void onRefMapDisplayExtentChanged();
216 void onAdjMapDisplayExtentChanged();
218 void onRefPointPicked(
double x,
double y);
220 void onAdjPointPicked(
double x,
double y);
222 void onRefPointMoved(
double xorig,
double yorig,
double xnew,
double ynew);
224 void onAdjPointMoved(
double xorig,
double yorig,
double xnew,
double ynew);
226 void onTiePointsUpdated();
228 void onSRIDPushButtonClicked();
230 void onLoadTiePointsToolButtonClicked();
232 void onSaveTiePointsToolButtonClicked();
234 void onTiePointsTableWidgetItemChanged(QTableWidgetItem*);
239 void tiePointsTableUpdate();
242 void transformationInfoUpdate();
244 void startUpNavigators();
246 void drawTiePoints();
258 void getRastersPixelSizesRelation(
double& pixelSizeXRelation,
259 double& pixelSizeYRelation )
const;
265 double getRastersMeanPixelSizeRelation()
const;
269 void tiePointsUpdated();
271 void doneAcquiredTiePoints();
275 std::unique_ptr<Ui::TiePointLocatorWidgetForm>
m_ui;
307 #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