Skip to content
Snippets Groups Projects
Commit 5d0f9811 authored by Jaswant Panchumarti (Kitware)'s avatar Jaswant Panchumarti (Kitware)
Browse files

Add simple wasm example using web worker and vtkAlgorithm abort

- This example has a simple `main` function which sets up the VTK
  pipeline using vtkTableBasedClipDataSet.
- It shows how one might leverage the vtkAlgorithm abort functionality
  because now all the VTK rendering and processing is offloaded into a
  web worker leaving the main thread free to go and set the abort flag.
- In this example, the abort flag is set whenever user mouses
  down and moves the cursor on the canvas. As soon as the mouse is
  released, the abort flag is reset.
parent ce05c699
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment