This repository has been archived by the owner on Jul 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
datadialogscalatraslarota.cpp
121 lines (115 loc) · 3.03 KB
/
datadialogscalatraslarota.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
#include "datadialogscalatraslarota.h"
DataDialogScalaTraslaRota::DataDialogScalaTraslaRota() = default;
DataDialogScalaTraslaRota::DataDialogScalaTraslaRota(double sX,double sY, double sZ,double tX,double tY, double tZ, double rX, double rY, double rZ,double gN , double cN,double tO, int freqType,double freq){
scaleX=sX;
scaleY=sY;
scaleZ=sZ;
traslaX=tX;
traslaY=tY;
traslaZ=tZ;
rotaX=rX;
rotaY=rY;
rotaZ=rZ;
gNoise=gN;
cNoise=cN;
timeOffset=tO;//time offset
frequencyType = freqType;
frequency = freq;
}
void DataDialogScalaTraslaRota::updateData(double sX,double sY, double sZ,double tX,double tY, double tZ, double rX, double rY, double rZ,double gN , double cN, double tO,int freqType,double freq){
scaleX=sX;
scaleY=sY;
scaleZ=sZ;
traslaX=tX;
traslaY=tY;
traslaZ=tZ;
rotaX=rX;
rotaY=rY;
rotaZ=rZ;
gNoise=gN;
cNoise=cN;
timeOffset=tO;
frequencyType = freqType;
frequency=freq;
}
double DataDialogScalaTraslaRota::getScaleX(){
return scaleX;
};
double DataDialogScalaTraslaRota::getScaleY(){
return scaleY;
};
double DataDialogScalaTraslaRota::getScaleZ(){
return scaleZ;
};
double DataDialogScalaTraslaRota::getTraslaX(){
return traslaX;
};
double DataDialogScalaTraslaRota::getTraslaY(){
return traslaY;
};
double DataDialogScalaTraslaRota::getTraslaZ(){
return traslaZ;
};
double DataDialogScalaTraslaRota::getRotaX(){
return rotaX;
};
double DataDialogScalaTraslaRota::getRotaY(){
return rotaY;
};
double DataDialogScalaTraslaRota::getRotaZ(){
return rotaZ;
};
double DataDialogScalaTraslaRota::getGaussianNoiseDeviation(){
return gNoise;
};
double DataDialogScalaTraslaRota::getCosmicNoiseDeviation(){
return cNoise;
};
double DataDialogScalaTraslaRota::getTimeOffset(){
return timeOffset;
};
int DataDialogScalaTraslaRota::getFrequencyType(){
return frequencyType;
};
double DataDialogScalaTraslaRota::getFrequency(){
return frequency;
};
void DataDialogScalaTraslaRota::setScaleX(double aValue){
scaleX=aValue;
};
void DataDialogScalaTraslaRota::setScaleY(double aValue){
scaleY=aValue;
};
void DataDialogScalaTraslaRota::setScaleZ(double aValue){
scaleZ=aValue;
};
void DataDialogScalaTraslaRota::setTraslaX(double aValue){
traslaX=aValue;
};
void DataDialogScalaTraslaRota::setTraslaY(double aValue){
traslaY=aValue;
};
void DataDialogScalaTraslaRota::setTraslaZ(double aValue){
traslaZ=aValue;
};
void DataDialogScalaTraslaRota::setRotaX(double aValue){
rotaX=aValue;
};
void DataDialogScalaTraslaRota::setRotaY(double aValue){
rotaY=aValue;
};
void DataDialogScalaTraslaRota::setRotaZ(double aValue){
rotaZ=aValue;
};
void DataDialogScalaTraslaRota::setGaussianNoiseDeviation(double aValue){
gNoise=aValue;
};
void DataDialogScalaTraslaRota::setTimeOffset(double aValue){
timeOffset=aValue;
};
void DataDialogScalaTraslaRota::setFrequencyType(int aValue){
frequencyType=aValue;
};
void DataDialogScalaTraslaRota::setFrequency(double aValue){
frequency=aValue;
};