15 #ifndef niftkBaseController_h
16 #define niftkBaseController_h
18 #include <niftkCoreGuiExports.h>
22 #include <mitkDataNode.h>
38 class BaseControllerPrivate;
62 int GetSliceIndex()
const;
66 mitk::Point3D GetSelectedPosition()
const;
70 virtual void SetupGUI(QWidget* parent);
73 virtual void OnViewGetsActivated();
76 virtual void OnViewGetsDeactivated();
79 virtual void OnViewGetsVisible();
82 virtual void OnViewGetsHidden();
86 mitk::DataStorage* GetDataStorage()
const;
88 void RequestRenderWindowUpdate()
const;
94 QList<mitk::DataNode::Pointer> GetDataManagerSelection()
const;
96 mitk::SliceNavigationController* GetSliceNavigationController()
const;
112 virtual BaseGUI* CreateGUI(QWidget* parent) = 0;
121 virtual void OnFocusChanged();
125 virtual mitk::BaseRenderer* GetFocused2DRenderer()
const;
129 virtual void OnNodeAdded(
const mitk::DataNode* node);
133 virtual void OnNodeChanged(
const mitk::DataNode* node);
137 virtual void OnNodeRemoved(
const mitk::DataNode* node);
141 virtual void OnNodeDeleted(
const mitk::DataNode* node);
146 virtual void OnNodeVisibilityChanged(
const mitk::DataNode* node,
const mitk::BaseRenderer* renderer);
152 void WaitCursorOff();
158 void BusyCursorOff();
163 void RestoreOverrideCursor();
165 QScopedPointer<BaseControllerPrivate> d_ptr;
ImageOrientation
Describes the different types of orientation, axial, sagittal, coronal, that can be achieved in the D...
Definition: niftkImageOrientation.h:26
itk::SpatialOrientation::ValidCoordinateOrientationFlags GetOrientation(ImageType::Pointer image)
Definition: niftkBreastDensityFromMRIsGivenMaskAndImage.cxx:146
Definition: ReceptorMemberCommandTest.cxx:25
Public interface to QmitkBaseView.
Definition: niftkIBaseView.h:39
Base class for GUI controls on BlueBerry views.
Definition: niftkBaseGUI.h:29
Definition: niftkBaseController.h:43
Some utilities to help with MIDAS conventions on orientation.
Definition: niftkExceptionObject.h:21