Mercator
Classes | Public Member Functions | Protected Member Functions | Protected Attributes
Mercator::Effector Class Reference

Device which effects a change in the terrain. More...

#include <Effector.h>

Inheritance diagram for Mercator::Effector:
Mercator::Area Mercator::TerrainMod Mercator::ShapeTerrainMod< Shape > Mercator::AdjustTerrainMod< Shape > Mercator::CraterTerrainMod< Shape > Mercator::LevelTerrainMod< Shape > Mercator::SlopeTerrainMod< Shape >

List of all members.

Classes

class  Context

Public Member Functions

Contextcontext () const
void setContext (Context *)
const WFMath::AxisBox< 2 > & bbox () const
 Accessor for the bounding box of the geometric shape.
virtual bool checkIntersects (const Segment &s) const =0
virtual int addToSegment (Segment &) const =0
virtual void updateToSegment (Segment &) const =0
virtual void removeFromSegment (Segment &) const =0

Protected Member Functions

 Effector ()
 Constructor.
 Effector (const Effector &)
 Copy constructor.
Effectoroperator= (const Effector &)
 Assignment.

Protected Attributes

WFMath::AxisBox< 2 > m_box
 The bounding box of the geometric shape.
Contextm_context
 The application context of this effector.

Detailed Description

Device which effects a change in the terrain.

Classes which inherit from this interface change the terrain in some way within the region given by the box member. The exact shape of the area affected and the nature of the change depends on the subclass.


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