HeightmapBuilder
Description
- Derived from
A builder for IHeightmap objects.
Public / Constructors
Dataset
3 overloads
Creates a mutable heightmap that is kept in the given *.HGT
file.
Storage space is only allocated for regions that contain data (see IHeightmap.HasRegion). So storage space consumption does not depend on the heightmap size, but on the quantity of data that has been fed into it.
- IOException
-
If an I/O error has occurred.
Creates a mutable heightmap that is kept in the given *.HGT
file.
Storage space is only allocated for regions that contain data (see IHeightmap.HasRegion). So storage space consumption does not depend on the heightmap size, but on the quantity of data that has been fed into it.
- IOException
-
If an I/O error has occurred.
Creates a mutable heightmap that is kept in the given *.HGT
file.
Storage space is only allocated for regions that contain data (see IHeightmap.HasRegion). So storage space consumption does not depend on the heightmap size, but on the quantity of data that has been fed into it.
- IOException
-
If an I/O error has occurred.
Memory
Creates a mutable heightmap that is kept entirely in memory.
Memory is only allocated for regions that contain data (see IHeightmap.HasRegion). So memory consumption does not depend on the heightmap size, but on the quantity of data that has been fed into it.
Shapes
Creates a heightmap that performs on-the-fly rasterization of vector shapes.
A valid geo-reference raster must have been specified, i.e. HasGeoref must return true
.
The returned heightmap always has PixelCoverage.PixelIsPoint semantics.
For IHeightmapShape objects to work properly, it is important to use a raster transform which can be represented by a matrix (see IRasterTransform.Matrix).
- IOException
-
If an I/O error has occurred.
Public / Methods
Georef
Specifies the geo-reference for the heightmap.
The cubemap size of the given raster transform (see IRasterTransform.Size of Raster.Transform of georef in) will be adjusted by this method and may thus have an arbitrary value.
Range
Specifies the vertical range (i.e. elevation range, in terrain-space) of the heightmap.
The default range is VerticalRange.Default.