Skip to content

Latest commit

 

History

History
1345 lines (749 loc) · 40.9 KB

File metadata and controls

1345 lines (749 loc) · 40.9 KB

CHANGELOG

v2.11.8 (2026-04-24)

Bug Fixes

  • vtk9.7: Replace GetSize() call by GetNumberOfValues() (eed8a5a)

fix #111

v2.11.7 (2026-04-13)

Bug Fixes

  • static_viewer: Include in repo to skip auto fetch on vtk.js (9302c6b)

v2.11.6 (2026-03-25)

Bug Fixes

  • array: Skip hash and eq usage on array (12e2d35)

v2.11.5 (2026-03-25)

Bug Fixes

  • static_viewer: Update static viewer from vtk.js (3bb5f16)

v2.11.4 (2026-03-25)

Bug Fixes

  • array: Don't rely on hashable arrays (e740a95)

v2.11.3 (2026-03-15)

Bug Fixes

  • tool: Vtksz2html use new dom container (4b7fe32)

v2.11.2 (2026-03-15)

Bug Fixes

  • static_viewer: Fetch latest static viewer (d4d8d18)

v2.11.1 (2026-02-05)

Bug Fixes

  • vtkLocalView: Fix push_camera method (1884ced)

Update how camera is get in vtkLocalView with a ParaView RenderView

v2.11.0 (2026-02-04)

Continuous Integration

  • Update workflow for osmesa and py3.12 (b18b4f6)

Features

  • Add served directory versioning (c9463ef)

v2.10.3 (2026-01-28)

Bug Fixes

  • actor: Prevent serialization of actors without a mapper (b116bc9)

Fix bug where oglmapper wass undefined in traverseOpaquePass for an actor whose visibility got toggled twice

v2.10.2 (2026-01-08)

Bug Fixes

  • vue-vtk-js: Bump vue-vtk-js to 3.3.4 (62e9712)

Continuous Integration

  • Update baseline for test_rendering_lut and test_big_int (b73e575)

v2.10.1 (2025-12-15)

Bug Fixes

  • camera: Update vue-vtk-js (582cb80)

v2.10.0 (2025-10-02)

Bug Fixes

  • vue-vtk-js: Bump vue-vtk-js to 3.3.1 (1f99fd5)

Continuous Integration

  • Use playwright in tests instead of selenium (7092f68)

Selenium was having issues doing 3D rendering.

Signed-off-by: Patrick Avery patrick.avery@kitware.com

Documentation

  • webxr: Add webxr example (84b2bb3)

Features

  • Add WebXR Helper widget (beded63)

v2.9.1 (2025-07-21)

Bug Fixes

  • vtk-module: Fix import for custom vtk module (090b504)

v2.9.0 (2025-06-23)

Continuous Integration

  • Skip volume rendering testing (dc229ec)

Features

  • vtk: Enable custom VTK build (448530a)

v2.8.17 (2025-06-03)

Bug Fixes

  • Properly bundle static_viewer.html (89df689)

v2.8.16 (2025-06-02)

Bug Fixes

  • Skip bundling tests and examples (ad46ed4)

  • LICENSE: Update sym link (9ccf71c)

Continuous Integration

Documentation

v2.8.15 (2025-02-09)

Bug Fixes

  • vtk: Add support for multiple views using ParaView protocol as ref (02a5568)

Continuous Integration

Documentation

Testing

  • Cover several vtk version (274da78)

v2.8.14 (2025-01-08)

Bug Fixes

  • server: Skip call on protocol if not present (19e2394)

Continuous Integration

  • Use pyproject and ruff (290cd3e)

  • pre-commit: Fix codespell (df46242)

v2.8.13 (2025-01-07)

Bug Fixes

  • VtkLocalView: Do not call helper.scene if no protocol (fa7571d)

Documentation

v2.8.12 (2024-11-08)

Performance Improvements

  • vtk: Do not always force image push (d2b075f)

v2.8.11 (2024-10-17)

Bug Fixes

  • animation: Enable animation on remote view (660a1d4)

v2.8.10 (2024-08-07)

Bug Fixes

  • wheel: Apply modifiers [alt,shift,ctrl] on wheel event (42f2283)

v2.8.9 (2024-06-07)

Bug Fixes

  • VtkView: Add set_camera method (bc7e883)

v2.8.8 (2024-05-06)

