GoPxL SDK
Home
Files
Namespace
GoGdpTransform.h
Go to the documentation of this file.
1
10
#ifndef GO_PXL_SDK_GOGDPTRANSFORM_H
11
#define GO_PXL_SDK_GOGDPTRANSFORM_H
12
13
#include <GoApi/GoApi.h>
14
#include <kApi/Io/kSerializer.h>
15
#include <
GoPxLSdk/GoGdpMsg/GoGdpMsgDef.h
>
16
17
class
GoGdpMsgTests;
18
19
namespace
GoPxLSdk
20
{
21
22
/*
23
This class represents a 3D transformation matrix
24
25
[ xx xy xz xt ]
26
[ yx yy yz yt ]
27
[ zx zy zz zt ]
28
[ 0 0 0 1 ]
29
*/
30
31
class
GoPxLSdkClass
GoGdpTransform
32
{
33
34
friend
class ::GoGdpMsgTests;
35
36
public
:
43
GoGdpTransform
() =
default
;
44
53
void
Deserialize(kSerializer serializer);
54
62
const
k64f XX()
const
;
63
71
const
k64f XY()
const
;
72
80
const
k64f XZ()
const
;
81
89
const
k64f XT()
const
;
90
98
const
k64f YX()
const
;
99
107
const
k64f YY()
const
;
108
116
const
k64f YZ()
const
;
117
125
const
k64f YT()
const
;
126
134
const
k64f ZX()
const
;
135
143
const
k64f ZY()
const
;
144
152
const
k64f ZZ()
const
;
153
161
const
k64f ZT()
const
;
162
163
private
:
164
k64f xx = 1.0;
165
k64f xy = 0.0;
166
k64f xz = 0.0;
167
k64f xt = 0.0;
168
169
k64f yx = 0.0;
170
k64f yy = 1.0;
171
k64f yz = 0.0;
172
k64f yt = 0.0;
173
174
k64f zx = 0.0;
175
k64f zy = 0.0;
176
k64f zz = 1.0;
177
k64f zt = 0.0;
178
179
};
180
}
181
182
#endif
GoPxLSdkClass
#define GoPxLSdkClass
Definition:
Def.h:35
GoGdpMsgDef.h
GoPxLSdk::GoGdpTransform
Definition:
GoGdpTransform.h:31
GoPxLSdk
Definition:
Def.h:46
GoGdpMsg
GoGdpTransform.h