GoPxL SDK
GoGdpSurfaceBase.h
Go to the documentation of this file.
1 
10 #ifndef GO_PXL_SDK_GOGDPSURFACEBASE_H
11 #define GO_PXL_SDK_GOGDPSURFACEBASE_H
12 
14 
15 class GoGdpMsgTests;
16 
17 namespace GoPxLSdk
18 {
20  {
21  public:
29  const k32u Length() const;
30 
38  const k32u Width() const;
39 
47  const k32u IntensityLength() const;
48 
56  const k32u IntensityWidth() const;
57 
65  const kPoint3d64f Resolution() const;
66 
74  const kPoint3d64f Offset() const;
75 
83  const k32u SurfaceId() const;
84 
92  const k32f Exposure() const;
93 
94  protected:
104  ~GoGdpSurfaceBase() = default;
105 
114  void Deserialize(kSerializer serializer) override;
115 
116  private:
117  const k64f OffsetScaled = 1000.0;
118  const k64f ResolutionScaled = 1000000.0;
119 
120  k32u length = 0;
121  k32u width = 0;
122 
123  k32u intensityLength = 0;
124  k32u intensityWidth = 0;
125 
126  kPoint3d64f resolution = { 0.0 };
127  kPoint3d64f offset = { 0.0 };
128 
129  k32u surfaceId = 0;
130  k32f exposure = 0.0;
131 
132  friend class ::GoGdpMsgTests;
133  };
134 }
135 
136 #endif
#define GoPxLSdkClass
Definition: Def.h:35
MessageType
List of enums representing types available to be serialized out through GDP This list is essentially ...
Definition: GoGdpMsgDef.h:27
Declares the GoPxLSdk.GoGdpMsg class.
Definition: GoGdpSurfaceBase.h:19
Definition: Def.h:46
Definition: GoGdpMsg.h:38