Geometrize 1.0
C++ library for geometrizing images into geometric primitives
shapeserializer.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
5namespace geometrize
6{
7class Circle;
8class Ellipse;
9class Line;
10class Polyline;
11class QuadraticBezier;
12class Rectangle;
13class RotatedEllipse;
14class RotatedRectangle;
15class Shape;
16class Triangle;
17}
18
19namespace geometrize
20{
21
22std::vector<float> getRawShapeData(const geometrize::Shape& s);
23std::vector<float> getRawShapeData(const geometrize::Circle& s);
24std::vector<float> getRawShapeData(const geometrize::Ellipse& s);
25std::vector<float> getRawShapeData(const geometrize::Line& s);
26std::vector<float> getRawShapeData(const geometrize::Polyline& s);
27std::vector<float> getRawShapeData(const geometrize::QuadraticBezier& s);
28std::vector<float> getRawShapeData(const geometrize::Rectangle& s);
29std::vector<float> getRawShapeData(const geometrize::RotatedEllipse& s);
30std::vector<float> getRawShapeData(const geometrize::RotatedRectangle& s);
31std::vector<float> getRawShapeData(const geometrize::Triangle& s);
32
33}
The Circle class represents a circle.
Definition: circle.h:16
The Ellipse class represents an ellipse.
Definition: ellipse.h:16
The Line class represents a simple line.
Definition: line.h:16
The Polyline class represents a polyline.
Definition: polyline.h:18
The QuadraticBezier class represents a quadratic bezier curve.
Definition: quadraticbezier.h:16
The Rectangle class represents a rectangle.
Definition: rectangle.h:16
The RotatedEllipse class represents a rotated ellipse.
Definition: rotatedellipse.h:16
The RotatedRectangle class represents a rotated rectangle.
Definition: rotatedrectangle.h:16
Definition: shape.h:18
The Triangle class represents a triangle.
Definition: triangle.h:16
Definition: bitmap.cpp:8
std::vector< float > getRawShapeData(const geometrize::Shape &s)
Definition: shapeserializer.cpp:21