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