ElevationBuffer
Description
- Derived from
-
SampleBufferInt32 abstract
An implementation of the ISampleBuffer interface that stores normalized elevation values (see HeightmapSample.MaxValue30).
- See also
Public / Constants
ScanlineRangeDefault
The default value of ISampleBuffer.ScanlineRange.
For image coding, the raw pixel value corresponds to the elevation value (see HeightmapSample.Elevation).
The default pixel range maps the elevation values -/+
HeightmapSample.MaxValue30 to black resp. white.
Public / Constructors
Create
Creates a new instance of ElevationBuffer.
Instances of ElevationBuffer can be pooled by calling IDeletable.Delete.
FromImage
3 overloads
Creates a new instance of ElevationBuffer.
- IOException
-
If an I/O error has occurred.
- ValidatingException
-
If the image reader has reported an error, for example because of an unsupported file format feature.
Creates a new instance of ElevationBuffer.
- IOException
-
If an I/O error has occurred.
- ValidatingException
-
If the image reader has reported an error, for example because of an unsupported file format feature.
Creates a new instance of ElevationBuffer.
- IOException
-
If an I/O error has occurred.