dtTerrain::ImageUtils::HeightColorMap Struct Reference

Maps height values to colors with interpolation/extrapolation. More...

#include <imageutils.h>

List of all members.

Public Member Functions

osg::Vec3 GetColor (float height) const
 Gets the color corresponding to the specified height.


Detailed Description

Maps height values to colors with interpolation/extrapolation.

Member Function Documentation

osg::Vec3 dtTerrain::ImageUtils::HeightColorMap::GetColor ( float  height  )  const

Gets the color corresponding to the specified height.

Parameters:
height the height value to map
Returns:
the corresponding color


http://www.delta3d.org
2.0.0 generated 14 Feb 2008