1 #ifndef SIMPT_EDITOR_REGULAR_GENERATOR_DIALOG_H_INCLUDED
2 #define SIMPT_EDITOR_REGULAR_GENERATOR_DIALOG_H_INCLUDED
37 class TransformationWidget;
70 void UpdateTiling(
int index);
71 void UpdateTransformation();
74 void SetupSceneItems(
const QPolygonF &boundaryPolygon);
75 void SetupGui(
double scale);
78 QGraphicsScene *m_scene;
84 template <
class TileType>
class TileFactory;
86 static const double g_scene_margin;
87 static const std::vector<std::pair<std::shared_ptr<const ITileFactory>, std::string>> g_tile_factories;
92 #endif // end-of-include-guard
Namespace for SimPT tissue editor package.
Qt GUI to enter a transformation of an item.
see the online Qt documentation
virtual ~RegularGeneratorDialog()
Destructor.
Class of a cell tiling with regular polygons.
see the online Qt documentation
std::list< QPolygonF > GetGeneratedPolygons() const
Retrieves the generated polygons after the dialog has successfully executed.
see the online Qt documentation
RegularGeneratorDialog(const QPolygonF &boundaryPolygon, double initialScale=1.0, QWidget *parent=nullptr)
Constructor.
Dialog for generating regular patterns in a cell.