ArcGIS Runtime SDK for iOS: AGSHillshadeRenderer.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSHillshadeRenderer.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSRasterRenderer.h>
29 
30 
31 
36 typedef NS_ENUM(NSInteger, AGSSlopeType) {
41 };
42 
52 
53 #pragma mark -
54 #pragma mark initializers
55 
56 
57 
69 -(instancetype)initWithAltitude:(double)altitude
70  azimuth:(double)azimuth
71  zFactor:(double)zFactor
72  slopeType:(AGSSlopeType)slopeType
73  pixelSizeFactor:(double)pixelSizeFactor
74  pixelSizePower:(double)pixelSizePower
75  outputBitDepth:(NSInteger)outputBitDepth;
76 
88 +(instancetype)hillshadeRendererWithAltitude:(double)altitude
89  azimuth:(double)azimuth
90  zFactor:(double)zFactor
91  slopeType:(AGSSlopeType)slopeType
92  pixelSizeFactor:(double)pixelSizeFactor
93  pixelSizePower:(double)pixelSizePower
94  outputBitDepth:(NSInteger)outputBitDepth;
95 
96 #pragma mark -
97 #pragma mark properties
98 
105 @property (nonatomic, assign, readonly) double altitude;
106 
113 @property (nonatomic, assign, readonly) double azimuth;
114 
118 @property (nonatomic, assign, readonly) NSInteger outputBitDepth;
119 
125 @property (nonatomic, assign, readonly) double pixelSizeFactor;
126 
133 @property (nonatomic, assign, readonly) double pixelSizePower;
134 
138 @property (nonatomic, assign, readonly) AGSSlopeType slopeType;
139 
150 @property (nonatomic, assign, readonly) double zFactor;
151 
152 @end
153 
154 
AGSSlopeType
Definition: AGSHillshadeRenderer.h:36
@ AGSSlopeTypeScaled
Definition: AGSHillshadeRenderer.h:40
@ AGSSlopeTypePercentRise
Definition: AGSHillshadeRenderer.h:39
@ AGSSlopeTypeNone
Definition: AGSHillshadeRenderer.h:37
@ AGSSlopeTypeDegree
Definition: AGSHillshadeRenderer.h:38
A hillshade raster renderer.
Definition: AGSHillshadeRenderer.h:52
double pixelSizePower
Definition: AGSHillshadeRenderer.h:133
NSInteger outputBitDepth
Definition: AGSHillshadeRenderer.h:118
double zFactor
Definition: AGSHillshadeRenderer.h:150
double altitude
Definition: AGSHillshadeRenderer.h:105
AGSSlopeType slopeType
Definition: AGSHillshadeRenderer.h:138
double azimuth
Definition: AGSHillshadeRenderer.h:113
double pixelSizeFactor
Definition: AGSHillshadeRenderer.h:125
A base class for raster renderers.
Definition: AGSRasterRenderer.h:37