Geometrize  1.0
An application for geometrizing images into geometric primitives
shapedataexporter.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 #include <vector>
5 
6 namespace geometrize
7 {
8 struct ShapeResult;
9 }
10 
11 namespace geometrize
12 {
13 
14 namespace exporter
15 {
16 
17 enum class ShapeDataFormat
18 {
19  JSON,
21 };
22 
29 std::string exportShapeData(const std::vector<geometrize::ShapeResult>& data, ShapeDataFormat format);
30 
31 }
32 
33 }
geometrize
Definition: commandlineparser.cpp:73
shapedataexporter.h
geometrize::exporter::ShapeDataFormat::JSON
@ JSON
geometrize::exporter::ShapeDataFormat
ShapeDataFormat
Definition: shapedataexporter.h:18
geometrize::exporter::exportShapeData
std::string exportShapeData(const std::vector< geometrize::ShapeResult > &data, const ShapeDataFormat format)
exportShapeData Exports shape data to a specified format (JSON or a custom textual array format).
Definition: shapedataexporter.cpp:17