From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a03955.html | 204 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 docs/doxygen/nel/a03955.html (limited to 'docs/doxygen/nel/a03955.html') diff --git a/docs/doxygen/nel/a03955.html b/docs/doxygen/nel/a03955.html new file mode 100644 index 00000000..9c82e7e0 --- /dev/null +++ b/docs/doxygen/nel/a03955.html @@ -0,0 +1,204 @@ + + +NeL: NL3D::UWaterHeightMap class Reference + + + +
+

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
+ + -- cgit v1.2.1