![]() |
VPTissue Reference Manual
|
Dialog for generating patterns in a cell using Voronoi tessellation. More...
#include <VoronoiGeneratorDialog.h>


Public Member Functions | |
| VoronoiGeneratorDialog (const QPolygonF &boundaryPolygon, double initialScale=1.0, QWidget *parent=nullptr) | |
| Constructor. More... | |
| virtual | ~VoronoiGeneratorDialog () |
| Destructor. | |
| std::list< QPolygonF > | GetGeneratedPolygons () const |
| Retrieves the generated polygons after the dialog has successfully executed. More... | |
Dialog for generating patterns in a cell using Voronoi tessellation.
Definition at line 38 of file VoronoiGeneratorDialog.h.
| SimPT_Editor::VoronoiGeneratorDialog::VoronoiGeneratorDialog | ( | const QPolygonF & | boundaryPolygon, |
| double | initialScale = 1.0, |
||
| QWidget * | parent = nullptr |
||
| ) |
Constructor.
| boundaryPolygon | The polygon inside which to generate the cell complex |
| initialScale | The initial scale of the generator graphics view |
| parent | The parent of the dialog |
Definition at line 45 of file VoronoiGeneratorDialog.cpp.
| std::list< QPolygonF > SimPT_Editor::VoronoiGeneratorDialog::GetGeneratedPolygons | ( | ) | const |
Retrieves the generated polygons after the dialog has successfully executed.
Definition at line 56 of file VoronoiGeneratorDialog.cpp.
References SimPT_Editor::PolygonUtils::Counterclockwise(), and SimPT_Editor::VoronoiTesselation::GetCellPolygons().
