Geometrize  1.0
C++ library for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
shaperesult.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 
5 #include "bitmap/rgba.h"
6 
7 namespace geometrize
8 {
9 class Shape;
10 }
11 
12 namespace geometrize
13 {
14 
20 {
21  const double score;
23  const std::shared_ptr<geometrize::Shape> shape;
24 };
25 
26 }
const std::shared_ptr< geometrize::Shape > shape
Definition: shaperesult.h:23
const geometrize::rgba color
Definition: shaperesult.h:22
const double score
Definition: shaperesult.h:21
The ShapeResult struct is a container for info about a shape added to the model.
Definition: shaperesult.h:19
The rgba struct is a helper for manipulating RGBA8888 color data.
Definition: rgba.h:12