Repository navigation
fix(colormap): default to the implicit colorbar for geode_implicit_attribute on implicit models #625
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
fix(colormap): default to the implicit colorbar for geode_implicit_attribute on implicit models #625
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
b80a10a
fix(colormap): resolve implicit default colormap for geode_implicit_a…
SpliiT 5385efa
fix(AttributeSelector): use the attribute default colormap when none …
SpliiT eb2ec01
fix(physical_properties): use the attribute default colormap when col…
SpliiT a40db46
test(colormap): cover implicit default colormap across helper, Attrib…
SpliiT 933db72
fix(colormap): add isImplicitModelType helper
SpliiT d50f316
fix(data_style): activate geode_implicit_attribute with implicit colo…
SpliiT 66b44b5
fix(import): apply implicit model default attribute coloring on import
SpliiT 1258dc5
test(data_style): verify automatic implicit attribute activation on i…
SpliiT bb90cef
fix(colormap): rename the colormap resolver composables
SpliiT 948bc13
fix(implicit_model): move implicit model type rules out of the colorm…
SpliiT f9e4137
fix(import): apply the implicit default style directly on import
SpliiT 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| import type { AttributeName } from "@geode/opengeodeweb-viewer/schema_types"; | ||
| import type { GeodeObjectType } from "@geode/opengeodeweb-microservice/data_types"; | ||
|
|
||
| // The vertex attribute holding the implicit function of an implicit model | ||
| const IMPLICIT_ATTRIBUTE_NAME: AttributeName = "geode_implicit_attribute"; | ||
| const IMPLICIT_MODEL_TYPES: ReadonlySet<GeodeObjectType> = new Set([ | ||
| "ImplicitStructuralModel", | ||
| "ImplicitCrossSection", | ||
| ]); | ||
|
|
||
| function isImplicitModelType(geodeObjectType: GeodeObjectType | undefined): boolean { | ||
| return geodeObjectType !== undefined && IMPLICIT_MODEL_TYPES.has(geodeObjectType); | ||
| } | ||
|
|
||
| export { IMPLICIT_ATTRIBUTE_NAME, isImplicitModelType }; |
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
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.