osgEarth 2.1.1
Functions

/home/cube/sources/osgearth/src/osgEarth/ImageToHeightFieldConverter.cpp File Reference

#include <osgEarth/ImageToHeightFieldConverter>
#include <osg/Notify>
#include <limits.h>
#include <string.h>
Include dependency graph for ImageToHeightFieldConverter.cpp:

Go to the source code of this file.

Functions

static bool isNoData (short s)
static bool isNoData (float f)

Function Documentation

static bool isNoData ( short  s) [static]

Definition at line 28 of file ImageToHeightFieldConverter.cpp.

{
  return s == SHRT_MAX || s == SHRT_MIN;
}

Here is the caller graph for this function:

static bool isNoData ( float  f) [static]

Definition at line 34 of file ImageToHeightFieldConverter.cpp.

{
  return f == FLT_MAX || f == FLT_MIN;
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines