User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_hillshade

TGIS_Hillshade class

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

Hillshade generator for digital terrain models.

Available also on: Delphi | Java | ActiveX.

Syntax

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

Inheritance

→ TGIS_BaseObjectDisposable

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_Hillshade() 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.

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 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.

2020/08/19 01:14

Page Tools