Engauge Digitizer
2
Toggle main menu visibility
Loading...
Searching...
No Matches
Test
TestTransformation.h
Go to the documentation of this file.
1
#ifndef TEST_TRANSFORMATION_H
2
#define TEST_TRANSFORMATION_H
3
4
#include "
DocumentModelCoords.h
"
5
#include "
DocumentModelGeneral.h
"
6
#include <QObject>
7
#include <QPointF>
8
10
class
TestTransformation
:
public
QObject
11
{
12
Q_OBJECT
13
public
:
15
explicit
TestTransformation
(QObject *parent = 0);
16
17
private
slots:
18
void
cleanupTestCase ();
19
void
initTestCase ();
20
21
void
testCartesianLinearLinear ();
22
void
testCartesianLinearLog ();
23
void
testCartesianLogLinear ();
24
void
testCartesianLogLog ();
25
void
testPolarLinear ();
26
void
testPolarLogOffset1 ();
27
void
testPolarLogOffset10 ();
28
29
private
:
30
DocumentModelCoords
modelCoordsDefault()
const
;
31
DocumentModelGeneral
modelGeneralDefault()
const
;
32
33
double
differenceMagnitude (
const
QPointF &vector1,
34
const
QPointF &vector2)
const
;
35
void
initTransformation (
const
QPointF &s0,
36
const
QPointF &s1,
37
const
QPointF &s2,
38
const
QPointF &g0,
39
const
QPointF &g1,
40
const
QPointF &g2,
41
const
DocumentModelCoords
&modelCoords,
42
const
DocumentModelGeneral
&modelGeneral);
43
44
QPointF m_g0Transformed;
45
QPointF m_g1Transformed;
46
QPointF m_g2Transformed;
47
QPointF m_s0Transformed;
48
QPointF m_s1Transformed;
49
QPointF m_s2Transformed;
50
};
51
52
#endif
// TEST_TRANSFORMATION_H
DocumentModelCoords.h
DocumentModelGeneral.h
DocumentModelCoords
Model for DlgSettingsCoords and CmdSettingsCoords.
Definition
DocumentModelCoords.h:21
DocumentModelGeneral
Model for DlgSettingsGeneral and CmdSettingsGeneral.
Definition
DocumentModelGeneral.h:17
TestTransformation::TestTransformation
TestTransformation(QObject *parent=0)
Single constructor.
Definition
TestTransformation.cpp:17
Generated on
for Engauge Digitizer by
1.17.0