SceneOptions
Description
- Derived from
-
Disposable abstract
IValidatable
IHeightmapProvider
Configuration options for creating a Scene.
Public / Methods
CacheId
Declares a cache ID.
When creating scene entities for terrain layers later, a declared cache ID must be given.
CreateScene
Creates a Scene from the current options.
The following validations are performed on the scene options:
-
TerrainHeightmap must be set to a non-null value.
The following geo-referencing information must be available:
-
The IGeometry object obtained from the specification of TerrainGeometry must return a non-null Geocentric object via IGeometry.ToGeocentric.
- IOException
-
If an I/O error has occurred.
- ValidatingException
-
If the scene options are invalid.
- GeorefException
-
If the provided geo-referencing information is invalid or incomplete (see remarks).
UseDatasetCacheIfNotLocal
A PredicateDelegate that returns true
for non-local files (see IFile.IsLocal).
Public / Attributes
DatasetCache
Returns the dataset file cache, creating it if necessary.
- IOException
-
If an I/O error has occurred.
DatasetCacheFilter
The filter to use for deciding whether to cache a dataset or not.
Defaults to UseDatasetCacheIfNotLocal.
- See also
DatasetCacheMaximumSize
Maximum size of the dataset file cache.
The default value is 1024
megabytes.
- See also
ImageryCache
Returns the imagery tile cache, creating it if necessary.
- IOException
-
If an I/O error has occurred.
ImageryCacheOptions
Options to use for creating the imagery tile cache.
Defaults to an instance of PyramidFileCacheOptions with default values.
- See also
TerrainElevationMode
Depicts how to interpret the elevation values in TerrainHeightmap.
Defaults to false
.
- See also
TerrainGeoid
The gravity model of the terrain.
Using a gravity model allows to distinguish between vertical coordinates of types VerticalType.Ellipsoid and VerticalType.Gravity.
Defaults to null
.
- See also
TerrainGeometry
The geometry to use for the terrain.
If null
, a IGeometry object is created with Geometry.ForGeoref, passing TerrainHeightmap as argument.
Defaults to null
.
TextureCacheOptions
Options to use for creating the texture tile cache.
Defaults to an instance of PyramidFileCacheOptions with default values.
- See also