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);
164 void refCoordPicked(
double x,
double y);
166 void adjCoordPicked(
double x,
double y);
168 void setTiePointMarkLegend(QPixmap p);
170 void setSelectedTiePointMarkLegend(QPixmap p);
172 void setReferenceTiePointMarkLegend(QPixmap p);
174 void createSelection(
int initialIdx,
int nPos);
178 void onAutoAcquireTiePointsToolButtonClicked();
180 void onSelectAllToolButtonClicked();
182 void onUnselectAllToolButtonClicked();
184 void onDeleteSelectedToolButtonClicked();
186 void onAddToolButtonClicked();
188 void onTiePointsTableWidgetItemSelectionChanged();
190 void onRefreshToolButtonClicked();
192 void onDoneToolButtonClicked();
194 void onRefMapDisplayExtentChanged();
196 void onAdjMapDisplayExtentChanged();
198 void onRefPointPicked(
double x,
double y);
200 void onAdjPointPicked(
double x,
double y);
202 void onTiePointsUpdated();
204 void onSRIDPushButtonClicked();
209 void tiePointsTableUpdate();
212 void transformationInfoUpdate();
214 void startUpNavigators();
216 void drawTiePoints();
222 void tiePointsUpdated();
224 void doneAcquiredTiePoints();
228 std::auto_ptr<Ui::TiePointLocatorWidgetForm>
m_ui;
258 #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