Page MenuHomePhabricator

Make PlanarFigures pickable
Closed, ResolvedPublic

Description

PlanarFigures can currently only be selected in the render window by clicking on one of their control points. Clicking on any other part of the PlanarFigure has no effect.

It should be possible to pick (and thus select) PlanarFigures with the mouse by clicking anywhere on their contour.

Also, when "hovering" with the mouse over a PlanarFigure, it should be highlighted to indicate that picking is possible.

Related Objects

Event Timeline

[SVN revision 26250]
ENH (#5420): Add ability to pick PlanarFigure objects in render windows

  • Picking mechanism defined in PlanarFigureInteractor and StateMachines
  • Added select-event to PlanarFigureInteractor
  • Adapted PlanarFigureMapper2D to highlight figures over which the mouse is hovering
  • Adapted QmitkMeasurement to listen to PlanarFigure select-events

Done.

Note: changes in StateMachine.xml files committed with r26251