Bug Fixes

  • js: Track hash of vue-vtk-js as well (c82ffec)

Similar to offline_viewer.html we track and report mismatched hash of all external dependencies. see also #70

Chores

  • js: Allow triggering release on external artifact static_viewer.html (eb8461a)

Previously, when a new version of static_viewer.html is released on the master of vtk-js we couldn't trigger a release because we do not commit this file but rather grab it during release. This commit adds the hash of the latest version in a file and a hash check that runs during release but does not trigger a failure on a mismatch but rather a warning. So now if static_viewer.html is updated on vtk-js: - If we do not care .fetch_externals.sh will just emit a warning - If we do care we update .static_viewer.sha256 and trigger a new release on trame-vtk even if no other trame-vtk change happened during last release.

v2.8.7 (2024-05-02)

Bug Fixes

  • remote rendering: Round view size half up (e6777b9)

comply with vue-vtk-js vtkRemoteView implementation which uses Math.round for setting view size. python builtin round function does not work the same way: it rounds half to even.

v2.8.6 (2024-04-22)

Bug Fixes

  • serializer: Register vtkCompositePolyDataMapper (d8c55a8)

Documentation

  • readme: Fix the link of tutorial url (0a46f97)

v2.8.5 (2024-02-15)

Bug Fixes

  • py3.8: Ensure compatibility across py version (36a58c1)
  • Fix breaks compatability with Python 3.8

v2.8.4 (2024-02-14)

Bug Fixes

  • serializer: Md5 hashing is not allowed for FIPS (6e163d6)

v2.8.3 (2024-02-13)

Bug Fixes

  • serializer: Add encoding option (9c20a89)

v2.8.2 (2024-02-09)

Bug Fixes

  • js: Replace invalid downloaded js content (d45ca89)

v2.8.1 (2024-02-09)

Bug Fixes

  • dep: Remove invalid vtk dep (7da4ffc)

Documentation

  • picking: Finish remote example (1ebeadb)

v2.8.0 (2024-01-30)

Bug Fixes

  • local: Workaround for lut serializer (47bbda1)

Features

  • picking: Add support for picking modes (edab22d)

v2.7.1 (2024-01-26)

Bug Fixes

  • local: Add prop3d.orientation for local rendering (812c6d1)

v2.7.0 (2024-01-12)

Continuous Integration

  • Try to fix pytest execution (cc95261)

Documentation

  • widgets: Provide info for LocalView and widgets (b467dc8)

Features

  • multi-server: Add support for multi-server (5a775ea)

v2.6.3 (2023-12-13)

Bug Fixes

  • BigInt: Convert points with (Big)Int to Float for LocalView (80496d5)

v2.6.2 (2023-11-16)

Bug Fixes

  • ref: Automatically assign non conflicting ref (3cfdf2a)

v2.6.1 (2023-11-13)

Bug Fixes

  • protocol: Allow several servers within 1 process (0c53288)

v2.6.0 (2023-11-08)

Bug Fixes

  • Add userMatrix property to generic actor serializer (8eac87f)

  • Remove missing user_matrix (491fcbd)

Features

  • Add userMatrix property on generic volume serializer (33dfd36)

Refactoring

  • Pass user_matrix in add_on dictionary as payload to (ec6cfba)

v2.5.10 (2023-11-07)

Bug Fixes

  • vtk.js: Bump vtk.js to 29.1.1 (bd93a63)

v2.5.9 (2023-10-06)

Bug Fixes

  • serializer: Better handling of actor user matrix (9b5082a)

  • serializer: Remove unused import (5fe4da8)

Continuous Integration

  • Update baseline with new pyvista (ba13822)

  • Update test baseline (8bf8b27)

Documentation

  • pyvista: Add wip examples (487c4c0)

v2.5.8 (2023-07-20)

Bug Fixes

  • volume: Use abs of sampleDistance (0bbb3ae)

Continuous Integration

  • Add trame-vuetify as dep (c7259c0)

v2.5.7 (2023-07-20)

Bug Fixes

  • Semantic-release version (4fd3148)

  • version: Sync github and pypi (a783ca6)

Chores

  • Update baseline .gitignore (bee0bf7)

Continuous Integration

  • Ignore changelog for spelling (aafb2a4)

v2.5.6 (2023-07-19)

Bug Fixes

  • VolumeRendering: Add alias to support different mappers (cf540bc)

fix #46 fix #44

Continuous Integration

  • Changelog spelling (6d3b6f5)

  • baseline: Add ref baseline for volume (4ceb45c)

  • baseline: Add ref baselines (8b305e6)

  • testing: Rendering testing (70aeafa)

fix #45

v2.5.5 (2023-07-19)

Bug Fixes

  • ParaView: Push_image for different viewtypes (74ed533)

Not using a RenderView as view for the vtkLocalRemoteView will crash, because "EnableRenderOnInteraction" might not be defined. "GetPropertyValue" will return None for a non-existing Property

Chores

  • volume: Add volume rendering example (672b1ad)

Continuous Integration

v2.5.4 (2023-06-29)

Bug Fixes

  • GC: Allow to release view resources (bfe9c80)

Continuous Integration

v2.5.3 (2023-06-28)

Bug Fixes

v2.5.2 (2023-06-26)

Bug Fixes

  • html: Add tool for HTML export (3705560)

  • vue-vtk-js: Update to pick lookuptable fix (1ecd65c)

Continuous Integration

  • testing: Update baselines (d5b34a4)

  • testing: Update baselines (0d6e494)

v2.5.1 (2023-06-23)

Bug Fixes

  • LUT: Do not discretize vtkColorTransferFunction with few control points (ebfaee4)

Continuous Integration

v2.5.0 (2023-06-16)

Bug Fixes

  • local: Keep vtkLookupTable as-is for vtk.js (a3b1904)

  • LookupTable: Add support for color Table (46e3d6d)

  • vue-vtk-js: Update vtk.js (96e569a)

Continuous Integration

Documentation

  • example: Force reset camera in pyvista (d083796)

  • validation: Add lut preset example (3250926)

Features

  • local: Add caching with delta compute for local state (0d64fbb)

  • local: Enable prop caching (be29552)

v2.4.4 (2023-04-16)

Bug Fixes

  • export: Handle fields for offline rendering (8b9920f)

  • ParaView: Add missing widgets args in scene (47c4f0e)

Documentation

  • pv: Add paraview validation example (9146694)

v2.4.3 (2023-04-07)

Bug Fixes

  • export: Add export for VtkLocalView (b58ccf4)

v2.4.2 (2023-03-31)

Bug Fixes

  • behavior: Implement handler for vtkOrientationMarkerWidget (01e035f)

  • LocalView: Add infrastructure to support behaviors (26e1945)

  • VtkRemoteLocalView: Add support for widgets (79d106a)

  • vue-vtk-js: Bump version of vue-vtk-js (11c14b9)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • widgets: Use proper order initialization (f3c0505)

Documentation

  • examples: Add button toggles for widgets (ed307b3)

  • examples: Add pyvista axes widget examples (b1598f6)

  • examples: Simplify code (b9afcea)

  • examples: Update the widget ones (cdda471)

v2.4.1 (2023-03-27)

Bug Fixes

v2.4.0 (2023-03-24)

Bug Fixes

  • helper: Update name to _trame_server (2b2b607)

This is the correct name

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • logger: Add environment variable for setting serializer log level (3c1614c)

Now, only critical messages from serializers are printed by default, unless the TRAME_SERIALIZE_DEBUG environment variable is set, in which case all logger output will be printed from the serializers.

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • messages: Only print no serializer warning once per instance type (65db322)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • mouse_handler: Apply a couple of fixes to mouse wheel event (45505ef)

First of all, this updates the interactor with the mouse position on a wheel event so that if there are multiple renderers, the interactor can figure out which one needs to be updated.

Second, this forwards the event to the interactor, rather than applying a manual zoom to the camera ourselves. This makes the behavior more consistent.

Third, this skips the zoom for the start event, since there appears to always be a wheel event right after it.

Fixes: pyvista/pyvista#4020

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • mouse_handler: Only trigger animation registration on first "down" (88bac50)

This was copied over from the ParaView version of the mouse handler.

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • paraview: Update mouse wheel to match VTK version (6f93186)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • vue-vtk-js: Update vue-vtk-js to the newest version (eb7310d)

This includes mouse position information for moving the mouse wheel, which we need.

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • vue-vtk-js: Upgrade to prevent client error on unmount (3a2acee)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

Chores

  • checks: Remove checks for wslink (5fea67d)

It is required and we don't need to check for its presence.

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • future: Remove unneeded future imports (dd57968)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

