Walls And Holes  1
M2M::AbstractPolygonTileMesher Class Referenceabstract

#include <abstractpolygontilemesher.h>

Inheritance diagram for M2M::AbstractPolygonTileMesher:
Collaboration diagram for M2M::AbstractPolygonTileMesher:

Public Member Functions

 AbstractPolygonTileMesher (TileNeighborhoodInfo nbhd)
 
QVector< QSharedPointer< SimpleTexturedObject > > makeMesh (QVector2D offset)
 makeMesh Creates the mesh for this tile. More...
 
- Public Member Functions inherited from M2M::AbstractTileMesher
virtual ~AbstractTileMesher ()
 

Protected Member Functions

virtual QVector< Triplet< BetterPolygon, QVector< float >, QVector< bool > > > topPolygons (QVector< const Tile *> *heightAndMaterial)=0
 
- Protected Member Functions inherited from M2M::AbstractTileMesher
 AbstractTileMesher (TileNeighborhoodInfo nbhd)
 

Additional Inherited Members

- Static Public Member Functions inherited from M2M::AbstractTileMesher
static QSharedPointer< AbstractTileMeshergetMesherForTile (const TileMap *tileMap, QPoint tilePoint)
 Returns a TileMesher instance that will create the mesh for the given tile, or, if the tile has not changed (determined by oldMesher), returns nullptr. More...
 
- Protected Attributes inherited from M2M::AbstractTileMesher
TileNeighborhoodInfo mTileNeighborhood
 Information for each tile in the 3x3 neighborhood of the tile to which this mesher is associated. More...
 

Constructor & Destructor Documentation

◆ AbstractPolygonTileMesher()

AbstractPolygonTileMesher::AbstractPolygonTileMesher ( TileNeighborhoodInfo  nbhd)

Member Function Documentation

◆ makeMesh()

QVector< QSharedPointer< SimpleTexturedObject > > AbstractPolygonTileMesher::makeMesh ( QVector2D  offset)
virtual

makeMesh Creates the mesh for this tile.

Returns
A list of objects that contain the mesh info for the tile.

Implements M2M::AbstractTileMesher.

Here is the call graph for this function:

◆ topPolygons()

virtual QVector<Triplet<BetterPolygon, QVector<float>, QVector<bool> > > M2M::AbstractPolygonTileMesher::topPolygons ( QVector< const Tile *> *  heightAndMaterial)
protectedpure virtual

Implemented in M2M::BlockyPolygonTileMesher, and M2M::GroundBlockyPolygonTileMesher.

Here is the caller graph for this function:

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