Geometrize  1.0
C++ library for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
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

 geometrize
 

Functions

std::function< std::shared_ptr
< geometrize::Shape >)> 
geometrize::createDefaultShapeCreator (geometrize::ShapeTypes types, std::int32_t w, std::int32_t h)
 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...