Medical Imaging Interaction Toolkit  2018.4.99-1640525a
Medical Imaging Interaction Toolkit
MITK Tutorial - Step 8: Use QmitkStdMultiWidget as widget

In this step a QmitkStdMultiWidget is used. It offers four views of the data. From top left to bottom left the views are initialized as axial, sagittal and coronar. The bottom right view is initialized as 3D view.


Step8 inherits from Step6. The method SetupWidgets() is changed: A QmitkStdMultiWidget is used instead of one QmitkRenderWindow and two instances of QmitkSliceWidget.

// Part Ia: create and initialize QmitkStdMultiWidget
QmitkStdMultiWidget *multiWidget = new QmitkStdMultiWidget(viewParent);
// Tell the multiWidget which DataStorage to render
// Initialize the multiWidget with the render windows
// Add the displayed views to the DataStorage to see their positions in 2D and 3D
// Part Ib: create and initialize LevelWindowWidget
QmitkLevelWindowWidget *levelWindowWidget = new QmitkLevelWindowWidget(viewParent);
// Tell the levelWindowWidget which DataStorage to access

[Previous step] [Next step]