bounding_box#
- bounding_box(data, fig=None, mesh_kwargs=None, plotter_kwargs=None)[source]#
Add a bounding box mesh to the Plotter. Assumes the isosurface is at 255.
- Return type:
Plotter- Parameters:
data – A dataclass containing 3D labeled image data
fig – Pyvista plotter object
mesh_kwargs – Pyvista mesh keyword arguments to pass to the plotter.
- Returns:
Pyvista plotter object with wall contours around entire image added as a mesh
- Return type:
pv.Plotter