Adding points to open curve

Dear @lassoan and @Davide_Punzo. I just tried the new markup features, and looks great. Thank you very much for all the hardwork. Quick question, is it possible to modify the curve after it is created, i.,e to add points between already existing ones to adjust the curvature more closely to the outline I am tracing?

I believe the correct key action is Ctrl-left click to add an additional point to the curve.

1 Like

yes! https://github.com/Slicer/Slicer/blob/master/Modules/Loadable/Markups/VTKWidgets/vtkSlicerCurveWidget.cxx#L51

Thank you that worked well. Couple more comments/issues: Fiducial projection doesn’t seem to do anything. I have these error messages in the log file, whether they are related or not: Last message repeated a bunch of times for each fiducial created.

class QColor __cdecl qSlicerSubjectHierarchyMarkupsPlugin::getDisplayColor(__int64,class QMap<int,class QVariant> &) const : No display node
vtkMRMLMarkupsNode::GetNthControlPointSelected failed: control point 1 does not exist

thanks for reporting. Fiducial projection is still not implemented.

For reference here there are all the known reaming bugs and missing features:
https://1drv.ms/x/s!Arm_AFxB9yqHtvxAsyBDU_3C1IxfGA