Commit Graph

4781 Commits

Author SHA1 Message Date
Marco Hutter afe99fcc68 Make sure that unloadContent is only executed once.
The main change is that unloadContent is no longer called
from the Tileset destructor (because it is already called
from the Tile destructor), and that it returns immediately
if the tile already is unloaded.

Also added noexcept for functions that are called from
the Tileset or Tile destructor.
2020-11-17 22:10:05 +01:00
Kevin Ring 1fe8bded5b
Merge pull request #48 from CesiumGS/basic-doxygen-fixes-part-4
Documentation for TileMapServiceRasterOverlayOptions
2020-11-17 12:54:41 +11:00
Kevin Ring 6badfe6a1c
Merge pull request #50 from CesiumGS/wait-for-rasters
Wait for raster loading before destroying tileset.
2020-11-17 11:30:49 +11:00
Kevin Ring ea7ac2d6c4 Wait for raster loading before destroying tileset. 2020-11-17 11:17:02 +11:00
Marco Hutter 7444fa0f50 Documentation for TileMapServiceRasterOverlayOptions
Essentially taken from TileMapServiceImageryProvider
of CesiumJS
2020-11-16 16:41:48 +01:00
Kevin Ring 81e46271dc
Merge pull request #46 from CesiumGS/avoid-empty-queries
Do not append empty queries to URLs
2020-11-16 11:01:12 +11:00
Kevin Ring 9e02d08c2f
Merge pull request #42 from CesiumGS/basic-doxygen-fixes-part-3
Basic doxygen fixes part 3
2020-11-16 09:27:00 +11:00
Marco Hutter b6746cc460 Do not append empty queries to URLs 2020-11-14 19:06:53 +01:00
Marco Hutter 83f62964ef Repeated adding documentation from previous commits.
Had to resolve some merge conflicts by just taking the
updated files and re-inserting the docs...
2020-11-13 17:09:06 +01:00
Marco Hutter f70daa5b03 Merge remote-tracking branch 'origin/master' into basic-doxygen-fixes-part-3
# Conflicts:
#	Cesium3DTiles/include/Cesium3DTiles/RasterMappedTo3DTile.h
#	Cesium3DTiles/include/Cesium3DTiles/RasterOverlay.h
#	Cesium3DTiles/include/Cesium3DTiles/RasterOverlayCollection.h
#	Cesium3DTiles/include/Cesium3DTiles/RasterOverlayTile.h
#	Cesium3DTiles/include/Cesium3DTiles/RasterOverlayTileProvider.h
#	Cesium3DTiles/include/Cesium3DTiles/Tile.h
2020-11-13 16:33:13 +01:00
Kevin Ring c8dafc5119
Merge pull request #43 from CesiumGS/add-remove-overlays
Add support for adding and removing raster overlays on-the-fly
2020-11-12 22:13:32 +11:00
Kevin Ring f914418aab Fix another warning. 2020-11-12 18:33:03 +11:00
Kevin Ring d7621c2ad8 Fix warning. 2020-11-12 18:22:16 +11:00
Kevin Ring 6b7023b1b5 Support for adding and removing overlays. 2020-11-12 17:37:57 +11:00
Marco Hutter e1e8782f00 Added last documentation. Minor fixes. 2020-11-11 16:25:35 +01:00
Marco Hutter e3f4c8419f Documentation for TileContext. Minor fixes. 2020-11-11 15:43:08 +01:00
Marco Hutter 0c6e5628e5 Documentation for Gltf and Raster parts 2020-11-10 19:14:05 +01:00
Kevin Ring 1375575813 WIP raster overlay improvements. 2020-11-11 00:34:20 +11:00
Kevin Ring eb96865d8a Remove explicit creation of overlay tile providers. 2020-11-10 17:04:19 +11:00
Kevin Ring 14ce79f387 More firmly attach RasterOverlayCollection to a Tileset. 2020-11-10 16:51:38 +11:00
Kevin Ring 4e0411bc38
Merge pull request #41 from CesiumGS/tile-under-camera
Select the tile(s) directly underneath the camera even if they're not in the view frustum
2020-11-10 10:22:30 +11:00
Kevin Ring a251a22660 Show the tile(s) directly underneath the camera. 2020-11-10 09:40:46 +11:00
Kevin Ring 468f7056f9
Merge pull request #39 from CesiumGS/ion-token-refresh
Refresh expired Cesium ion tokens.
2020-11-09 15:46:07 +11:00
Kevin Ring 0e2e60b8b3 Avoid shadowed locals. 2020-11-09 15:38:53 +11:00
Kevin Ring 88d5e8acdd Refresh expired Cesium ion tokens. 2020-11-09 15:30:26 +11:00
Kevin Ring 0b54538ad8
Merge pull request #34 from CesiumGS/minor-code-fixes
Minor code fixes
2020-11-05 17:13:20 +11:00
Kevin Ring 3a7832201e
Merge pull request #38 from CesiumGS/degenerate-region
Use BoundingBox for distance to degenerate BoundingRegion.
2020-11-05 17:12:22 +11:00
Kevin Ring a6ec90270b Use BoundingBox for distance to degenerate BoundingRegion. 2020-11-05 16:46:00 +11:00
Marco Hutter a98cac518e Updates from review 2020-11-04 14:40:08 +01:00
Kevin Ring 5cf2174448
Merge pull request #35 from CesiumGS/upsample-bounding-volumes
Compute tighter bounding volume for upsampled tiles
2020-11-04 22:15:56 +11:00
Kevin Ring b503702685 Don't let dodgy longitude at the poles affect bounding box. 2020-11-04 21:34:49 +11:00
Kevin Ring 7260ddca4d Merge remote-tracking branch 'origin/master' into upsample-bounding-volumes 2020-11-04 15:14:43 +11:00
Kevin Ring ad28cd3ef2 Merge remote-tracking branch 'origin/master' into minor-code-fixes 2020-11-04 13:11:45 +11:00
Kevin Ring 20af9ee5cc Compute tighter bounding volumes for upsampled tiles. 2020-11-04 13:11:01 +11:00
Kevin Ring 006cb69d3a
Merge pull request #29 from CesiumGS/basic-doxygen-fixes-part-2
Basic doxygen fixes part 2
2020-11-04 12:39:27 +11:00
Marco Hutter 377769c3ce Corrected comment for loadContent 2020-11-04 00:13:51 +01:00
Marco Hutter 808b0cfd6a Minor code fixes.
Details summarized in PR.
2020-11-03 23:13:00 +01:00
Marco Hutter ecab20fe03 Documentation fixes from review comments 2020-11-03 18:31:27 +01:00
Marco Hutter 40dc4bd883
Apply basic suggestions from code review
This contains the changes that could be applied directly (typos and 
minor wording changes). Further suggestions will be addressed 
with a separate commit.

