feat: upgrade to vtk.js 34.x #2398
Draft
+454
−234
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.
This pull request primarily updates the dependency on
@kitware/vtk.js
to version34.13.2
across multiple packages and refines rendering configuration handling in the core rendering engine. The most significant impact is improved compatibility with the latest VTK.js and more consistent usage of thepreferSizeOverAccuracy
rendering option.Dependency Updates
@kitware/vtk.js
dependency to version34.13.2
inpackages/core/package.json
,packages/labelmap-interpolation/package.json
, andpackages/polymorphic-segmentation/package.json
for improved compatibility and access to new features. [1] [2] [3]Rendering Configuration Improvements
getConfiguration().rendering.preferSizeOverAccuracy
increateVolumeActor.ts
to set the rendering accuracy for volume actors, ensuring consistent behavior. [1] [2]preferSizeOverAccuracy
increateVolumeMapper.ts
andStackViewport.ts
, centralizing configuration logic and reducing redundant code. [1] [2]Internal API Consistency
vtkStreamingOpenGLTexture.js
API to accept parameters as an object instead of positional arguments, improving readability and maintainability.Minor Code Consistency
version.ts
for consistency.