Markups for angle, line and closed/open spline

Hi all,

I am starting to work on VTK widgets / Slicer Markups for:

  1. Adding middle/right/double clicks vtk events / Slicer Markups signals
  2. Few customization to the VTK widgets (e.g., display a centroid point for closed spline)
  3. Adding Markups MRML nodes and widgets for angle, lines and closed/open spline

The general idea is to incorporate the vtkContourWidget, vtkLineWidget2 and vtkAngleWidget in Slicer as Markups.

I have a couple of questions:

  1. Is anyone actively working on Markups related projects? If yes, it will be nice to coordinates the devs.
  2. @Johan_Andruejol you have implemented Markups for curve and plane in Slicer/Slicer#1010. I still have to look at the implementation, but may you notify what is the status of this? Thanks!


1 Like


As discussed in the long thread A user's proposal for Markups Module enhancements, we have some interest in markups module improvement. One of our requested features is the ability to use a template that defines landmark labels and their description and have the user selectively populate this. I think the PW would be good time to coordinate these efforts.

I won’t be attending but @smrolfe is. I am not sure where to provide this, but I am attaching a video which shows the landmarking behavior we would like to emulate in Slicer. Sorry there is no audio.

Basically user loads a file that contains the fiducials descriptions and by clicking on one of them and then clicking on the 3D renderer, it records its 3D coordinate. Landmarking doesn’t have to go in a sequence, but simply initiated by user clicking on a landmark on the list. Selecting an existing landmark with a coordinate a second time and clicking on 3D viewer updates its the coordinates with the new values.

1 Like

We’ve already planned for such features. Currently we are working on lower-level infrastructure. I’ll be at the project week and work with @smrolfe on this.

@smrolfe Could you please add a project page here?

Thanks @lassoan, I will update soon with the project page.

I’ve created the project page:


Thanks for your help @lassoan.