#include <DetectionPolygonParameterWriter.h>
This class contains static methods to create ParameterData objects that contain information about DetectionPolygon instance definitions in a format consistent with DetectionPolygonParameterReader.
◆ writePolygonDetection() [1/2]
Return a ParameterData suitable to be read by readPolygonDetection() based on the supplied DetectionPolygon instances.
- Parameters
-
dlist | list of DetectionPolygon instances – this may be empty. det and res instances will be automatically added to the list (if they are not already in it) |
det | detection instance – this may be null |
res | resolution instance – this may be null Note: this may modify the instance identifiers if they are not already unique. |
◆ writePolygonDetection() [2/2]
Return a ParameterData suitable to be read by readPolygonDetection() based on the supplied DetectionPolygon instances.
- Parameters
-
dlist | list of DetectionPolygon instances – this may be empty. det and res instances will be automatically added to the list (if they are not already in it) |
det | detection instance – this may be null |
res | resolution instance – this may be null |
ordered | true to modify detection identifiers to ensure they retain the input list's ordering when decoded, false will only modify identifiers if they are not unique |
The documentation for this class was generated from the following files: