ShapeWorks icon indicating copy to clipboard operation
ShapeWorks copied to clipboard

Shared boundary studio updates

Open iyerkrithika21 opened this issue 3 years ago • 4 comments

As per #1235 the following features/changes are required for studio:

  • [ ] Detecting if an input file is contour. Currently the number of points in the first cell of the polydata here and here are checked
  • [x] MeshWarp should not crash if its a contour domain. (related to #1291 ? )
  • [x] Option to toggle opacity in Studio (Is this related to #1452 ?)
  • [ ] Options to enable shared boundary and set the weighting across domains in studio #1780

iyerkrithika21 avatar Jul 06 '21 16:07 iyerkrithika21

Need discuss how to include these options in the XML file? - Enable shared boundary and set the weighting across domains in studio https://github.com/SCIInstitute/ShapeWorks/blob/a36280296d137a9c40034fd18a50ffa99e4803e8/Libs/Optimize/OptimizeParameters.cpp#L227 - Option to toggle opacity in Studio. hardcoded here: https://github.com/SCIInstitute/ShapeWorks/blob/a36280296d137a9c40034fd18a50ffa99e4803e8/Libs/Optimize/OptimizeParameters.cpp#L227

iyerkrithika21 avatar Aug 09 '21 20:08 iyerkrithika21

My plan to support contours is to make them explicit in the spreadsheet ("contour_*"), so you would have something like this:

shape_part1 shape_part2 contour_boundary
1a.vtk 1b.vtk 1boundary.vtk
2a.vtk 2b.vtk 2boundary.vtk
3a.vtk 3b.vtk 3boundary.vtk

This is somewhat separate from the shared boundary since we can support contours directly.

akenmorris avatar Aug 09 '21 22:08 akenmorris

How are we generating the shared boundaries?

akenmorris avatar Aug 09 '21 22:08 akenmorris

The shared boundary is also a mesh. So the project file has 4 input columns: left_mesh(vtk), right_mesh(vtk),shared_surface_mesh(vtk), boundary_contour(vtp).

iyerkrithika21 avatar Aug 10 '21 02:08 iyerkrithika21