- enum TransformationMode { Manual = 0, RefImage };
-
-public:
- typedef QPair< QPoint, QPointF > TransformationData;
+ struct TransformationData
+ {
+ QPoint ImagePoint;
+ QPointF LambertPoint;
+ QPointF CartesianPoint;
+
+ TransformationData() {}
+
+ TransformationData( const QPoint& theImagePoint ) :
+ ImagePoint( theImagePoint ) {}
+
+ TransformationData( const QPoint& theImagePoint,
+ const QPointF& theLambertPoint,
+ const QPointF& theCartesianPoint ) :
+ ImagePoint( theImagePoint ),
+ LambertPoint( theLambertPoint ),
+ CartesianPoint( theCartesianPoint ) {}
+ };