Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

MapGen::Flattern Class Reference

#include <flattern.h>

Inheritance diagram for MapGen::Flattern:

MapGen::Filter List of all members.

Public Member Functions

 Flattern (const float power)
void apply (Map *map)

Private Attributes

float _power

Detailed Description

Use a x^power function to resample the map

Definition at line 30 of file flattern.h.

Member Function Documentation

void MapGen::Flattern::apply Map map  )  [virtual]

Apply filter on map in place

Reimplemented from MapGen::Filter.

Definition at line 52 of file flattern.cpp.

References MapGen::Map::getAt(), MapGen::Map::getH(), MapGen::Map::getW(), and MapGen::Map::setAt().

The documentation for this class was generated from the following files:
Generated on Sat Nov 11 10:21:11 2006 for OpenCity by  doxygen 1.4.2