Classes | Defines

deHeightTerrain.h File Reference

#include "../../deResource.h"
#include "../../../common/math/decMath.h"
#include "../../../common/utils/decLayerMask.h"

Classes

class  deHeightTerrain
 Height Terrain. More...

Defines

#define HT_16BIT_BASE   32767
 16-bit image value corresponding to 0 level.
#define HT_16BIT_HTOP   65535.0f
 16-bit scaling factor height to pixel.
#define HT_16BIT_PTOH   ( 1.0f / 65535.0f )
 16-bit scaling factor pixel to height.
#define HT_8BIT_BASE   127
 8-bit image value corresponding to 0 level.
#define HT_8BIT_HTOP   255.0f
 8-bit scaling factor height to pixel.
#define HT_8BIT_PTOH   ( 1.0f / 255.0f )
 8-bit scaling factor pixel to height.

Define Documentation

#define HT_16BIT_BASE   32767

16-bit image value corresponding to 0 level.

#define HT_16BIT_HTOP   65535.0f

16-bit scaling factor height to pixel.

#define HT_16BIT_PTOH   ( 1.0f / 65535.0f )

16-bit scaling factor pixel to height.

#define HT_8BIT_BASE   127

8-bit image value corresponding to 0 level.

#define HT_8BIT_HTOP   255.0f

8-bit scaling factor height to pixel.

#define HT_8BIT_PTOH   ( 1.0f / 255.0f )

8-bit scaling factor pixel to height.