13 #ifndef QmitkSliceBasedInterpolatorWidget_h_Included 14 #define QmitkSliceBasedInterpolatorWidget_h_Included 24 #include "ui_QmitkSliceBasedInterpolatorWidgetGUIControls.h" 29 class SliceNavigationController;
32 class DiffSliceOperation;
68 void SetSliceNavigationControllers(
const QList<mitk::SliceNavigationController *> &controllers);
70 void OnToolManagerWorkingDataModified();
72 void OnTimeChanged(itk::Object *sender,
const itk::EventObject &);
74 void OnSliceChanged(itk::Object *sender,
const itk::EventObject &);
76 void OnSliceNavigationControllerDeleted(
const itk::Object *sender,
const itk::EventObject &);
81 void OnSliceInterpolationInfoChanged(
const itk::EventObject &);
83 Ui::QmitkSliceBasedInterpolatorWidgetGUIControls
m_Controls;
87 void signalSliceBasedInterpolationEnabled(
bool);
94 void OnToggleWidgetActivation(
bool);
101 void OnAcceptInterpolationClicked();
107 void OnAcceptAllInterpolationsClicked();
113 void OnAcceptAllPopupActivated(QAction *action);
118 const ActionToSliceDimensionMapType CreateActionToSliceDimension();
126 void WaitCursorOff();
128 void RestoreOverrideCursor();
158 void UpdateVisibleSuggestion();
161 mitk::SliceBasedInterpolationController::Pointer m_SliceInterpolatorController;
167 template <
typename TPixel,
unsigned int VImageDimension>
168 void WritePreviewOnWorkingImage(itk::Image<TPixel, VImageDimension> *target,
172 QHash<mitk::SliceNavigationController *, int> m_ControllerToTimeObserverTag;
173 QHash<mitk::SliceNavigationController *, int> m_ControllerToSliceObserverTag;
174 QHash<mitk::SliceNavigationController *, int> m_ControllerToDeleteObserverTag;
176 unsigned int m_InterpolationInfoChangedObserverTag;
186 QHash<mitk::SliceNavigationController *, unsigned int> m_TimeStep;
192 unsigned int m_LastSliceIndex;
Data management class that handles 'was created by' relations.
DataCollection - Class to facilitate loading/accessing structured data.
An Operation for applying an edited slice to the volume.
Controls the selection of the slice the associated BaseRenderer will display.
mitk::DataStorage::Pointer m_DataStorage
Image class for storing images.
Describes a two-dimensional, rectangular plane.
#define MITKSEGMENTATIONUI_EXPORT