Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
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 }
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
ShapeDataFormat
Definition: shapedataexporter.h:17