The goal is to support slicing and cliping of data
- Viewer: use vtkClipDataSet (https://vtk.org/doc/nightly/html/classvtkClipDataSet.html) to slice mesh or model. Options to support:
- SetInsedOut(bool): which side of the data to keep
- SetClipFunction(vtkImplicitFunction): how to clip the data, here we want a vtkPlane
- Viewer: use vtkExtractGeometry (https://vtk.org/doc/nightly/html/classvtkExtractGeometry.html) to clip mesh or model. Options to support:
- SetExtractInside(bool): which side of the data to keep
- SetClipFunction(vtkImplicitFunction): how to clip the data, here we want a vtkPlane
-
Front: add button in viewer toolbar to display popup card with the options and plane definition
-
Front: add light viewer to control the plane using the mouse
The goal is to support slicing and cliping of data
Front: add button in viewer toolbar to display popup card with the options and plane definition
Front: add light viewer to control the plane using the mouse