ArcGIS Runtime SDK for iOS
100.15
|
A blend renderer for elevation raster data.
An instance of this class represents a blend renderer that can be used to visualize elevation raster data. The renderer allows a hillshade to be computed and blended with the original raster. This provides a look similar to the original raster, but with some terrain shading, giving it a rich, textured look.
Properties | |
double | altitude |
double | azimuth |
AGSColorRamp * | colorRamp |
AGSRaster * | elevationRaster |
NSArray< NSNumber * > * | gammas |
NSArray< NSNumber * > * | noDataValues |
NSInteger | outputBitDepth |
NSArray< NSNumber * > * | outputMaxValues |
NSArray< NSNumber * > * | outputMinValues |
double | pixelSizeFactor |
double | pixelSizePower |
AGSSlopeType | slopeType |
NSArray< NSNumber * > * | sourceMaxValues |
NSArray< NSNumber * > * | sourceMinValues |
double | zFactor |
+ (instancetype) blendRendererWithElevationRaster: | (AGSRaster *) | elevationRaster | |
outputMinValues: | (NSArray< NSNumber * > *) | outputMinValues | |
outputMaxValues: | (NSArray< NSNumber * > *) | outputMaxValues | |
sourceMinValues: | (NSArray< NSNumber * > *) | sourceMinValues | |
sourceMaxValues: | (NSArray< NSNumber * > *) | sourceMaxValues | |
noDataValues: | (NSArray< NSNumber * > *) | noDataValues | |
gammas: | (NSArray< NSNumber * > *) | gammas | |
colorRamp: | (nullable AGSColorRamp *) | colorRamp | |
altitude: | (double) | altitude | |
azimuth: | (double) | azimuth | |
zFactor: | (double) | zFactor | |
slopeType: | (AGSSlopeType) | slopeType | |
pixelSizeFactor: | (double) | pixelSizeFactor | |
pixelSizePower: | (double) | pixelSizePower | |
outputBitDepth: | (NSInteger) | outputBitDepth | |
Initialize a blend raster renderer with the provided parameters.
elevationRaster | containing the elevation data. |
outputMinValues | Min output stretch values, one for each band in the raster. |
outputMaxValues | Max output stretch values, one for each band in the raster. |
sourceMinValues | Min input stretch values, one for each band in the raster. |
sourceMaxValues | Max input stretch values, one for each band in the raster. |
noDataValues | NoData values, one for each band in the raster. |
gammas | Gamma adjustment for each band in the raster. |
colorRamp | The spectrum of colors to use. |
altitude | Sun's angle of elevation above the horizon ranging from 0 to 90 degrees. |
azimuth | Sun's relative position along the horizon ranging from 0 to 360 degrees. |
zFactor | Scaling factor used to convert the elevation values to horizontal coordinate units. For default, use 1. |
slopeType | specifying how inclination of the slope is calculated. |
pixelSizeFactor | to account for altitude changes (scale) as the viewer zooms in and out. For default, use 1. |
pixelSizePower | to account for altitude changes (scale) as the viewer zooms in and out. For default, use 1. |
outputBitDepth | of a raster cell. For default, use 8. |
+ (instancetype) hillshadeRendererWithAltitude: | (double) | altitude | |
azimuth: | (double) | azimuth | |
zFactor: | (double) | zFactor | |
slopeType: | (AGSSlopeType) | slopeType | |
pixelSizeFactor: | (double) | pixelSizeFactor | |
pixelSizePower: | (double) | pixelSizePower | |
outputBitDepth: | (NSInteger) | outputBitDepth | |
Initialize a hillshade raster renderer with the provided parameters
altitude | Sun's angle of elevation above the horizon ranging from 0 to 90 degrees |
azimuth | Sun's relative position along the horizon ranging from 0 to 360 degrees |
zFactor | Scaling factor used to convert the elevation values to horizontal coordinate units. For default, use 1. |
slopeType | specifying how inclination of the slope is calculated |
pixelSizeFactor | to account for altitude changes (scale) as the viewer zooms in and out. For default, use 1. |
pixelSizePower | to account for altitude changes (scale) as the viewer zooms in and out. For default, use 1. |
outputBitDepth | of a raster cell. For default, use 8. |
- (instancetype) init |
- (instancetype) initWithAltitude: | (double) | altitude | |
azimuth: | (double) | azimuth | |
zFactor: | (double) | zFactor | |
slopeType: | (AGSSlopeType) | slopeType | |
pixelSizeFactor: | (double) | pixelSizeFactor | |
pixelSizePower: | (double) | pixelSizePower | |
outputBitDepth: | (NSInteger) | outputBitDepth | |
Initialize a hillshade raster renderer with the provided parameters
altitude | Sun's angle of elevation above the horizon ranging from 0 to 90 degrees |
azimuth | Sun's relative position along the horizon ranging from 0 to 360 degrees |
zFactor | Scaling factor used to convert the elevation values to horizontal coordinate units. For default, use 1. |
slopeType | specifying how inclination of the slope is calculated |
pixelSizeFactor | to account for altitude changes (scale) as the viewer zooms in and out. For default, use 1. |
pixelSizePower | to account for altitude changes (scale) as the viewer zooms in and out. For default, use 1. |
outputBitDepth | of a raster cell. For default, use 8. |
- (instancetype) initWithElevationRaster: | (AGSRaster *) | elevationRaster | |
outputMinValues: | (NSArray< NSNumber * > *) | outputMinValues | |
outputMaxValues: | (NSArray< NSNumber * > *) | outputMaxValues | |
sourceMinValues: | (NSArray< NSNumber * > *) | sourceMinValues | |
sourceMaxValues: | (NSArray< NSNumber * > *) | sourceMaxValues | |
noDataValues: | (NSArray< NSNumber * > *) | noDataValues | |
gammas: | (NSArray< NSNumber * > *) | gammas | |
colorRamp: | (nullable AGSColorRamp *) | colorRamp | |
altitude: | (double) | altitude | |
azimuth: | (double) | azimuth | |
zFactor: | (double) | zFactor | |
slopeType: | (AGSSlopeType) | slopeType | |
pixelSizeFactor: | (double) | pixelSizeFactor | |
pixelSizePower: | (double) | pixelSizePower | |
outputBitDepth: | (NSInteger) | outputBitDepth | |
Initialize a blend raster renderer with the provided parameters.
elevationRaster | containing the elevation data. |
outputMinValues | Min output stretch values, one for each band in the raster. |
outputMaxValues | Max output stretch values, one for each band in the raster. |
sourceMinValues | Min input stretch values, one for each band in the raster. |
sourceMaxValues | Max input stretch values, one for each band in the raster. |
noDataValues | NoData values, one for each band in the raster. |
gammas | Gamma adjustment for each band in the raster. |
colorRamp | The spectrum of colors to use. |
altitude | Sun's angle of elevation above the horizon ranging from 0 to 90 degrees. |
azimuth | Sun's relative position along the horizon ranging from 0 to 360 degrees. |
zFactor | Scaling factor used to convert the elevation values to horizontal coordinate units. For default, use 1. |
slopeType | specifying how inclination of the slope is calculated. |
pixelSizeFactor | to account for altitude changes (scale) as the viewer zooms in and out. For default, use 1. |
pixelSizePower | to account for altitude changes (scale) as the viewer zooms in and out. For default, use 1. |
outputBitDepth | of a raster cell. For default, use 8. |
+ (instancetype) rasterRenderer |
|
readnonatomicassigninherited |
Altitude is the sun's angle of elevation above the horizon and ranges from 0 to 90 degrees. A value of 0 degrees indicates that the sun is on the horizon, that is, on the same horizontal plane as the frame of reference. A value of 90 degrees indicates that the sun is directly overhead.
Together the altitude
and azimuth
together indicate the sun's relative position.
|
readnonatomicassigninherited |
Azimuth is the sun's relative position along the horizon (in degrees). This position is indicated by the angle of the sun measured clockwise from due north. An azimuth of 0 degrees indicates north, east is 90 degrees, south is 180 degrees, and west is 270 degrees.
Together the altitude
and azimuth
together indicate the sun's relative position.
|
readnonatomicstrong |
The color ramp for creating the blend renderer.
|
readnonatomicstrong |
The elevation data for the renderer.
|
readnonatomiccopy |
Gamma correction for each band in the raster.
|
readnonatomiccopy |
NoData values, one for each band in the raster.
|
readnonatomicassigninherited |
The bit depth (pixel depth) of a raster cell. Determines the range of values that a particular raster can store, which is based on the formula 2n (where n is the bit depth). For example, an 8-bit raster can have 256 unique values that range from 0 to 255.
|
readnonatomiccopy |
Maximum output values, one for each band in the raster.
|
readnonatomiccopy |
Minimum output values, one for each band in the raster.
|
readnonatomicassigninherited |
pixelSizeFactor
and pixelSizePower
values account for altitude changes (scale) as the viewer zooms in and out. This is recommended when using worldwide datasets.
Only applicable is slopeType
is AGSSlopeTypeScaled
|
readnonatomicassigninherited |
pixelSizePower
and pixelSizeFactor
values account for altitude changes (scale) as the viewer zooms in and out. This is recommended when using worldwide datasets.
Only applicable is slopeType
is AGSSlopeTypeScaled
|
readnonatomicassigninherited |
The manner in which inclination of the slope is calculated.
|
readnonatomiccopy |
Maximum input values, one for each band in the raster.
|
readnonatomiccopy |
Minimum input values, one for each band in the raster.
|
readnonatomicassigninherited |
A scaling factor used to convert the elevation values for two purposes:
If the x,y units and z units are in the same units of measure the z-factor is 1, unless a vertical exaggeration needs to be applied. If the x,y units and z units are in different units of measure the z-factor must be set to the appropriate factor, or the results will be incorrect. For example, if your z units are feet and your x,y units are meters, you would use a z-factor of 0.3048 to convert your z units from feet to meters (1 foot = 0.3048 meter).