VPTissue Reference Manual
SimPT_Editor::RectangularTile Class Reference

A rectangular tile. More...

#include <RectangularTile.h>

Inheritance diagram for SimPT_Editor::RectangularTile:
Inheritance graph
Collaboration diagram for SimPT_Editor::RectangularTile:
Collaboration graph

Public Member Functions

 RectangularTile ()
 Constructor.
 
virtual ~RectangularTile ()
 Destructor.
 
virtual RectangularTileDown () 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 RectangularTileLeft () 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 RectangularTileRight () 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 RectangularTileUp () 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 rectangular tile.

Definition at line 31 of file RectangularTile.h.

Member Function Documentation

RectangularTile * SimPT_Editor::RectangularTile::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 64 of file RectangularTile.cpp.

References RectangularTile().

Here is the call graph for this function:

RectangularTile * SimPT_Editor::RectangularTile::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 49 of file RectangularTile.cpp.

References RectangularTile().

Here is the call graph for this function:

RectangularTile * SimPT_Editor::RectangularTile::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 54 of file RectangularTile.cpp.

References RectangularTile().

Here is the call graph for this function:

RectangularTile * SimPT_Editor::RectangularTile::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 59 of file RectangularTile.cpp.

References RectangularTile().

Here is the call graph for this function:


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