View Issue Details

IDProjectCategoryView StatusLast Update
0004706Slicer4Module Markupspublic2019-08-20 14:53
Reporterarankin Assigned Tonicole  
Status assignedResolutionopen 
Platformamd64OSWindowsOS Version10 Creators
Product VersionSlicer 4.11.0 
Target VersionFixed in Version 
Summary0004706: Markup events not fired at expected time when using StartPlaceMode

With the markups rework and the new preview mechanism, events that fired when the fiducial was placed are firing immediately when vtkSlicerMarkupsLogic.StartPlaceMode() is called.

The new unnamed enum with values PositionUndefined, PositionPreview, PositionDefined is a new status field on a control point which can be queried by observing a PointModified event, and using GetNthControlPointPositionStatus with the callData (point index).

Steps To Reproduce

Start Slicer with markups rework (my version 4.11.0-2019-07-29)
Add observer to the scene for node added. In function, check for node type == vtkMRMLMarkupFiducialNode
Use UI to place a fiducial
Note that event fires immediately on place mode, and not when the fiducial is finalized

Additional Information

Events that do not occur as expected:
vtkMRMLInteractionNode::EndPlacementEvent (fires immediately after place mode, and not when node is finalized)

vtkMRMLMarkupsNode::PointEndInteractionEvent (behaves correctly when moving existing nodes, does not fire when finalizing a newly placed node)
vtkMRMLMarkupsNode::PointAddedEvent (fires immediately after place mode, and not when node is finalized)

TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-08-20 14:53 arankin New Issue
2019-08-20 14:53 arankin Status new => assigned
2019-08-20 14:53 arankin Assigned To => nicole