User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_slopemap

TGIS_SlopeMap class

DK11 for .NET | TatukGIS.NDK.TGIS_SlopeMap | Classes | Constructors | Methods | Properties | Events

Slope map generator for digital terrain models.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public class TGIS_SlopeMap : TGIS_BaseObjectDisposable
{
}
' VisualBasic
Public Class TGIS_SlopeMap
  Inherits TGIS_BaseObjectDisposable
End Class
// Oxygene
type
  TGIS_SlopeMap = public class( TGIS_BaseObjectDisposable )
  end;

Inheritance

→ TGIS_BaseObjectDisposable

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_SlopeMap() public Creates an instance.

Methods

Inherited Overrides Protected
Name Visibility Description
Generate public Generates slope map based on a terrain model.
Generate(TGIS_LayerPixel, TGIS_Extent, TGIS_LayerPixel, bool) public Generates slope map based on a terrain model.
raiseBusyEvent protected Prepares and raises the BusyEvent.

Properties

Inherited Protected
Name Visibility Description
ApplyRamp public If True then the standard 0-5-10-15-21-31-90 degrees color ramp is applied to the slope map layer.
Extent public Extent to be processed (in source layer units).
OutputLayer public Output slope map as a grid layer; this layer must have the same extent, CS, and resolution as the source layer.
SlopeUnit public Unit used to express slope values in the output grid.
SourceLayer public Terrain model as a grid layer; if the layer has no CS then it is assumed that the extent is expressed in meters.

Events

Inherited Protected
Name Visibility Description
BusyEvent public Event fired upon progress of the generation process.

Remarks

This class is OpenCL-enabled, it can utilize OpenCL for increased performance. Use TGIS_OpenCLEngine.Enabled to enable OpenCL computation mode.

2019/02/08 01:34