GoPxL SDK
GoGdpSpots.h
Go to the documentation of this file.
1 
9 #ifndef GO_PXL_SDK_GOGDPSPOTS_H
10 #define GO_PXL_SDK_GOGDPSPOTS_H
11 
13 
14 class GoGdpMsgTests;
15 
16 typedef struct GdpSpot
17 {
18  k16u slice;
19  k32u centre;
20 }GdpSpot;
21 
22 namespace GoPxLSdk
23 {
25  {
26  public:
33  GoGdpSpots();
34  ~GoGdpSpots() = default;
35 
44  void Deserialize(kSerializer serializer) override;
45 
53  const k32u PointCount() const;
54 
62  const k32f Exposure() const;
63 
71  const bool ColumnBased() const;
72 
80  const k32f SliceScale() const;
81 
89  const k32f SliceOffset() const;
90 
98  const k32f CenterScale() const;
99 
107  const k32f CenterOffset() const;
108 
116  const k32u MaxSliceCount() const;
117 
125  const k32u SpotCenterMin() const;
126 
134  const k32u SpotCenterMax() const;
135 
143  const std::vector<GdpSpot>& Spots() const;
144 
145  private:
146  k32u pointCount = 0;
147  k32f exposure = 0.0;
148  bool columnBased = false;
149  k32f sliceScale = 1.0;
150  k32f sliceOffset = 0;
151  k32f centerScale = 1.0;
152  k32f centerOffset = 0;
153  k32u maxSliceCount = 0;
154  k32u spotCenterMin = 0;
155  k32u spotCenterMax = 0;
156  std::vector<GdpSpot> spots;
157 
158  friend class ::GoGdpMsgTests;
159  };
160 }
161 
162 #endif
#define GoPxLSdkClass
Definition: Def.h:35
k32u centre
Definition: GoGdpSpots.h:19
Definition: GoGdpSpots.h:16
k16u slice
Definition: GoGdpSpots.h:18
Definition: Def.h:46
Definition: GoGdpSpots.h:24
Definition: GoGdpMsg.h:37