NL3D::UWaterHeightMap Class Reference

#include <u_water.h>

Inheritance diagram for NL3D::UWaterHeightMap:

NL3D::CWaterHeightMap

Detailed Description

Interface to water height maps.

Definition at line 98 of file u_water.h.

Public Member Functions

virtual float getHeight (const NLMISC::CVector2f &pos)=0
virtual float getUnitSize () const=0
 get the size in meter of a heightmap texel

virtual void perturbate (const NLMISC::CVector2f &pos, float strenght, float radius)=0
virtual void perturbatePoint (const NLMISC::CVector2f &pos, float strenght)=0


Member Function Documentation

virtual float NL3D::UWaterHeightMap::getHeight const NLMISC::CVector2f pos  )  [pure virtual]
 

Get the value of the height map at the given location. To get the height in world coordinate, You should use getHeight

Implemented in NL3D::CWaterHeightMap.

virtual float NL3D::UWaterHeightMap::getUnitSize  )  const [pure virtual]
 

get the size in meter of a heightmap texel

Implemented in NL3D::CWaterHeightMap.

virtual void NL3D::UWaterHeightMap::perturbate const NLMISC::CVector2f pos,
float  strenght,
float  radius
[pure virtual]
 

Apply a perturbation on this heightmap at the given location.

Parameters:
pos,The x and y coords of the perturbation.
strenght Strenght of the impulsion
radius Radius of the impulsion

Implemented in NL3D::CWaterHeightMap.

virtual void NL3D::UWaterHeightMap::perturbatePoint const NLMISC::CVector2f pos,
float  strenght
[pure virtual]
 

Apply a point perturbation on this heightmap at the given location.

Parameters:
pos,The x and y coords of the perturbation.
strenght Strenght of the impulsion

Implemented in NL3D::CWaterHeightMap.


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 08:53:33 2004 for NeL by doxygen 1.3.6