VPTissue Reference Manual
SimPT_Editor::DiamondTile Class Reference

A diamond shaped tile. More...

#include <DiamondTile.h>

Inheritance diagram for SimPT_Editor::DiamondTile:
Inheritance graph
Collaboration diagram for SimPT_Editor::DiamondTile:
Collaboration graph

Public Member Functions

 DiamondTile ()
 Constructor.
 
virtual ~DiamondTile ()
 Destructor.
 
virtual DiamondTileDown () 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 DiamondTileLeft () 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 DiamondTileRight () 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 DiamondTileUp () 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 diamond shaped tile.

Definition at line 31 of file DiamondTile.h.

Member Function Documentation

DiamondTile * SimPT_Editor::DiamondTile::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 66 of file DiamondTile.cpp.

References DiamondTile().

Here is the call graph for this function:

DiamondTile * SimPT_Editor::DiamondTile::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 51 of file DiamondTile.cpp.

References DiamondTile().

Here is the call graph for this function:

DiamondTile * SimPT_Editor::DiamondTile::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 56 of file DiamondTile.cpp.

References DiamondTile().

Here is the call graph for this function:

DiamondTile * SimPT_Editor::DiamondTile::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 61 of file DiamondTile.cpp.

References DiamondTile().

Here is the call graph for this function:


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