-
Notifications
You must be signed in to change notification settings - Fork 271
Add VectorTilesRasterOverlay
#1365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 21 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
8da5554
First sketches of vector tiles overlay
azrogers 30bbd16
Basic tile selection that doesn't yet work...
azrogers 5f06efd
It works... I think
azrogers 4a94e9e
It's rasterizing something!
azrogers 997680e
Primitive restart support
azrogers c22f0b9
Fix mutex, add tick
azrogers 7be2262
Formatting
azrogers b9f956b
Merge branch 'main' of github.com:CesiumGS/cesium-native into vector-…
azrogers 99da4eb
Remove concurrentqueue
azrogers 9f152d1
Actual test dataset
azrogers 2d158c2
Improved (?) tick behavior
azrogers 537b608
Fix I forgot to commit
azrogers 224f7a5
Add additional constructor to VectorStyle
azrogers 0e0d06a
thenInWorkerThread crashes... not sure why
azrogers 693eecd
Algorithm for finding edge loops for triangulated polygon.
azrogers 94a0b9e
More efficient edge algorithm, still no match for this many polygons
azrogers 8e70bfb
Generate EXT_mesh_polygon
azrogers 2a1446f
Working with EXT_mesh_polygon
azrogers f7ac37d
Fix duplicate variable name
azrogers 03dad83
Use raw pointer instead of intrusive pointer for requestedTiles set
azrogers 11c4120
Reorganize into new library
azrogers 1eac54c
Real test data for polygons, ion vector tiles loading, format
azrogers 01f8d1d
Re-privatize TilesetContentManager, address some review comments
azrogers b7b59db
More review comments
azrogers 2a0e295
Remove unused tick behaviors
azrogers 6225227
Linting and documentation fixes for CI
azrogers b321e08
Merge from main
azrogers 5491182
Fix incorrectly removing CesiumVectorData from Cesium3DTilesSelection…
azrogers ff0b152
Fix CI
azrogers b37dba3
Fix CI again
azrogers 6f71bbf
Linting fixes again...
azrogers 4a4c6da
Add registerAllTileContentTypes
azrogers 23757c6
Use parent content if no renderable children
azrogers 6e0816b
Merge branch 'vector-tiles-overlay' of github.com:CesiumGS/cesium-nat…
azrogers 4f8b75d
Update from review
azrogers 7fd368a
Don't override constructor
azrogers 97d6f37
Merge branch 'main' into vector-tiles-overlay
azrogers File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
CesiumGltf/generated/include/CesiumGltf/ExtensionExtMeshPolygon.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| // This file was generated by generate-classes. | ||
| // DO NOT EDIT THIS FILE! | ||
| #pragma once | ||
|
|
||
| #include <CesiumGltf/Library.h> | ||
| #include <CesiumUtility/ExtensibleObject.h> | ||
|
|
||
| #include <cstdint> | ||
|
|
||
| namespace CesiumGltf { | ||
| /** | ||
| * @brief glTF extension adding an encoding of polygon primitive topology | ||
| */ | ||
| struct CESIUMGLTF_API ExtensionExtMeshPolygon final | ||
| : public CesiumUtility::ExtensibleObject { | ||
| /** | ||
| * @brief The original name of this type. | ||
| */ | ||
| static constexpr const char* TypeName = "ExtensionExtMeshPolygon"; | ||
| /** @brief The official name of the extension. This should be the same as its | ||
| * key in the `extensions` object. */ | ||
| static constexpr const char* ExtensionName = "EXT_mesh_polygon"; | ||
|
|
||
| /** | ||
| * @brief Integer number of polygons encoded in the mesh primitive. | ||
| */ | ||
| int32_t count = -1; | ||
|
|
||
| /** | ||
| * @brief Index of an accessor containing indices of the polygons' exterior | ||
| * and interior loops. The accessor MUST have SCALAR type and an unsigned | ||
| * integer component type. | ||
| */ | ||
| int32_t loopIndices = -1; | ||
|
|
||
| /** | ||
| * @brief Index of an accessor containing one integer offset per polygon in | ||
| * the primitive, indicating the first index of the first linear ring | ||
| * associated with that polygon. | ||
| */ | ||
| int32_t loopIndicesOffsets = -1; | ||
|
|
||
| /** | ||
| * @brief Index of an accessor containing one integer offset per polygon in | ||
| * the primitive, indicating the first index of the first triangle associated | ||
| * with that polygon. | ||
| */ | ||
| int32_t indicesOffsets = -1; | ||
|
|
||
| /** | ||
| * @brief Calculates the size in bytes of this object, including the contents | ||
| * of all collections, pointers, and strings. This will NOT include the size | ||
| * of any extensions attached to the object. Calling this method may be slow | ||
| * as it requires traversing the object's entire structure. | ||
| */ | ||
| int64_t getSizeBytes() const { | ||
| int64_t accum = 0; | ||
| accum += int64_t(sizeof(ExtensionExtMeshPolygon)); | ||
| accum += CesiumUtility::ExtensibleObject::getSizeBytes() - | ||
| int64_t(sizeof(CesiumUtility::ExtensibleObject)); | ||
|
|
||
| return accum; | ||
| } | ||
| }; | ||
| } // namespace CesiumGltf |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.