Skip to content

Latest commit

 

History

History
738 lines (362 loc) · 27.6 KB

CHANGELOG.md

File metadata and controls

738 lines (362 loc) · 27.6 KB

CHANGELOG

v2.5.6 (2023-07-19)

Ci

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

  • ci(baseline): Add ref baselines (8b305e6)

  • ci: changelog spelling (6d3b6f5)

  • ci(testing): rendering testing

fix #45 (70aeafa)

Fix

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

fix #46 fix #44 (cf540bc)

v2.5.5 (2023-07-19)

Chore

  • chore(volume): Add volume rendering example (672b1ad)

Ci

Fix

  • fix(ParaView): push_image for different viewtypes

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 (74ed533)

v2.5.4 (2023-06-29)

Ci

  • ci: use better stage name (0bf3f73)

  • ci: add missing requirements (17407e3)

  • ci: add gc testing (ef361f7)

Fix

  • fix(GC): Allow to release view resources (bfe9c80)

v2.5.3 (2023-06-28)

Fix

  • fix(html): Improve HTML exporting (#42) (3a0184e)

v2.5.2 (2023-06-26)

Ci

  • ci(testing): Update baselines (d5b34a4)

  • ci(testing): Update baselines (0d6e494)

Fix

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

  • fix(html): Add tool for HTML export (3705560)

v2.5.1 (2023-06-23)

Ci

Fix

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

v2.5.0 (2023-06-16)

Ci

Documentation

  • docs(validation): Add lut preset example (3250926)

  • docs(example): force reset camera in pyvista (d083796)

Feature

  • feat(local): Enable prop caching (be29552)

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

Fix

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

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

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

v2.4.4 (2023-04-16)

Documentation

  • docs(pv): Add paraview validation example (9146694)

Fix

  • fix(export): handle fields for offline rendering (8b9920f)

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

v2.4.3 (2023-04-07)

Fix

  • fix(export): Add export for VtkLocalView (b58ccf4)

v2.4.2 (2023-03-31)

Documentation

  • docs(examples): simplify code (b9afcea)

  • docs(examples): Add button toggles for widgets (ed307b3)

  • docs(examples): Update the widget ones (cdda471)

  • docs(examples): add pyvista axes widget examples (b1598f6)

Fix

  • fix(vue-vtk-js): bump version of vue-vtk-js

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (11c14b9)

  • fix(widgets): Use proper order initialization (f3c0505)

  • fix(VtkRemoteLocalView): add support for widgets (79d106a)

  • fix(behavior): Implement handler for vtkOrientationMarkerWidget (01e035f)

  • fix(LocalView): add infrastructure to support behaviors (26e1945)

Unknown

  • Merge pull request #34 from Kitware/add-behavior-to-localview

fix(LocalView): add infrastructure to support behaviors (74b6b1c)

v2.4.1 (2023-03-27)

Fix

  • fix(paraview): Fix protocol (b72425c)

v2.4.0 (2023-03-24)

Chore

  • chore(checks): remove checks for wslink

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

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (5fea67d)

  • chore(future): remove unneeded future imports

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (dd57968)

Feature

  • feat(protocols): copy protocols from VTK exactly

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> (9fe3c26)

Fix

  • fix(messages): only print no serializer warning once per instance type

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (65db322)

  • fix(logger): add environment variable for setting serializer log level

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> (3c1614c)

  • fix(paraview): update mouse wheel to match VTK version

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (6f93186)

  • fix(helper): update name to _trame_server

This is the correct name

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (2b2b607)

  • fix(vue-vtk-js): upgrade to prevent client error on unmount

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (3a2acee)

  • fix(mouse_handler): only trigger animation registration on first "down"

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

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (88bac50)

  • fix(mouse_handler): apply a couple of fixes to mouse wheel event

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> (45505ef)

  • fix(vue-vtk-js): update vue-vtk-js to the newest version

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

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (eb7310d)

Refactor

  • refactor(registry): remove unused context variable

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (5fd2640)

  • refactor(case): convert most variables from camelCase to snake_case

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> (ba9beaf)

  • refactor(updateZoomFromWheel): remove duplicated code

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (c9c07da)

  • refactor(pwf): move pwf serializer into lookup_tables

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (1ef8fd9)

  • refactor(serializers): move one directory up

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

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (bd6c3da)

  • refactor(paraview): fix import path for vtk_mesh

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (b3578a7)

  • refactor(paraview): copy paraview protocols into repo

This also splits them up into separate files.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (43fdc97)

  • refactor(serialize): break up serializers into separate files

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (57d5f0d)

  • refactor(serializers): move into subdirectory

The file will be broken apart soon as well.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (114a83b)

  • refactor(protocols): remove unused protocols

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (d24e998)

  • refactor(render_window_serializer): rename to serializers

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

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (1bec149)

  • refactor(initializeSerializers()): reduce repetition

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (7e8b213)

  • refactor(serializers): apply patches from addon_serializer

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> (a93a540)

  • refactor(web): remove last use of vtkmodules.web

The functions being used were copied over.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (fcef60a)

  • refactor(utils): copy utils from vtk web

This is one less dependency we need from vtkmodules.web

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (d338893)

  • refactor(protocols): use local versions of protocols

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

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (315f06f)

  • refactor(protocols): break up protocols into separate files

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (7336447)

Style

  • style(formatting): fix flake8 and black issues

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (e69c80c)

Unknown

  • Merge pull request #31 from Kitware/vtk-protocols

Transfer VTK protocols and serializers to trame-vtk (8b779f7)

v2.3.5 (2023-03-21)

Fix

v2.3.4 (2023-03-10)

Fix

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

v2.3.3 (2023-03-10)

Fix

  • fix(RemoteView): Initial still_ratio

fix #25 (130ff9a)

v2.3.2 (2023-03-09)

Fix

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

v2.3.1 (2023-03-09)

Fix

  • fix(Serializer): Properly handle LookupTable size

fix #16 (95cfd2d)

v2.3.0 (2023-03-09)

Chore

  • chore(debug): Remote debug output (aa4f673)

Feature

  • feat(screenshot): Allow screenshot extract (8db1f08)

Fix

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

  • fix(LocalView): Add support for vtkAxesActor (7d21817)

v2.2.3 (2023-03-03)

Documentation

  • docs(widget): Simple plane/clip (bb95910)

  • docs(widget): Simple plane/clip (1365d51)

Fix

  • fix(LocalView): Allow view update (034c142)

v2.2.2 (2023-02-28)

Fix

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

v2.2.1 (2023-02-26)

Documentation

  • docs(example): Update latest vue3 syntax (5b64088)

Fix

  • fix(vue3): unify template generation (c13934e)

v2.2.0 (2023-02-25)

Ci

Documentation

  • docs(example): Support toggle camera sync (fb9ab41)

Feature

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

Fix

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

v2.1.0 (2023-02-23)

Feature

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

Fix

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

v2.0.18 (2023-02-23)

Ci

  • ci(semantic-release): switch back to master

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> (e766a8d)

Fix

  • fix(version): add version

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (c9ab451)

v2.0.17 (2023-02-01)

Ci

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

Fix

  • fix(BigInt): Add support for LocalView

  • 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> (aa34620)

v2.0.16 (2023-01-27)

Fix

  • fix: ImageData extent and vtkSmartVolumeMapper

  • fix: extent with ImageData serializer

  • Remove dimensions

  • fix: support vtkSmartVolumeMapper

  • Linting (fc096c0)

v2.0.15 (2023-01-20)

Fix

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

  • fix: cubeAxesSerializer colors (3ea17a4)

Unknown

  • Merge pull request #13 from Kitware/grid-axis

Grid axis (99cfe9c)

v2.0.14 (2023-01-10)

Fix

  • fix: convert RGB colors to hex (0be279e)

Unknown

  • Merge pull request #10 from banesullivan/patch-2

fix: convert RGB colors to hex (bbb700b)

v2.0.13 (2023-01-10)

Fix

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

fix #9 (8f1d569)

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

v2.0.12 (2022-12-16)

Fix

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

  • fix(LocalView): Add push_camera (a9e4513)

v2.0.11 (2022-12-09)

Fix

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

v2.0.10 (2022-12-04)

Documentation

  • docs(example): fix flake8 issue (f80d982)

  • docs(examples): add validation examples (209914a)

Fix

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

v2.0.9 (2022-11-05)

Fix

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

v2.0.8 (2022-10-20)

Fix

  • fix: improve VTK mapper and scalar bar serializers (fb94e81)

  • fix: Improve VTK error reporting capabilities (58b71d3)

Unknown

  • Merge pull request #4 from banesullivan/patch/vtk-web-import

fix: Improve VTK error reporting capabilities (28a992a)

  • Merge pull request #5 from banesullivan/fix-serializers

fix: improve VTK mapper and scalar bar serializers (b25a9b1)

v2.0.7 (2022-10-05)

Fix

  • fix(VtkLocalView): Automatically register update on_server_ready (5b5d296)

Unknown

  • Merge pull request #1 from banesullivan/patch-1

Add on_server_ready update callback for vtkLocalView (fbcabcd)

v2.0.6 (2022-09-01)

Chore

  • chore(semantic-release): bump version to latest

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (ee2d58c)

Documentation

  • docs(coverage): remove codecov PR comment

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (5cce2fe)

  • docs(coverage): add .coveragerc

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (6dd5e1d)

  • docs(ci): add coverage and codecov upload

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (b4d7c6e)

  • docs(readme): add CI badge

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (214e1bf)

  • docs(contributing): add CONTRIBUTING.rst

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (4bb579d)

Fix

  • fix(VtkPiecewiseEditor): expose piecewise editor widget (1e44b6d)

v2.0.5 (2022-06-01)

Fix

  • fix(paraview): replace invalid import path (bd33f2a)

v2.0.4 (2022-05-31)

Fix

  • fix(widgets): Expose more props (2fa0156)

v2.0.3 (2022-05-29)

Fix

  • fix(js): add trame-vtk.js before uploading to pypi

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (ec9b1f9)

v2.0.2 (2022-05-27)

Fix

  • fix(paraview): remove unnecessary check for import

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> (301b684)

v2.0.1 (2022-05-27)

Fix

  • fix: add initial CI, including semantic release

Signed-off-by: Patrick Avery <patrick.avery@kitware.com> (2f72dda)

Unknown

  • trame-vtk brings widgets to support VTK or ParaView

Typically trame-vtk enable remote or local rendering from a vtkRenderWindow or a ParaView view proxy This library is meant to be used with trame 2+ (77e7b70)