-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(SubsurfaceViewer): Record-based definition of layers that suppor…
…ts TS Objects implemented. (#1890) 1) typedArraySupport optional flag is added to SubsurfaceViewer API. If set to true records with layer definitions are used for layer creation bypassing JSONConverter. 2) PointsLayer, TriangleLayer API are updated to accept typed arrays as input data skipping extra copying. The corresponding stories are added. 3) MapLayer and Grid3DLayer already support typed array inputs. The stories updated. PolylinesLayer has an internal algo for making polylines closed when requested so its modification is postponed for a while. Known issue: in the story book "typed array stories" don't work if any property of layer is changed in Controls Tab. It happens because the story book deserializes input arrays from JSON represented in Controls loosing typeinfos. --------- Co-authored-by: leonid.polukhin <[email protected]>
- Loading branch information
1 parent
e103adc
commit 73df3da
Showing
8 changed files
with
355 additions
and
126 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
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
Oops, something went wrong.