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

MapGen::GaussBlur Class Reference

#include <gaussblur.h>

Inheritance diagram for MapGen::GaussBlur:

MapGen::Filter List of all members.

Public Member Functions

 GaussBlur (const uint length)
void apply (Map *map)

Static Private Member Functions

static float _gauss (const uint x, const uint width)
static float * _blur (const uint length)

Private Attributes

uint _length
float * _convulsion

Detailed Description

Apply a Guass blur on the map with arbitrary precision window size

Definition at line 30 of file gaussblur.h.

Member Function Documentation

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

Apply filter on map in place

Reimplemented from MapGen::Filter.

Definition at line 43 of file gaussblur.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