How to add Sphere Source or other actors to Slicer Scene with UI

Is there an easy way to add a sphere source (or polyLine) to slicer scene? I would like to try various rendering behaviours involving polyData and volume actors. First I thought I add a control point and increase its radius, but it seems like the radius has a maximum.

Is there any extension that let me create various actors from vtk and add them to the scene? or if there is written scripts somewhere I think that works as well.


The easiest way to display a polydata is by adding a model node. There are many examples in the script repository, such as this.

If you want to display many spheres of the same size or interactively move the sphere then markups could be used. Maybe slider in the GUI has a limited range, but programmatically you can set and size.

1 Like