A loader that will generate a tileset by tesselating the surface of an ellipsoid, producing a simple globe tileset without any terrain features.
More...
#include <Cesium3DTilesSelection/EllipsoidTilesetLoader.h>
A loader that will generate a tileset by tesselating the surface of an ellipsoid, producing a simple globe tileset without any terrain features.
Definition at line 13 of file EllipsoidTilesetLoader.h.
◆ EllipsoidTilesetLoader()
Constructs a new instance.
- Parameters
-
◆ createTileChildren()
Create the tile's children.
Note that: when receiving RetryLater status, client needs to load this tile's content first or its parent's content. The reason is that some tileset formats store the tile's children along with its content or store a whole subtree for every n-th level tile (e.g Quantized Mesh format). So unless the tile's content or the root tile of the subtree the tile is in is loaded, the loader won't know how to create the tile's children.
- Parameters
-
- Returns
- The
TileChildrenResult
that stores the tile's children
Implements Cesium3DTilesSelection::TilesetContentLoader.
◆ createTileset()
Creates a new tileset with this loader.
- Parameters
-
externals | The external interfaces to use. |
options | Additional options for the tileset. |
◆ getHeightSampler()
Gets an interface that can be used to efficiently query heights from this tileset.
Some loaders may be able to query heights very efficiently by using a web service or by using an analytical model, e.g., when the "terrain" is a simple ellipsoid.
For loaders that have no particular way to query heights, this method will return nullptr
, signaling that heights should be computed by downloading and sampling individual tiles.
- Returns
- The interface that can be used to efficiently query heights from this loader, or
nullptr
if this loader has no particular way to do that. The returned instance must have a lifetime that is at least as long as the loader itself.
Reimplemented from Cesium3DTilesSelection::TilesetContentLoader.
◆ loadTileContent()
◆ sampleHeights()
The documentation for this class was generated from the following file:
- /home/runner/work/cesium-native/cesium-native/Cesium3DTilesSelection/include/Cesium3DTilesSelection/EllipsoidTilesetLoader.h