Skip to content

Conversation

@floryst
Copy link
Contributor

@floryst floryst commented Aug 14, 2025

Supports:

  • react 18
  • hooks

Fixes:

  • resource allocation bugs

Breaking changes:

  • API overhaul
  • not all components/features from v1 are available in v2 (but are mostly trivial to add)

FYI @jadh4v @sankhesh

- Working PolyData + GeometryRepresentation pipeline
- Working Algorithm + GeometryRepresentation pipeline
This brings in the automatic JSX runtime for react 17+.
The externals key is wrong, and so a lot of external dependencies were
being brought into the build output (e.g. vtk.js, react/jsx-runtime,
etc.)

This fixes the geometry representation mapper.modified() hack, which was
needed when testing the Algorithm component in `usage` because there
were two different globalMTime variables: one in the macros.js in
dist/node_modules/@kitware/vtk.js, and another one in the
usage/node_modules/... dir.
This avoids an infinite useEffect/setState loop via the modified flag.
Leaving IDownstream as a function is confusing and inconsistent.
The deletion registry manages the lifetime and tracking of registered
objects.
These will be more useful when using a non-mounted canvas as the drawing
source.
floryst and others added 27 commits March 1, 2024 17:37
Add MIP rendering of PET data
Upgrade PT/CT overlay example to generalize detection and handling of PT-CT grid overlap
feat: add color + opacity funcs to slice + volume
fix(useColorAndOpacity): set as null
…ct-overlay-example

feat(example): PET MIP with window/level adjustment
fix(Picking): guard against unmounted state
@floryst floryst merged commit f472e9b into master Aug 20, 2025
1 check passed
@jourdain
Copy link
Collaborator

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants