Vtk-js: Is unstructured grid available?

Created on 28 Mar 2018  ·  3Comments  ·  Source: Kitware/vtk-js

I just find out about this project and I am really interested by this JavaScript version of VTK.

I am mainly using unstructured grid and I cannot see the corresponding class in this project.
Are they available? If not, do you think you will do it at some point?

Thanks

question❓

Most helpful comment

vtk.js like VTK can only render a vtkPolyData (for geometry). The only difference is that the C++ version has filters to convert an unstructured grid into a polydata for rendering. In order to achieve that inside vtk.js we would like to compile the C++ code that we have in VTK into WebAssembly to work along with the vtk.js infrastructure. This is still work in progress but that would also mean, that we could also envision some data processing (clip, contour, streamlines...) using the same path.

Hopefully in a month or two we should have some basic implementation of such pipeline involving the compiled C++ class along with the JavaScript rendering...

All 3 comments

vtk.js like VTK can only render a vtkPolyData (for geometry). The only difference is that the C++ version has filters to convert an unstructured grid into a polydata for rendering. In order to achieve that inside vtk.js we would like to compile the C++ code that we have in VTK into WebAssembly to work along with the vtk.js infrastructure. This is still work in progress but that would also mean, that we could also envision some data processing (clip, contour, streamlines...) using the same path.

Hopefully in a month or two we should have some basic implementation of such pipeline involving the compiled C++ class along with the JavaScript rendering...

@thewtex feel free to add anything regarding the progress on WASM...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

truongleit picture truongleit  ·  6Comments

MHadavand picture MHadavand  ·  6Comments

rjsgml5698 picture rjsgml5698  ·  4Comments

aminechir picture aminechir  ·  3Comments

mix3d picture mix3d  ·  7Comments