Page MenuHomePhabricator

[mxn multi widget] Concept for crosshair data type
Closed, ResolvedPublic

Description

The latest concept for a crosshair for the mxnmultiwidget is the CrosshairManager which provides three orthogonal plane geometries (as pane nodes) for each individual render window.
We should define a new concept for render window crosshairs, probably a dedicated data type and a dedicated mapper class, that can also be used for the StdMultiWidget.

Problems with the current approach:

  • the plane nodes / plane geometries are dependent on the renderer geometry which seems to be unnecessary
    • we had a point set for crosshair before, which was only dependent on the world position but that had its own flaws (see {T26627}).
    • inspecting the plane geometry data mapper (PlaneGeometryDataMapper2D::CreateVtkCrosshair) could give us more insights
  • plane nodes clutter the data manager

Revisions and Commits

rMITK MITK
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision

Event Timeline

kalali added a revision: Restricted Differential Revision.Mar 16 2023, 2:07 PM

@floca Part of this task is done with landing the related diff, introducing the new crosshair-data.

We can either leave it open or create dedicated tasks to tackle the remaining issues, like extending the crosshair-data with additional geometry-information or showing multiple crosshairs in a single render window etc.

@floca Part of this task is done with landing the related diff, introducing the new crosshair-data.

We can either leave it open or create dedicated tasks to tackle the remaining issues, like extending the crosshair-data with additional geometry-information or showing multiple crosshairs in a single render window etc.

Please make dedicated new task(s) for open topics. Thanks.

kalali updated the task description. (Show Details)
kalali added a revision: Restricted Differential Revision.Apr 3 2023, 12:40 PM