GoPxL SDK

- Home
- Files
- Namespace

GoGdpBoundingBox.h
Go to the documentation of this file.
1
9 #ifndef GO_PXL_SDK_GOBOUNDINGBOX_H
10 #define GO_PXL_SDK_GOBOUNDINGBOX_H
11
12 #include <GoApi/GoApi.h>
13 #include <kApi/Io/kSerializer.h>
14 #include <GoPxLSdk/GoGdpMsg/GoGdpMsgDef.h>
15
16 class GoGdpMsgTests;
17
18 namespace GoPxLSdk
19 {
20 class GoPxLSdkClass GoGdpBoundingBox
21 {
22 public:
29 GoGdpBoundingBox() = default;
30
39 void Deserialize(kSerializer serializer);
40
48 const k64f X() const;
49
57 const k64f Y() const;
58
66 const k64f Z() const;
67
75 const k64f Width() const;
76
84 const k64f Length() const;
85
93 const k64f Height() const;
94
95 private:
96 k64f x = 0.0;
97 k64f y = 0.0;
98 k64f z = 0.0;
99 k64f width = 0.0;
100 k64f length = 0.0;
101 k64f height = 0.0;
102
103 GoGdpBoundingBox(k64f x, k64f y, k64f z, k64f width, k64f length, k64f height) :
104 x(x), y(y), z(z), width(width), length(length), height(height) {}
105
106 GoGdpBoundingBox& operator= (const GoGdpBoundingBox& box);
107
108 friend class ::GoGdpMsgTests;
109 };
110 }
111
112 #endif
113
GoPxLSdk::GoGdpBoundingBox
Definition: GoGdpBoundingBox.h:20
GoPxLSdkClass
#define GoPxLSdkClass
Definition: Def.h:35
GoGdpMsgDef.h
GoPxLSdk
Definition: Def.h:46