plot_scalar_volume#

plot_scalar_volume(data, fig=None, mesh_kwargs=None, plotter_kwargs=None)[source]#

Plot voxelized surface to the Plotter object

Return type:

Plotter

Parameters:
  • data – A dataclass containing 3D labeled image data

  • fig – Pyvista plotter object

  • show_isosurface – PyVista keyword arguments to customize the isosurface

  • mesh_kwargs – Pyvista mesh keyword arguments to pass to the plotter.

  • plotter_kwargs – Additional keyword arguments to pass to the plotter.

Returns:

Plotter object with voxelized surface added as a volume

Return type:

pv.Plotter