User Tools

Site Tools


api:dk11:delphi:gisslopemap.tgis_slopemap

TGIS_SlopeMap class

DK11 for Delphi | GisSlopeMap.TGIS_SlopeMap | Classes | Constructors | Methods | Properties | Events

Slope map generator for digital terrain models.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
type
  TGIS_SlopeMap = class( TGIS_BaseObjectDisposable )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_SlopeMap : public TGIS_BaseObjectDisposable
{
};

Inheritance

→ TObject → TGIS_BaseObjectDisposable

Constructors

Inherited Overrides Protected
Name Visibility Description
Create 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; Boolean) public Generates slope map based on a terrain model.

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 published

Remarks

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

2020/08/21 21:41

Page Tools