7#include "../rasterizer/scanline.h"
33 virtual std::shared_ptr<geometrize::Shape>
clone()
const
35 throw "Unimplemented";
44 throw "Unimplemented";
Shape & operator=(const geometrize::Shape &other)=default
std::function< std::vector< geometrize::Scanline >(const geometrize::Shape &)> rasterize
Definition: shape.h:27
std::function< void(geometrize::Shape &)> setup
Definition: shape.h:25
std::function< void(geometrize::Shape &)> mutate
Definition: shape.h:26
Shape(const geometrize::Shape &other)=default
virtual geometrize::ShapeTypes getType() const
getType Gets the ShapeType of the shape.
Definition: shape.h:42
virtual std::shared_ptr< geometrize::Shape > clone() const
clone Clones the shape, a virtual copy constructor.
Definition: shape.h:33
ShapeTypes
The ShapeTypes enum specifies the types of shapes that can be used. These can be combined to produce ...
Definition: shapetypes.h:17