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;
103 Ui::TiePointLocatorWidgetForm* getForm()
const;
112 void getTiePoints( std::vector< te::gm::GTParameters::TiePoint >& tiePoints )
const;
119 void getTiePointsIdxCoords( std::vector< te::gm::GTParameters::TiePoint >& tiePoints )
const;
155 void getOutputSRID(
int& srid);
157 void getOutputResolution(
double& resX,
double& resY);
161 void refCoordPicked(
double x,
double y);
163 void adjCoordPicked(
double x,
double y);
165 void setTiePointMarkLegend(QPixmap p);
167 void setSelectedTiePointMarkLegend(QPixmap p);
169 void setReferenceTiePointMarkLegend(QPixmap p);
171 void createSelection(
int initialId);
175 void onAutoAcquireTiePointsToolButtonClicked();
177 void onSelectAllToolButtonClicked();
179 void onUnselectAllToolButtonClicked();
181 void onDeleteSelectedToolButtonClicked();
183 void onAddToolButtonClicked();
185 void onTiePointsTableWidgetItemSelectionChanged();
187 void onRefreshToolButtonClicked();
189 void onDoneToolButtonClicked();
191 void onRefMapDisplayExtentChanged();
193 void onAdjMapDisplayExtentChanged();
195 void onRefPointPicked(
double x,
double y);
197 void onAdjPointPicked(
double x,
double y);
199 void onTiePointsUpdated();
201 void onSRIDPushButtonClicked();
206 void tiePointsTableUpdate();
209 void transformationInfoUpdate();
212 void startAdvancedOptions();
215 void updateAdvancedOptions();
217 void startUpNavigators();
219 void drawTiePoints();
225 void tiePointsUpdated();
227 void doneAcquiredTiePoints();
231 std::auto_ptr<Ui::TiePointLocatorWidgetForm>
m_ui;
262 #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