![]() |
VPTissue Reference Manual
|
Dialog for generating regular patterns in a cell. More...
#include <RegularGeneratorDialog.h>


Public Member Functions | |
| RegularGeneratorDialog (const QPolygonF &boundaryPolygon, double initialScale=1.0, QWidget *parent=nullptr) | |
| Constructor. More... | |
| virtual | ~RegularGeneratorDialog () |
| Destructor. | |
| std::list< QPolygonF > | GetGeneratedPolygons () const |
| Retrieves the generated polygons after the dialog has successfully executed. More... | |
Dialog for generating regular patterns in a cell.
Definition at line 42 of file RegularGeneratorDialog.h.
| SimPT_Editor::RegularGeneratorDialog::RegularGeneratorDialog | ( | 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 75 of file RegularGeneratorDialog.cpp.
| std::list< QPolygonF > SimPT_Editor::RegularGeneratorDialog::GetGeneratedPolygons | ( | ) | const |
Retrieves the generated polygons after the dialog has successfully executed.
Definition at line 86 of file RegularGeneratorDialog.cpp.
References SimPT_Editor::PolygonUtils::ClipPolygon(), SimPT_Editor::PolygonUtils::Counterclockwise(), SimPT_Editor::RegularTiling::GetPolygons(), and SimPT_Editor::PolygonUtils::OpenPolygon().
