VPTissue Reference Manual
SimPT_Editor::TriangularTile Class Reference

A triangular tile. More...

#include <TriangularTile.h>

Inheritance diagram for SimPT_Editor::TriangularTile:
Inheritance graph
Collaboration diagram for SimPT_Editor::TriangularTile:
Collaboration graph

Public Member Functions

 TriangularTile ()
 Constructor.
 
virtual ~TriangularTile ()
 Destructor.
 
virtual TriangularTileDown () const
 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 Implementation of Tile::Down() More...
 
virtual TriangularTileLeft () const
 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 Implementation of Tile::Left() More...
 
virtual TriangularTileRight () const
 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 Implementation of Tile::Right() More...
 
virtual TriangularTileUp () const
 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 Implementation of Tile::Up() More...
 
- Public Member Functions inherited from SimPT_Editor::Tile
 Tile (const QPolygonF &polygon, const QPainterPath &path)
 Constructor. More...
 
virtual ~Tile ()
 (Virtual) Destructor
 
const QPolygonF & GetPolygon () const
 Returns to the polygon of this tile. More...
 

Additional Inherited Members

- Protected Attributes inherited from SimPT_Editor::Tile
const QPolygonF m_polygon
 

Detailed Description

A triangular tile.

Definition at line 31 of file TriangularTile.h.

Member Function Documentation

TriangularTile * SimPT_Editor::TriangularTile::Down ( ) const
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 Implementation of Tile::Down()

Returns
Tile* A new tile to below this one (ownership is returned with pointer)

Implements SimPT_Editor::Tile.

Definition at line 92 of file TriangularTile.cpp.

References TriangularTile().

Here is the call graph for this function:

TriangularTile * SimPT_Editor::TriangularTile::Left ( ) const
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 Implementation of Tile::Left()

Returns
Tile* A new tile to the left of this one (ownership is returned with pointer)

Implements SimPT_Editor::Tile.

Definition at line 64 of file TriangularTile.cpp.

References TriangularTile().

Here is the call graph for this function:

TriangularTile * SimPT_Editor::TriangularTile::Right ( ) const
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 Implementation of Tile::Right()

Returns
Tile* A new tile to the right of this one (ownership is returned with pointer)

Implements SimPT_Editor::Tile.

Definition at line 72 of file TriangularTile.cpp.

References TriangularTile().

Here is the call graph for this function:

TriangularTile * SimPT_Editor::TriangularTile::Up ( ) const
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 Implementation of Tile::Up()

Returns
Tile* A new tile to below this one (ownership is returned with pointer)

Implements SimPT_Editor::Tile.

Definition at line 80 of file TriangularTile.cpp.

References TriangularTile().

Here is the call graph for this function:


The documentation for this class was generated from the following files: