- vtk9.7: Replace GetSize() call by GetNumberOfValues()
(
eed8a5a)
fix #111
- static_viewer: Include in repo to skip auto fetch on vtk.js
(
9302c6b)
- array: Skip hash and eq usage on array
(
12e2d35)
- static_viewer: Update static viewer from vtk.js
(
3bb5f16)
- array: Don't rely on hashable arrays
(
e740a95)
- tool: Vtksz2html use new dom container
(
4b7fe32)
- static_viewer: Fetch latest static viewer
(
d4d8d18)
- vtkLocalView: Fix push_camera method
(
1884ced)
Update how camera is get in vtkLocalView with a ParaView RenderView
- Update workflow for osmesa and py3.12
(
b18b4f6)
- Add served directory versioning
(
c9463ef)
- 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
- vue-vtk-js: Bump vue-vtk-js to 3.3.4
(
62e9712)
- Update baseline for test_rendering_lut and test_big_int
(
b73e575)
- camera: Update vue-vtk-js
(
582cb80)
- vue-vtk-js: Bump vue-vtk-js to 3.3.1
(
1f99fd5)
- Use playwright in tests instead of selenium
(
7092f68)
Selenium was having issues doing 3D rendering.
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- webxr: Add webxr example
(
84b2bb3)
- Add WebXR Helper widget
(
beded63)
- vtk-module: Fix import for custom vtk module
(
090b504)
- Skip volume rendering testing
(
dc229ec)
- vtk: Enable custom VTK build
(
448530a)
- Properly bundle static_viewer.html
(
89df689)
- Update links in readme
(
f73f046)
- vtk: Add support for multiple views using ParaView protocol as ref
(
02a5568)
-
Install osmesa (
97a02e5) -
Try to fix testing (
242da1e) -
Update .codespellrc to skip changelog (
166e50c) -
Update upload artifact (
bada39f)
- Cover several vtk version
(
274da78)
- server: Skip call on protocol if not present
(
19e2394)
- VtkLocalView: Do not call helper.scene if no protocol
(
fa7571d)
- Update README.rst
(
38ad9b2)
- vtk: Do not always force image push
(
d2b075f)
- animation: Enable animation on remote view
(
660a1d4)
- wheel: Apply modifiers [alt,shift,ctrl] on wheel event
(
42f2283)
- VtkView: Add set_camera method
(
bc7e883)
- 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
- 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.
- 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.
- serializer: Register vtkCompositePolyDataMapper
(
d8c55a8)
- readme: Fix the link of tutorial url
(
0a46f97)
- py3.8: Ensure compatibility across py version
(
36a58c1)
- Fix breaks compatability with Python 3.8
- serializer: Md5 hashing is not allowed for FIPS
(
6e163d6)
- serializer: Add encoding option
(
9c20a89)
- js: Replace invalid downloaded js content
(
d45ca89)
- dep: Remove invalid vtk dep
(
7da4ffc)
- picking: Finish remote example
(
1ebeadb)
- local: Workaround for lut serializer
(
47bbda1)
- picking: Add support for picking modes
(
edab22d)
- local: Add prop3d.orientation for local rendering
(
812c6d1)
- Try to fix pytest execution
(
cc95261)
- widgets: Provide info for LocalView and widgets
(
b467dc8)
- multi-server: Add support for multi-server
(
5a775ea)
- BigInt: Convert points with (Big)Int to Float for LocalView
(
80496d5)
- ref: Automatically assign non conflicting ref
(
3cfdf2a)
- protocol: Allow several servers within 1 process
(
0c53288)
- Add
userMatrixproperty on generic volume serializer (33dfd36)
- Pass
user_matrixinadd_ondictionary as payload to (ec6cfba)
- vtk.js: Bump vtk.js to 29.1.1
(
bd93a63)
-
serializer: Better handling of actor user matrix (
9b5082a) -
serializer: Remove unused import (
5fe4da8)
- pyvista: Add wip examples
(
487c4c0)
- volume: Use abs of sampleDistance
(
0bbb3ae)
- Add trame-vuetify as dep
(
c7259c0)
- Update baseline .gitignore
(
bee0bf7)
- Ignore changelog for spelling
(
aafb2a4)
- VolumeRendering: Add alias to support different mappers
(
cf540bc)
fix #46 fix #44
-
Changelog spelling (
6d3b6f5) -
baseline: Add ref baseline for volume (
4ceb45c) -
baseline: Add ref baselines (
8b305e6) -
testing: Rendering testing (
70aeafa)
fix #45
- 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
- volume: Add volume rendering example
(
672b1ad)
- GC: Allow to release view resources
(
bfe9c80)
- LUT: Do not discretize vtkColorTransferFunction with few control points
(
ebfaee4)
-
local: Keep vtkLookupTable as-is for vtk.js (
a3b1904) -
LookupTable: Add support for color Table (
46e3d6d) -
vue-vtk-js: Update vtk.js (
96e569a)
-
local: Add caching with delta compute for local state (
0d64fbb) -
local: Enable prop caching (
be29552)
-
export: Handle fields for offline rendering (
8b9920f) -
ParaView: Add missing widgets args in scene (
47c4f0e)
- pv: Add paraview validation example
(
9146694)
- export: Add export for VtkLocalView
(
b58ccf4)
-
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)
-
examples: Add button toggles for widgets (
ed307b3) -
examples: Add pyvista axes widget examples (
b1598f6) -
examples: Simplify code (
b9afcea) -
examples: Update the widget ones (
cdda471)
- paraview: Fix protocol
(
b72425c)
- 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
- 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
- formatting: Fix flake8 and black issues
(
e69c80c)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- 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
- 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:
- 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:
- I saw no difference in
extractRequiredFields()2. The addon serializer did not callregisterInstanceSerializer()onvtkStructuredPointswith the modifiedimagedataSerializer(only difference is that extent is used instead of dimensions). 3. The addon serializer did not callregisterInstanceSerializer()onvtkColorTransferFunctionwith the modifiedcolorTransferFunctionSerializer. 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
- Axes serializer
(
cc2136d)
- RemoteView: Support no size at startup
(
29c5587)
- RemoteView: Initial still_ratio
(
130ff9a)
fix #25
- serializer: Add support for LUT components
(
3ace3f5)
- Serializer: Properly handle LookupTable size
(
95cfd2d)
fix #16
-
LocalView: Add support for vtkAxesActor (
7d21817) -
vue-vtk-js: Update to 3.1 to get AxesActor + screenshot (
cfe0b19)
- debug: Remote debug output
(
aa4f673)
- screenshot: Allow screenshot extract
(
8db1f08)
- LocalView: Allow view update
(
034c142)
- widget: Add a class to wrap vtkAbstractWidgets and make them easier to use
(
29e39d4)
- vue3: Unify template generation
(
c13934e)
- example: Update latest vue3 syntax
(
5b64088)
- vue-vtk-js: Update to latest version
(
672e887)
- Fix pv import
(
4efe9b0)
- example: Support toggle camera sync
(
fb9ab41)
- LocalRemote: Allow full camera sync with helper method
(
a750af2)
- web: Migrate JS into vue-vtk-js>=3
(
9cd279a)
- vue23: Update client code to work with vue2/3
(
7a8f546)
- version: Add version
(
c9ab451)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- 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
- 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
- semantic-release: Fix version to 7.32.2
(
bfa7c41)
- Imagedata extent and vtkSmartVolumeMapper
(
fc096c0)
- fix: extent with ImageData serializer * Remove dimensions * fix: support vtkSmartVolumeMapper * Linting
-
Cubeaxesserializer colors (
3ea17a4) -
vtk: Handle CubeAxes grid color + light + disable_auto_switch (
d89c04e)
- Convert RGB colors to hex
(
0be279e)
-
RemoteLocal: Fix API call to use delta (
781c282) -
vue-vtk-js: Bump version to 2.1.3 to support delta (
8f1d569)
fix #9
- vue-vtk-js: Update to 2.1.2
(
3cf8913)
- LocalView: Add multi-view + delta update handling
(
06b6a07)
- LocalView: Properly handle add/remove actor
(
85ee285)
-
Improve VTK error reporting capabilities (
58b71d3) -
Improve VTK mapper and scalar bar serializers (
fb94e81)
- VtkLocalView: Automatically register update on_server_ready
(
5b5d296)
- VtkPiecewiseEditor: Expose piecewise editor widget
(
1e44b6d)
- semantic-release: Bump version to latest
(
ee2d58c)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- 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
- readme: Add CI badge
(
214e1bf)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- paraview: Replace invalid import path
(
bd33f2a)
- widgets: Expose more props
(
2fa0156)
- js: Add trame-vtk.js before uploading to pypi
(
ec9b1f9)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- 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
- Add initial CI, including semantic release
(
2f72dda)
Signed-off-by: Patrick Avery patrick.avery@kitware.com