Mercator::ShapeTerrainMod< Shape > Class Template Reference

Terrain modifier which is defined by a shape variable. More...

#include <TerrainMod.h>

Inheritance diagram for Mercator::ShapeTerrainMod< Shape >:

Mercator::TerrainMod Mercator::AdjustTerrainMod< Shape > Mercator::LevelTerrainMod< Shape > Mercator::SlopeTerrainMod< Shape >

List of all members.

Public Member Functions

 ShapeTerrainMod (const Shape &s)
 Constructor.
virtual WFMath::AxisBox< 2 > bbox () const
 Get the boundingbox of the modifier.

Protected Attributes

Shape m_shape
 Shape of the modifier.


Detailed Description

template<typename Shape>
class Mercator::ShapeTerrainMod< Shape >

Terrain modifier which is defined by a shape variable.

This template extends TerrainMod by adding the ability to query the bounding box of the shape that defines this modification to the terrain.


Constructor & Destructor Documentation

template<typename Shape>
Mercator::ShapeTerrainMod< Shape >::ShapeTerrainMod ( const Shape &  s  )  [inline]

Constructor.

Parameters:
s shape of the modifier.


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

Generated for Mercator by  doxygen 1.5.6