Trame-vtk

Latest version: v2.8.12

Safety actively analyzes 688775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

2.5.0

Ci

* ci: Add test baseline ([`5ad9763`](https://github.com/Kitware/trame-vtk/commit/5ad976321869b205543c12d52b4675dde5776be4))

* ci(black): run black ([`dfdc6fa`](https://github.com/Kitware/trame-vtk/commit/dfdc6fa6768a549362dbd3114beb7d08b94b18c7))

Documentation

* docs(validation): Add lut preset example ([`3250926`](https://github.com/Kitware/trame-vtk/commit/3250926e6c050022cb28c6b60b95e18e2217c66f))

* docs(example): force reset camera in pyvista ([`d083796`](https://github.com/Kitware/trame-vtk/commit/d08379621902bc541e8f12a5e0716aa70f55249d))

Feature

* feat(local): Enable prop caching ([`be29552`](https://github.com/Kitware/trame-vtk/commit/be29552102b0394ae3e45bcc96a0c6b4f2af73dc))

* feat(local): Add caching with delta compute for local state ([`0d64fbb`](https://github.com/Kitware/trame-vtk/commit/0d64fbb836bec479c17045be57d4143734330aa3))

Fix

* fix(vue-vtk-js): Update vtk.js ([`96e569a`](https://github.com/Kitware/trame-vtk/commit/96e569ac37140baa643cfa14bf270c3fa388d2e2))

* fix(LookupTable): Add support for color Table ([`46e3d6d`](https://github.com/Kitware/trame-vtk/commit/46e3d6d7ee05e4adcf7f664ae1e2f4ffe3188b7d))

* fix(local): Keep vtkLookupTable as-is for vtk.js ([`a3b1904`](https://github.com/Kitware/trame-vtk/commit/a3b19046bf26e7e11a8d7d10063301b625cba2a0))

2.4.4

Documentation

* docs(pv): Add paraview validation example ([`9146694`](https://github.com/Kitware/trame-vtk/commit/914669478cb2ba088131d8da81ddc287003afb23))

Fix

* fix(export): handle fields for offline rendering ([`8b9920f`](https://github.com/Kitware/trame-vtk/commit/8b9920fdc7328d8fa20bd3d6c3d2566f1175d883))

* fix(ParaView): Add missing widgets args in scene ([`47c4f0e`](https://github.com/Kitware/trame-vtk/commit/47c4f0efc3ad2feed4a12901a33e1442aab15b29))

2.4.3

Fix

* fix(export): Add export for VtkLocalView ([`b58ccf4`](https://github.com/Kitware/trame-vtk/commit/b58ccf4109b25f567cac0f8f1185ab71e00c14dc))

2.4.2

Documentation

* docs(examples): simplify code ([`b9afcea`](https://github.com/Kitware/trame-vtk/commit/b9afceadd32a565aef380ec148a05d014e115687))

* docs(examples): Add button toggles for widgets ([`ed307b3`](https://github.com/Kitware/trame-vtk/commit/ed307b32b888e9698e87f5f6af14b5f3cb2e4d8f))

* docs(examples): Update the widget ones ([`cdda471`](https://github.com/Kitware/trame-vtk/commit/cdda471df5c2364e7359c2d6533ffcd4e4b38cf0))

* docs(examples): add pyvista axes widget examples ([`b1598f6`](https://github.com/Kitware/trame-vtk/commit/b1598f61c6a53d77acd5688026560069153e6886))

Fix

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

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`11c14b9`](https://github.com/Kitware/trame-vtk/commit/11c14b9b19a6fe1d8019c63c2d94806caf438954))

* fix(widgets): Use proper order initialization ([`f3c0505`](https://github.com/Kitware/trame-vtk/commit/f3c05053a81786fc1627cd55f5a360b580c52a10))

* fix(VtkRemoteLocalView): add support for widgets ([`79d106a`](https://github.com/Kitware/trame-vtk/commit/79d106ac2ffb432517bef8f57d80551ff699466d))

* fix(behavior): Implement handler for vtkOrientationMarkerWidget ([`01e035f`](https://github.com/Kitware/trame-vtk/commit/01e035ff6f8f3fd52717b627f6db57961f4debc1))

* fix(LocalView): add infrastructure to support behaviors ([`26e1945`](https://github.com/Kitware/trame-vtk/commit/26e194535c2e5ca910ebc053b16bd7abacd91cbe))

Unknown

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

fix(LocalView): add infrastructure to support behaviors ([`74b6b1c`](https://github.com/Kitware/trame-vtk/commit/74b6b1c47bc9d05c8d53423381edbe161f573c52))

2.4.1

Fix

* fix(paraview): Fix protocol ([`b72425c`](https://github.com/Kitware/trame-vtk/commit/b72425cdde30344b15cebf8dd1b11aa62701176f))

2.4.0

Chore

* chore(checks): remove checks for wslink

It is required and we don&39;t need to check for its presence.

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`5fea67d`](https://github.com/Kitware/trame-vtk/commit/5fea67d77d09f9f6468f63814c617d9d3e1f6786))

* chore(future): remove unneeded future imports

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`dd57968`](https://github.com/Kitware/trame-vtk/commit/dd579681599e658cc891f93f7494f97556d03de6))

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.averykitware.com> ([`9fe3c26`](https://github.com/Kitware/trame-vtk/commit/9fe3c261bc78a8814e1f4bab37ac6df3977144d8))

Fix

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

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`65db322`](https://github.com/Kitware/trame-vtk/commit/65db3229b9b0d15183a3fa882a825b4a9ea745ea))

* 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.averykitware.com> ([`3c1614c`](https://github.com/Kitware/trame-vtk/commit/3c1614c82f47528e71de69916baa22961177c3d9))

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

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`6f93186`](https://github.com/Kitware/trame-vtk/commit/6f931867e3b63aa59e03799495ade03c59b31abf))

* fix(helper): update name to `_trame_server`

This is the correct name

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`2b2b607`](https://github.com/Kitware/trame-vtk/commit/2b2b607da8abc3639b791c4411ffb22d9d3a147c))

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

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`3a2acee`](https://github.com/Kitware/trame-vtk/commit/3a2aceececd6f70e2bc4e78c309b051723eb9d45))

* fix(mouse_handler): only trigger animation registration on first &34;down&34;

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

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`88bac50`](https://github.com/Kitware/trame-vtk/commit/88bac500cbd3d6f3775a7cab9170c775a5683ff6))

* 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/pyvista4020

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`45505ef`](https://github.com/Kitware/trame-vtk/commit/45505ef25bb76a4d04bddd9cecdc375999de9e1b))

* 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.averykitware.com> ([`eb7310d`](https://github.com/Kitware/trame-vtk/commit/eb7310dd9e763b069de438ad33db3173965c2e81))

Refactor

* refactor(registry): remove unused context variable

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`5fd2640`](https://github.com/Kitware/trame-vtk/commit/5fd26407a1077874d7427c49407c7cf8d55bbb8e))

* 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.averykitware.com> ([`ba9beaf`](https://github.com/Kitware/trame-vtk/commit/ba9beaf5060ab2b992a85d7ae701f3f4853deba2))

* refactor(updateZoomFromWheel): remove duplicated code

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`c9c07da`](https://github.com/Kitware/trame-vtk/commit/c9c07da41b71ecfbd6afa65db7ceeaf0609c5572))

* refactor(pwf): move pwf serializer into lookup_tables

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`1ef8fd9`](https://github.com/Kitware/trame-vtk/commit/1ef8fd97682e262214e80dbde7889617c5a9c40c))

* refactor(serializers): move one directory up

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

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`bd6c3da`](https://github.com/Kitware/trame-vtk/commit/bd6c3da1caf27837a7691ce95437155970473692))

* refactor(paraview): fix import path for vtk_mesh

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`b3578a7`](https://github.com/Kitware/trame-vtk/commit/b3578a7d3b8aabb6ef0fa3b76c5280b3ba9e0c62))

* refactor(paraview): copy paraview protocols into repo

This also splits them up into separate files.

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`43fdc97`](https://github.com/Kitware/trame-vtk/commit/43fdc97989a16f5bf72b9d73ce7a591523acecf9))

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

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`57d5f0d`](https://github.com/Kitware/trame-vtk/commit/57d5f0debab099e5918fed00e1c66c9556bd22b6))

* refactor(serializers): move into subdirectory

The file will be broken apart soon as well.

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`114a83b`](https://github.com/Kitware/trame-vtk/commit/114a83b5ac4265a9d989b85ef0e389367fc10b76))

* refactor(protocols): remove unused protocols

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`d24e998`](https://github.com/Kitware/trame-vtk/commit/d24e9984d46b2bea194ea3e8a15a7208bfeba00c))

* refactor(render_window_serializer): rename to serializers

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

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`1bec149`](https://github.com/Kitware/trame-vtk/commit/1bec1497279b1c95337bf9245ab7bfcccd730810))

* refactor(initializeSerializers()): reduce repetition

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`7e8b213`](https://github.com/Kitware/trame-vtk/commit/7e8b21332a3c4b3edd901047fb0568ec169012ed))

* 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.averykitware.com> ([`a93a540`](https://github.com/Kitware/trame-vtk/commit/a93a5400f542c529024e18941f9323c7623cea12))

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

The functions being used were copied over.

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`fcef60a`](https://github.com/Kitware/trame-vtk/commit/fcef60a42f19dac24bdede46ccda98758b75b8eb))

* refactor(utils): copy utils from vtk web

This is one less dependency we need from vtkmodules.web

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`d338893`](https://github.com/Kitware/trame-vtk/commit/d338893528675ba17d24ed9c386ec27cfac67656))

* refactor(protocols): use local versions of protocols

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

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`315f06f`](https://github.com/Kitware/trame-vtk/commit/315f06fc99acf293c6dcbc6fc2457f1880cd07f1))

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

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`7336447`](https://github.com/Kitware/trame-vtk/commit/73364475eb881b1752779ee558f1d87ad4a2f327))

Style

* style(formatting): fix flake8 and black issues

Signed-off-by: Patrick Avery <patrick.averykitware.com> ([`e69c80c`](https://github.com/Kitware/trame-vtk/commit/e69c80c64cce9b3cbd827a27efb743d5edf9e76f))

Unknown

* Merge pull request 31 from Kitware/vtk-protocols

Transfer VTK protocols and serializers to trame-vtk ([`8b779f7`](https://github.com/Kitware/trame-vtk/commit/8b779f77268aab390eb2fcfa22a5c3bfa9ec953c))

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.