-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #150 from ndsev/merged-features
Merged Point Features + Hover Highlight Styles
- Loading branch information
Showing
43 changed files
with
1,443 additions
and
601 deletions.
There are no files selected for viewing
This file contains 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 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,27 @@ | ||
name: build-test | ||
|
||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install build dependencies | ||
run: sudo apt-get install ninja-build | ||
|
||
- name: Compile | ||
run: | | ||
mkdir build-test && cd build-test | ||
cmake -GNinja -DCMAKE_BUILD_TYPE=Debug .. | ||
cmake --build . | ||
- name: Run Tests | ||
run: | | ||
cd build-test/test | ||
ctest --verbose --no-tests=error |
This file contains 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 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 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 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,47 @@ | ||
index c928fdf..cf6a63b 100644 | ||
--- a/extern/draco/src/draco/io/file_utils.h | ||
+++ b/extern/draco/src/draco/io/file_utils.h | ||
@@ -17,6 +17,7 @@ | ||
|
||
#include <string> | ||
#include <vector> | ||
+#include <cstdint> | ||
|
||
namespace draco { | ||
|
||
diff --git a/CesiumAsync/include/CesiumAsync/CacheItem.h b/CesiumAsync/include/CesiumAsync/CacheItem.h | ||
index 20d1ca80..bd47492b 100644 | ||
--- a/CesiumAsync/include/CesiumAsync/CacheItem.h | ||
+++ b/CesiumAsync/include/CesiumAsync/CacheItem.h | ||
@@ -9,6 +9,7 @@ | ||
#include <ctime> | ||
#include <map> | ||
#include <vector> | ||
+#include <cstdint> | ||
|
||
namespace CesiumAsync { | ||
|
||
diff --git a/CesiumAsync/include/CesiumAsync/IAssetResponse.h b/CesiumAsync/include/CesiumAsync/IAssetResponse.h | ||
index 10519057..0944b26b 100644 | ||
--- a/CesiumAsync/include/CesiumAsync/IAssetResponse.h | ||
+++ b/CesiumAsync/include/CesiumAsync/IAssetResponse.h | ||
@@ -8,6 +8,7 @@ | ||
#include <cstddef> | ||
#include <map> | ||
#include <string> | ||
+#include <cstdint> | ||
|
||
namespace CesiumAsync { | ||
|
||
diff --git a/CesiumIonClient/src/fillWithRandomBytes.h b/CesiumIonClient/src/fillWithRandomBytes.h | ||
index 55765c72..654d09df 100644 | ||
--- a/CesiumIonClient/src/fillWithRandomBytes.h | ||
+++ b/CesiumIonClient/src/fillWithRandomBytes.h | ||
@@ -1,6 +1,7 @@ | ||
#pragma once | ||
|
||
#include <gsl/span> | ||
+#include <cstdint> | ||
|
||
namespace CesiumIonClient { | ||
|
This file contains 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 |
---|---|---|
@@ -1,15 +1,65 @@ | ||
name: DefaultStyle | ||
version: 1.0 | ||
options: | ||
- label: Show Meshes/Polygons | ||
id: showMesh | ||
- label: Show Points | ||
id: showPoint | ||
- label: Show Lines | ||
id: showLine | ||
|
||
rules: | ||
# Normal styles | ||
- geometry: ["mesh", "polygon"] | ||
filter: showMesh | ||
color: teal | ||
opacity: 0.8 | ||
- geometry: ["point", "line"] | ||
offset: [0, 0, -0.4] | ||
- geometry: ["line"] | ||
filter: showLine | ||
color: moccasin | ||
opacity: 1.0 | ||
width: 1.0 | ||
- geometry: ["point", "line", "mesh", "polygon"] | ||
width: 5.0 | ||
offset: [0, 0, -0.2] | ||
- geometry: ["point"] | ||
point-merge-grid-cell: [0.000000084, 0.000000084, 0.01] | ||
filter: showPoint | ||
color-expression: "$mergeCount > 1 and 'brown' or 'moccasin'" | ||
opacity: 1.0 | ||
width: 15.0 | ||
|
||
# Hover/Selection styles | ||
- geometry: ["mesh", "polygon"] | ||
color: orange | ||
opacity: 1.0 | ||
mode: hover | ||
offset: [0, 0, -0.3] | ||
- geometry: ["line"] | ||
color: orange | ||
opacity: 1.0 | ||
width: 10.0 | ||
mode: hover | ||
offset: [0, 0, -0.1] | ||
- geometry: ["point"] | ||
color: orange | ||
opacity: 1.0 | ||
width: 20.0 | ||
mode: hover | ||
offset: [0, 0, 0.1] | ||
- geometry: ["mesh", "polygon"] | ||
color: red | ||
opacity: 1.0 | ||
mode: selection | ||
offset: [0, 0, -0.3] | ||
- geometry: ["line"] | ||
color: red | ||
opacity: 1.0 | ||
width: 10.0 | ||
mode: selection | ||
offset: [0, 0, -0.1] | ||
- geometry: ["point"] | ||
color: red | ||
opacity: 1.0 | ||
width: 4.0 | ||
mode: highlight | ||
width: 20.0 | ||
mode: selection | ||
offset: [0, 0, 0.1] |
This file contains 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
Oops, something went wrong.