Geometrize 1.0
C++ library for geometrizing images into geometric primitives
Namespaces | Functions
shapefactory.h File Reference
#include <cstdint>
#include <functional>
#include <memory>
#include "shape.h"
#include "shapetypes.h"

Go to the source code of this file.

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::Shapegeometrize::create (geometrize::ShapeTypes t)
 create Creates a new shape of the specified type. More...
 
std::shared_ptr< geometrize::Shapegeometrize::randomShape ()
 randomShape Creates a random shape. More...
 
std::shared_ptr< geometrize::Shapegeometrize::randomShapeOf (geometrize::ShapeTypes t)
 randomShapeOf Creates a random shape from the types supplied. More...