![]() |
Geometrize 1.0
C++ library for geometrizing images into geometric primitives
|
#include "shapefactory.h"#include <cassert>#include <cstdint>#include <memory>#include "shape.h"#include "circle.h"#include "ellipse.h"#include "line.h"#include "polyline.h"#include "quadraticbezier.h"#include "rectangle.h"#include "rotatedellipse.h"#include "rotatedrectangle.h"#include "shapetypes.h"#include "triangle.h"#include "shapemutator.h"#include "../commonutil.h"#include "../rasterizer/rasterizer.h"Namespaces | |
| namespace | geometrize |
Functions | |
| std::function< std::shared_ptr< geometrize::Shape >()> | geometrize::createDefaultShapeCreator (geometrize::ShapeTypes types, std::int32_t xMin, std::int32_t yMin, std::int32_t xMax, std::int32_t yMax) |
| createDefaultShapeCreator Creates an instance of the default shape creator object. The setup, mutate and rasterize methods are bound with default methods. More... | |
| std::shared_ptr< geometrize::Shape > | geometrize::create (geometrize::ShapeTypes t) |
| create Creates a new shape of the specified type. More... | |
| std::shared_ptr< geometrize::Shape > | geometrize::randomShape () |
| randomShape Creates a random shape. More... | |
| std::shared_ptr< geometrize::Shape > | geometrize::randomShapeOf (geometrize::ShapeTypes t) |
| randomShapeOf Creates a random shape from the types supplied. More... | |