Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef QmitkMxNMultiWidget_h
14 #define QmitkMxNMultiWidget_h
23 #include <nlohmann/json.hpp>
40 Qt::WindowFlags f = 0,
41 const QString& multiWidgetName =
"mxn");
94 void EnableCrosshair();
95 void DisableCrosshair();
100 void wheelEvent(QWheelEvent* e)
override;
101 void mousePressEvent(QMouseEvent* e)
override;
102 void moveEvent(QMoveEvent* e)
override;
103 void LoadLayout(
const nlohmann::json* jsonData);
104 void SaveLayout(std::ostream* outStream);
108 void WheelMoved(QWheelEvent *);
110 void UpdateUtilityWidgetViewPlanes();
111 void LayoutChanged();
119 void SetLayoutImpl()
override;
120 void SetInteractionSchemeImpl()
override { }
123 void SetInitialSelection();
126 static nlohmann::json BuildJSONFromLayout(
const QSplitter* splitter);
127 QSplitter* BuildLayoutFromJSON(
const nlohmann::json* jsonData,
unsigned int* windowCounter, QSplitter* parentSplitter =
nullptr);
130 std::unique_ptr<QmitkSynchronizedWidgetConnector> m_SynchronizedWidgetConnector;
132 bool m_CrosshairVisibility;
MITK implementation of the QVTKWidget.
Controls the selection of the slice the associated BaseRenderer will display.