15 #include "../tools/errorhandler.hpp"
16 #include "../tools/toolbox.hpp"
17 #include "../datatypes/Scan.hpp"
18 #include "../datatypes/Object.hpp"
19 #include "../datatypes/Msg.hpp"
20 #include "../datatypes/Measurement.hpp"
21 #include "../datatypes/Fields.hpp"
22 #include "../datatypes/EvalCases.hpp"
23 #include "../datatypes/EvalCaseResults.hpp"
67 for (
UINT8 i = 0; i<8; i++)
86 std::string datatypeStr;
87 std::string sourceIdStr;
91 Scan* scan =
dynamic_cast<Scan*
>(&data);
116 for (
UINT8 layer = 0; layer < 8; layer++)
132 INT16 startLayer = 3;
139 for (
INT16 layer = startLayer; layer >= 0; layer -= 1)
174 UINT8 layerOffset = 0;
203 for (
UINT8 layer = 0; layer < 4; layer++)
214 " degrees in layer " +
toString(layer) +
".",
true);
242 currentPoint = scan->
at(i);
243 if (currentPoint.
getLayer() == layer)
247 if (fabs(currentPoint.
getHAngle() - horzAngle) < fabs(bestPoint.
getHAngle() - horzAngle))
249 bestPoint = currentPoint;