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.
This method calls GeorefDefault.
- 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.
GeorefDefault
Specifies a default geo-reference for the heightmap, if necessary.
If no geo-reference raster has been specified (i.e. HasGeoref returns false
), a default raster will be chosen depending on the map type that has been chosen with Heightmap.Builder2 resp. Heightmap.Builder1:
-
For MapType.Rect: Raster.PopularMercator (if width and height are equal) or Raster.GeographicRect (if width and height are different).
To specify another geo-reference, use the Georef method, before calling this method.
Range
Specifies the vertical range (i.e. elevation range, in terrain-space) of the heightmap.
The default range is VerticalRange.Default.