Code Style

  • formatting: Fix flake8 and black issues (e69c80c)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

Features

  • protocols: Copy protocols from VTK exactly (9fe3c26)

This copies the protocols and render_window_serializer from VTK exactly as they are. Further commits will modify the code.

Signed-off-by: Patrick Avery patrick.avery@kitware.com

Refactoring

  • case: Convert most variables from camelCase to snake_case (ba9beaf)

I went through the code and automatically converted most of the variables from camelCase to snake_case using regex in vim. I skipped a couple of cases in particular:

  1. Anything that started with vtk (this might be a VTK object) 2. Anything in quotes (since they might be strings sent to VTK.js)

There were, however, some things still that were modified that should not have been. I tried to manually fix these, but I may have not caught everything, so we should do testing to verify.

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • initializeSerializers(): Reduce repetition (7e8b213)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • paraview: Copy paraview protocols into repo (43fdc97)

This also splits them up into separate files.

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • paraview: Fix import path for vtk_mesh (b3578a7)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • protocols: Break up protocols into separate files (7336447)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • protocols: Remove unused protocols (d24e998)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • protocols: Use local versions of protocols (315f06f)

This appears to be working at least on a basic level.

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • pwf: Move pwf serializer into lookup_tables (1ef8fd9)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • registry: Remove unused context variable (5fd2640)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • render_window_serializer: Rename to serializers (1bec149)

This name fits better since it contains all kinds of serializers.

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • serialize: Break up serializers into separate files (57d5f0d)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • serializers: Apply patches from addon_serializer (a93a540)

This takes the patches being applied in addon_serializer.py and puts them directly in the render window serializer. We should verify that there are no issues. But I did notice some discrepancies:

  1. I saw no difference in extractRequiredFields() 2. The addon serializer did not call registerInstanceSerializer() on vtkStructuredPoints with the modified imagedataSerializer (only difference is that extent is used instead of dimensions). 3. The addon serializer did not call registerInstanceSerializer() on vtkColorTransferFunction with the modified colorTransferFunctionSerializer. 4. genericMapperSerializer() only had debug message modifications

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • serializers: Move into subdirectory (114a83b)

The file will be broken apart soon as well.

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • serializers: Move one directory up (bd6c3da)

It should be a sibling of the protocols, not a child.

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • updateZoomFromWheel: Remove duplicated code (c9c07da)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • utils: Copy utils from vtk web (d338893)

This is one less dependency we need from vtkmodules.web

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • web: Remove last use of vtkmodules.web (fcef60a)

The functions being used were copied over.

Signed-off-by: Patrick Avery patrick.avery@kitware.com

v2.3.5 (2023-03-21)

Bug Fixes

v2.3.4 (2023-03-10)

Bug Fixes

  • RemoteView: Support no size at startup (29c5587)

v2.3.3 (2023-03-10)

Bug Fixes

  • RemoteView: Initial still_ratio (130ff9a)

fix #25

v2.3.2 (2023-03-09)

Bug Fixes

  • serializer: Add support for LUT components (3ace3f5)

v2.3.1 (2023-03-09)

Bug Fixes

  • Serializer: Properly handle LookupTable size (95cfd2d)

fix #16

v2.3.0 (2023-03-09)

Bug Fixes

  • LocalView: Add support for vtkAxesActor (7d21817)

  • vue-vtk-js: Update to 3.1 to get AxesActor + screenshot (cfe0b19)

Chores

  • debug: Remote debug output (aa4f673)

Features

  • screenshot: Allow screenshot extract (8db1f08)

v2.2.3 (2023-03-03)

Bug Fixes

  • LocalView: Allow view update (034c142)

Documentation

  • widget: Simple plane/clip (bb95910)

  • widget: Simple plane/clip (1365d51)

v2.2.2 (2023-02-28)

Bug Fixes

  • widget: Add a class to wrap vtkAbstractWidgets and make them easier to use (29e39d4)

v2.2.1 (2023-02-26)

Bug Fixes

  • vue3: Unify template generation (c13934e)

Documentation

  • example: Update latest vue3 syntax (5b64088)

v2.2.0 (2023-02-25)

Bug Fixes

  • vue-vtk-js: Update to latest version (672e887)

Continuous Integration

Documentation

  • example: Support toggle camera sync (fb9ab41)

