Locked History Attachments

ChangeRequests/4735

1. MITK rendering and interaction requires the QVTKWidget

1.1. Actual behavior

  • MITK cannot render the contents of a datastorage in native VTK widgets (e.g. Win32OpenGL VTK widget)
  • MITK interaction is integrated directly in the QmitkRenderWindow (QT dependency)

1.2. Expected behavior

  • MITK CORE directly integrates in VTK and does not require any specific GUI toolkit

2. Cause of the bug

  • This was a design and implementation flaw during QT 4 migration

3. Proposed solution

  • Introduce a mitk::RenderWindowBase class that builds up the MITK Rendering (take that code out of QT dependent QmitkRenderWindow)

  • Introduce a GUI toolkit independent mitk::RenderWindow that can be seen as QT-independent variante of the QmitkRenderWindow (both derive from base)

  • Move the MITK event dispatching out of the QmitkRenderWindow in the Base

  • Get some genious idea for the dispatching of the events within VTK ( TODO )

4. Affected classes

5. How will the bugfix get tested?

  • Make a tutorial step for MITK usage without VTK
  • Manual testing
  • Inform/warn the MBI team and the MITK community to get instant feedback