Kitware / itk-vtk-viewer

2D / 3D web image, mesh, and point set viewer using itk-wasm and vtk.js
https://kitware.github.io/itk-vtk-viewer/
BSD 3-Clause "New" or "Revised" License
210 stars 64 forks source link

About the uiContainer option and sliders #362

Open oeway opened 3 years ago

oeway commented 3 years ago

Hi, after the recent multi scale PR, the uiContainer option for createViewer doesn't work as expect, if I pass a custom element to it, the UI will populated under this element, however, this element will always be moved to the main UI of the viewer.

Related to this, I saw you now have some sliders show in the bottom, which is very nice for the viewer. However, for some case, e.g. in the Kaibu viewer we would like to have our own implementation of the sliders, any suggestion for that? Maybe an option to disable the sliders, then expose API for them?

thewtex commented 3 years ago

With Kaibu, we can now integrate the viewer user interface in a completely custom way that fits your vision, uses Vue, the current style, custom integrations, etc. WIP: https://github.com/Kitware/itk-vtk-viewer/pull/363