imas_paraview.util.create_vtk_spheres

imas_paraview.util.create_vtk_spheres(positions, radii, scaling_factor=1.0)

Create a vtkPolyData of glyph spheres scaled by fragment radius.

Parameters:
positions

Array with Cartesian positions.

radii

Array with sphere radii.

scaling_factor=1.0

Scaling factor of the spheres.

Returns:

vtkGlyph3D containing all vtkSpheres.


Last update: 2026-06-24