VPTissue Reference Manual
|
Abstract base class for cell pattern tiles. More...
#include <Tile.h>
Public Member Functions | |
Tile (const QPolygonF &polygon, const QPainterPath &path) | |
Constructor. More... | |
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 is set to parent of this tile. More... | |
const QPolygonF & | GetPolygon () const |
Returns to the polygon of this tile. More... | |
virtual Tile * | Left () const =0 |
Creates a new tile to the left of this tile (should normally be the opposite of Tile::Right()) Parent is set to parent of this tile. More... | |
virtual Tile * | Right () const =0 |
Creates a new tile to the right of this tile (should normally be the opposite of Tile::Left()) Parent is set to parent of this tile. More... | |
virtual Tile * | Up () const =0 |
Creates a new tile on the row under this tile (should normally be the opposite of Tile::Down()) Parent is set to parent of this tile. More... | |
Protected Attributes | |
const QPolygonF | m_polygon |
|
inline |
|
pure virtual |
Creates a new tile on the row under this tile (should normally be the opposite of Tile::Up()) Parent is set to parent of this tile.
Implemented in SimPT_Editor::DiamondTile, SimPT_Editor::HexagonalTile, SimPT_Editor::RectangularTile, and SimPT_Editor::TriangularTile.
|
inline |
|
pure virtual |
Creates a new tile to the left of this tile (should normally be the opposite of Tile::Right()) Parent is set to parent of this tile.
Implemented in SimPT_Editor::DiamondTile, SimPT_Editor::HexagonalTile, SimPT_Editor::RectangularTile, and SimPT_Editor::TriangularTile.
|
pure virtual |
Creates a new tile to the right of this tile (should normally be the opposite of Tile::Left()) Parent is set to parent of this tile.
Implemented in SimPT_Editor::DiamondTile, SimPT_Editor::HexagonalTile, SimPT_Editor::RectangularTile, and SimPT_Editor::TriangularTile.
|
pure virtual |
Creates a new tile on the row under this tile (should normally be the opposite of Tile::Down()) Parent is set to parent of this tile.
Implemented in SimPT_Editor::DiamondTile, SimPT_Editor::HexagonalTile, SimPT_Editor::RectangularTile, and SimPT_Editor::TriangularTile.