EarthData

Description

sealed class Tinman.Demo.Tutorials.EarthData

Derived from

Disposable abstract

Full source code is included in the Tinman 3D SDK download.

This helper class wraps the default Earth datasets.

Public / Constructors

Load

2 overloads


[OwnerReturn]
public static method Load1 → (3)

tutorial in : Tutorial

[not-null]
The tutorial for which to load.

flags opt : EarthDataFlags = EarthDataFlags.All

The flags to use.

provider opt : IHeightmapProvider = null

Optional provider to use for loading heightmap datasets, instead of Tutorial.LoadHeightmap.

returns → EarthData

The data for the Earth.

This factory loads the default Earth datasets and returns the combined IHeightmap object.

IOException

If an I/O error has occurred.


[BeginEnd] [OwnerReturn]
public static method Load2 → (2)

loader in : Loader

[not-null]
The loader to use, which must have an active Loader.Begin and Loader.End cycle for loading IHeightmap objects.

flags in : EarthDataFlags

The flags to use.

returns → EarthData

The data for the Earth.

This factory loads the default Earth datasets and returns the combined IHeightmap object.

IOException

If an I/O error has occurred.

Public / Methods

Build​Reflectivity​And​Gloss


[OwnerReturn]
public method BuildReflectivityAndGloss → ()

returns → IPixelPyramid

The built pixel pyramid or null if the required data is unavailable.

Builds the pixel pyramid for reflectivity and gloss.

Build​Surface​Albedo


[OwnerReturn]
public method BuildSurfaceAlbedo → ()

returns → IPixelPyramid

The built pixel pyramid or null if the required data is unavailable.

Builds the pixel pyramid for surface albedo.

Public / Attributes

All​Elevation


public attribute AllElevation → (get)

value : IHeightmap

The heightmap or null if not built.

The merged dataset with elevation values relative to Ellipsoid.WGS_84 and a default texture layer based on ColorRamp.Earth.

These datasets are merged into this one:

All​Texture


public attribute AllTexture → (get)

value : IHeightmap

The heightmap or null if not built.

The merged dataset with texture data for the surface albedo.

These datasets are merged into this one:

Aster3


public attribute Aster3 → (get)

value : IHeightmap

The heightmap or null if not built.

This dataset is loaded from this path:
Data/Earth/aster_gdem_3.hgt

Bluemarble2


public attribute Bluemarble2 → (get)

value : IHeightmap

The heightmap or null if not built.

This dataset is loaded from this path:
Data/Earth/bluemarble2.hgt

Egm2008


public attribute Egm2008 → (get)

value : IHeightmap

The heightmap or null if not built.

This dataset is loaded from this path:
Data/Earth/egm2008.hgt

Elevation1Dem


public attribute Elevation1Dem → (get)

value : IHeightmap

The heightmap or null if not built.

This dataset is loaded from this path:
Data/Earth/elevation1.dem.hgt

Elevation1Img


public attribute Elevation1Img → (get)

value : IHeightmap

The heightmap or null if not built.

This dataset is loaded from this path:
Data/Earth/elevation1.img.hgt

Gebco


public attribute Gebco → (get)

value : IHeightmap

The heightmap or null if not built.

This dataset is loaded from this path:
Data/Earth/gebco.hgt

Landsat7


public attribute Landsat7 → (get)

value : IHeightmap

The heightmap or null if not built.

This dataset is loaded from this path:
Data/Earth/landsat.hgt

Ned13


public attribute Ned13 → (get)

value : IHeightmap

The heightmap or null if not built.

This dataset is loaded from this path:
Data/Earth/ned13.hgt

Ned19


public attribute Ned19 → (get)

value : IHeightmap

The heightmap or null if not built.

This dataset is loaded from this path:
Data/Earth/ned19.hgt

Shapes​Elevation


public attribute ShapesElevation → (get)

value : IHeightmapShape

The heightmap or null if not built.

The custom heightmap shapes, relative to the geoid.

Shapes​Texture


public attribute ShapesTexture → (get)

value : IPixelPyramidShape

The pixel pyramid or null if not built.

The custom texture shapes.

Swiss​Alti3D


public attribute SwissAlti3D → (get)

value : IHeightmap

The heightmap or null if not built.

This dataset is loaded from this path:
Data/Earth/swissalti_3d.hgt

Water


public attribute Water → (get)

value : IHeightmap

The heightmap or null if not built.

This dataset is loaded from this path:
Data/Earth/aster_wbd_1.hgt