Geometrize
1.0
An application for geometrizing images into geometric primitives
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Friends
Macros
geometrize
geometrize
exporter
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
,
20
CUSTOM_ARRAY
21
};
22
29
std::string
exportShapeData
(
const
std::vector<geometrize::ShapeResult>& data,
ShapeDataFormat
format);
30
31
}
32
33
}
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
geometrize::exporter::ShapeDataFormat
ShapeDataFormat
Definition:
shapedataexporter.h:17
geometrize::exporter::ShapeDataFormat::CUSTOM_ARRAY
geometrize::exporter::ShapeDataFormat::JSON
Generated on Wed Jan 27 2021 01:45:19 for Geometrize by
1.8.6