Features

  • LocalRemote: Allow full camera sync with helper method (a750af2)

v2.1.0 (2023-02-23)

Bug Fixes

  • web: Migrate JS into vue-vtk-js>=3 (9cd279a)

Features

  • vue23: Update client code to work with vue2/3 (7a8f546)

v2.0.18 (2023-02-23)

Bug Fixes

Signed-off-by: Patrick Avery patrick.avery@kitware.com

Continuous Integration

  • semantic-release: Switch back to master (e766a8d)

There is an issue in the CI that might be resolved if we switch back to master.

Signed-off-by: Patrick Avery patrick.avery@kitware.com

v2.0.17 (2023-02-01)

Bug Fixes

  • BigInt: Add support for LocalView (aa34620)
  • fix: support BigInt64Array and BigUint64Array * Update trame_vtk/modules/vtk/addon_serializer.py * Add PyVista Int64 validation example * docs(example): Improve int64 validation example * fix(BigInt): Update vue-vtk-js

Co-authored-by: Bane Sullivan bane.sullivan@kitware.com

Continuous Integration

  • semantic-release: Fix version to 7.32.2 (bfa7c41)

v2.0.16 (2023-01-27)

Bug Fixes

  • Imagedata extent and vtkSmartVolumeMapper (fc096c0)
  • fix: extent with ImageData serializer * Remove dimensions * fix: support vtkSmartVolumeMapper * Linting

v2.0.15 (2023-01-20)

Bug Fixes

  • Cubeaxesserializer colors (3ea17a4)

  • vtk: Handle CubeAxes grid color + light + disable_auto_switch (d89c04e)

v2.0.14 (2023-01-10)

Bug Fixes

  • Convert RGB colors to hex (0be279e)

v2.0.13 (2023-01-10)

Bug Fixes

  • RemoteLocal: Fix API call to use delta (781c282)

  • vue-vtk-js: Bump version to 2.1.3 to support delta (8f1d569)

fix #9

v2.0.12 (2022-12-16)

Bug Fixes

  • LocalView: Add push_camera (a9e4513)

  • RemoteView: Expose still_ratio/quality properties (7278d5e)

v2.0.11 (2022-12-09)

Bug Fixes

  • vue-vtk-js: Update to 2.1.2 (3cf8913)

v2.0.10 (2022-12-04)

Bug Fixes

  • LocalView: Add multi-view + delta update handling (06b6a07)

Documentation

  • example: Fix flake8 issue (f80d982)

  • examples: Add validation examples (209914a)

v2.0.9 (2022-11-05)

Bug Fixes

  • LocalView: Properly handle add/remove actor (85ee285)

v2.0.8 (2022-10-20)

Bug Fixes

  • Improve VTK error reporting capabilities (58b71d3)

  • Improve VTK mapper and scalar bar serializers (fb94e81)

v2.0.7 (2022-10-05)

Bug Fixes

  • VtkLocalView: Automatically register update on_server_ready (5b5d296)

v2.0.6 (2022-09-01)

Bug Fixes

  • VtkPiecewiseEditor: Expose piecewise editor widget (1e44b6d)

Chores

  • semantic-release: Bump version to latest (ee2d58c)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

Documentation

  • ci: Add coverage and codecov upload (b4d7c6e)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • contributing: Add CONTRIBUTING.rst (4bb579d)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • coverage: Add .coveragerc (6dd5e1d)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • coverage: Remove codecov PR comment (5cce2fe)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

Signed-off-by: Patrick Avery patrick.avery@kitware.com

v2.0.5 (2022-06-01)

Bug Fixes

  • paraview: Replace invalid import path (bd33f2a)

v2.0.4 (2022-05-31)

Bug Fixes

  • widgets: Expose more props (2fa0156)

v2.0.3 (2022-05-29)

Bug Fixes

  • js: Add trame-vtk.js before uploading to pypi (ec9b1f9)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

v2.0.2 (2022-05-27)

Bug Fixes

  • paraview: Remove unnecessary check for import (301b684)

It is okay to check the servermanager import at the time of instantiating the Helper class, and we do not need to check for the servermanager when the module is imported.

Signed-off-by: Patrick Avery patrick.avery@kitware.com

v2.0.1 (2022-05-27)

Bug Fixes

  • Add initial CI, including semantic release (2f72dda)

Signed-off-by: Patrick Avery patrick.avery@kitware.com