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

MapGen::Normalize Class Reference

#include <normalize.h>

Inheritance diagram for MapGen::Normalize:

MapGen::Filter List of all members.

Public Member Functions

 Normalize (const float min, const float max)
void apply (Map *map)

Private Attributes

float _min
float _max

Detailed Description

Linear re-range of the map

Definition at line 30 of file normalize.h.

Member Function Documentation

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

Apply filter on map in place

Reimplemented from MapGen::Filter.

Definition at line 46 of file normalize.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