Page MenuHomePhabricator

Non-closed PlanarPolygons wrongly return "Circumference" instead of "Length" as feature name
Closed, ResolvedPublic

Event Timeline

[SVN revision 20822]
FIX (#3155): Changed interface of PlanarFigure to allow name change of features during run-time (relevant when PlanarFigure changes its type at run-time through parameter change)

Other related fixes that were applied with the above commit:

  • Added method IsFeatureActive() to mitk::PlanarFigure to en-/disable features depending on mode of PlanarFigure (e.g. closed/non-closed for PlanarPolygon). This is now used instead of checking if a specific feature has the value 0.0
  • In QmitkMeasurement: add special property to PlanarFigure DataTreeNode when it is created, not at a later time, to avoid triggering of GUI update (without this fix, non-closed PlanarPolygons were displayed in the GUI list even before initialization was finished)