SCIInstitute / shapeworks-cloud

A web version of ShapeWorks Studio
https://www.shapeworks-cloud.org/#/
Apache License 2.0
1 stars 0 forks source link

Add basic image view and controls #359

Closed annehaley closed 5 months ago

annehaley commented 6 months ago

This PR adds the image view mode, which will be used by default for rendering any vtkImageData. Previously, we used an imageMarchingCubes filter to turn vtkImageData into vtkPolyData, which could take a while to compute.

The image view mode includes the following basic controls/features:

When the "Groomed" layer is enabled:

When the "Particles" layer is enabled and Intersection mode is enabled:

The following video demonstrates each of these features (speed 2x). https://github.com/girder/shapeworks-cloud/assets/44912689/ba9d7b60-f56b-4ef2-b4df-51953d92880d