Classes | Defines

deTerrainHeightMap.h File Reference

#include "../../../common/math/decMath.h"

Classes

class  deTerrainHeightMap
 Terrain Height Map. More...

Defines

#define THM_16BIT_BASE   32767
 16-bit image value corresponding to 0 level.
#define THM_16BIT_HTOP   65535.0f
 16-bit scaling factor height to pixel.
#define THM_16BIT_PTOH   ( 1.0f / 65535.0f )
 16-bit scaling factor pixel to height.
#define THM_8BIT_BASE   127
 8-bit image value corresponding to 0 level.
#define THM_8BIT_HTOP   255.0f
 8-bit scaling factor height to pixel.
#define THM_8BIT_PTOH   ( 1.0f / 255.0f )
 8-bit scaling factor pixel to height.

Define Documentation

#define THM_16BIT_BASE   32767

16-bit image value corresponding to 0 level.

#define THM_16BIT_HTOP   65535.0f

16-bit scaling factor height to pixel.

#define THM_16BIT_PTOH   ( 1.0f / 65535.0f )

16-bit scaling factor pixel to height.

#define THM_8BIT_BASE   127

8-bit image value corresponding to 0 level.

#define THM_8BIT_HTOP   255.0f

8-bit scaling factor height to pixel.

#define THM_8BIT_PTOH   ( 1.0f / 255.0f )

8-bit scaling factor pixel to height.