1 #ifndef SIMPT_EDITOR_VORONOI_GENERATOR_DIALOG_H_INCLUDED
2 #define SIMPT_EDITOR_VORONOI_GENERATOR_DIALOG_H_INCLUDED
33 class VoronoiTesselation;
66 void SetupSceneItems(
const QPolygonF &boundaryPolygon);
67 void SetupGui(
double scale);
70 QGraphicsScene *m_scene;
73 static const double g_scene_margin;
78 #endif // end-of-include-guard
Namespace for SimPT tissue editor package.
Dialog for generating patterns in a cell using Voronoi tessellation.
VoronoiGeneratorDialog(const QPolygonF &boundaryPolygon, double initialScale=1.0, QWidget *parent=nullptr)
Constructor.
see the online Qt documentation
std::list< QPolygonF > GetGeneratedPolygons() const
Retrieves the generated polygons after the dialog has successfully executed.
virtual ~VoronoiGeneratorDialog()
Destructor.
see the online Qt documentation
Graphics item for Voronoi tesselation of a polygon.