Engauge Digitizer 2
Loading...
Searching...
No Matches
TestCentipedeEndpoints.h
Go to the documentation of this file.
1#ifndef TEST_CENTIPEDE_ENDPOINTS_H
2#define TEST_CENTIPEDE_ENDPOINTS_H
3
6#include <QObject>
7#include <QPointF>
8#include <QSize>
9#include "Transformation.h"
10
12class TestCentipedeEndpoints : public QObject
13{
14 Q_OBJECT
15public:
17 explicit TestCentipedeEndpoints(QObject *parent = 0);
18
19signals:
20
21private slots:
22 void cleanupTestCase ();
23 void initTestCase ();
24
25 void testCartesianXPosition ();
26 void testCartesianYPosition ();
27 void testPolarRPosition ();
28 void testPolarTPosition ();
29
30private:
31
32 void initTestCaseCartesian ();
33 void initTestCaseCommon ();
34 void initTestCasePolarLog ();
35
36 // Common
37 QSize m_windowSize;
38 QPointF m_posClickScreen;
39
40 // Cartesian linear
41 DocumentModelCoords m_modelCoordsCartesian;
42 Transformation m_transformationCartesian;
43
44 // Polar log
45 DocumentModelCoords m_modelCoordsPolarLog;
46 Transformation m_transformationPolarLog;
47};
48
49#endif // TEST_CENTIPEDE_ENDPOINTS_H
Model for DlgSettingsCoords and CmdSettingsCoords.
TestCentipedeEndpoints(QObject *parent=0)
Single constructor.
Affine transformation between screen and graph coordinates, based on digitized axis points.