Co-authored-by: Kevin Ring <kevin@kotachrome.com>
2020-11-03 15:17:25 +01:00
Marco Hutter 13167efaed Merge remote-tracking branch 'origin/master' into basic-doxygen-fixes-part-2
# Conflicts:
#	Cesium3DTiles/include/Cesium3DTiles/ViewUpdateResult.h
2020-11-02 20:16:48 +01:00
Kevin Ring 3be2117185
Merge pull request #33 from CesiumGS/tile-private-field
Eliminate a dodgy public field in Tile.
2020-11-02 23:14:18 +11:00
Kevin Ring 3ee83b6451 Fix Tile member initialization order. 2020-11-02 23:03:49 +11:00
Kevin Ring 0a00cabba2 Eliminate a dodgy public field in Tile. 2020-11-02 22:43:16 +11:00
Kevin Ring 4e5eda7b30
Merge pull request #32 from CesiumGS/stats
Selection stats and improvements to culling and distance estimation
2020-11-02 22:09:57 +11:00
Kevin Ring af21783947 Don't put fogDensity in ViewUpdateResult. 2020-11-02 21:57:04 +11:00
Kevin Ring e2117fd158 Fog-based culling. 2020-11-02 16:25:43 +11:00
Marco Hutter 8ee683a39e Documentation fixes, pedantic mode. 2020-11-01 16:46:54 +01:00
Kevin Ring 327255fd1b Use the bounding box distance if farther than the region distance. 2020-11-01 17:27:14 +11:00
Marco Hutter 599f2be5fb Documentation, mainly for Tile
Many functions are not supposed to be called by clients.
2020-10-31 19:15:43 +01:00
Marco Hutter bb26cbf75a Added missing parameter documentation 2020-10-31 17:44:16 +01:00