Page MenuHomePhabricator

Reinit is confusing for new users
Closed, DuplicatePublic

Description

The GUI buttons "Reinit" and "Global reinit" are confusing for new (and even some experienced users don't know the difference). It is a very important feature to re-initialize the geometry of an image (or all images), but especially medical users don't understand the concept. Additionally, the method used to perform this is not called "Reinit()". It is done like this:

mitk::TimeSlicedGeometry::Pointer geo =d s->ComputeBoundingGeometry3D(ds->GetAll());
mitk::RenderingManager::GetInstance()->InitializeViews( geo );

(If you take all geometries, a "Global Reinit" will be applied, else a "Reinit" for the respective data nodes.)

This is confusing for developers, because they keep looking for a method called "Reinit()".

Question: Do we have documentation which explains this concept somewhere? If not, we need it! This could also be explained in a bugsquashing seminar from time to time.

Suggestion: Rename the buttons in GUI? Something like "Reinitialize geometry" or "Reset view"