User Tools

Site Tools


api:dk11:delphi:gishillshade.tgis_hillshade

TGIS_Hillshade class

DK11 for Delphi | GisHillshade.TGIS_Hillshade | Classes | Constructors | Methods | Properties | Events

Hillshade generator for digital terrain models.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
type
  TGIS_Hillshade = class( TGIS_BaseObjectDisposable )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_Hillshade : 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 hillshade based on a terrain model.
Generate(TGIS_LayerPixel; TGIS_Extent; TGIS_LayerPixel; Double; Double; Double) public Generates hillshade based on a terrain model.
raiseBusyEvent protected Prepares and raises the BusyEvent.

Properties

Inherited Protected
Name Visibility Description
Altitude public Angular altitude of the light source in degrees; default value is 45 degrees.
Azimuth public Direction of the light source in degrees; default value is 315 degrees (northwest).
Extent public Extent to be processed (in source layer units).
OutputLayer public Output hillshade as a grid layer; this layer must have the same extent, CS, and resolution as the source layer.
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.
ZFactor public Factor used to amplify (value > 1) or weaken (0 < value < 1) the hillshade effect; default value is 1.

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.

2019/05/10 23:14