1 #ifndef SIMPT_EDITOR_TILE_H_INCLUDED
2 #define SIMPT_EDITOR_TILE_H_INCLUDED
22 #include <QGraphicsPathItem>
51 const QPolygonF &
GetPolygon()
const {
return m_polygon; }
76 virtual Tile *
Up()
const = 0;
87 const QPolygonF m_polygon;
92 #endif // end-of-include-guard
see the online Qt documentation
Namespace for SimPT tissue editor package.
Tile(const QPolygonF &polygon, const QPainterPath &path)
Constructor.
virtual Tile * Left() const =0
Creates a new tile to the left of this tile (should normally be the opposite of Tile::Right()) Parent...
virtual ~Tile()
(Virtual) Destructor
virtual Tile * Down() const =0
Creates a new tile on the row under this tile (should normally be the opposite of Tile::Up()) Parent ...
virtual Tile * Up() const =0
Creates a new tile on the row under this tile (should normally be the opposite of Tile::Down()) Paren...
Abstract base class for cell pattern tiles.
const QPolygonF & GetPolygon() const
Returns to the polygon of this tile.
virtual Tile * Right() const =0
Creates a new tile to the right of this tile (should normally be the opposite of Tile::Left()) Parent...