NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkIBaseView.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef niftkIBaseView_h
16 #define niftkIBaseView_h
17 
18 #include "niftkCoreGuiExports.h"
19 
20 #include <mitkDataStorage.h>
21 #include <mitkRenderingManager.h>
22 
23 namespace mitk
24 {
25 class BaseRenderer;
26 class SliceNavigationController;
27 }
28 
29 class QmitkRenderWindow;
30 
31 namespace niftk
32 {
33 
39 class NIFTKCOREGUI_EXPORT IBaseView
40 {
41 
42 public:
43 
45  virtual void FocusOnCurrentWindow() const = 0;
46 
49  virtual QmitkRenderWindow* GetSelectedRenderWindow() const = 0;
50 
51  virtual mitk::DataStorage::Pointer GetDataStorage() const = 0;
52 
56  virtual void RequestRenderWindowUpdate(mitk::RenderingManager::RequestType requestType = mitk::RenderingManager::REQUEST_UPDATE_ALL) = 0;
57 
61  virtual QList<mitk::DataNode::Pointer> GetDataManagerSelection() const = 0;
62 
67  virtual void SetCurrentSelection(mitk::DataNode::Pointer dataNode) = 0;
68 
73  virtual void FireNodeSelected(mitk::DataNode::Pointer node) = 0;
74 
78  virtual mitk::SliceNavigationController* GetSliceNavigationController() = 0;
79 
81  virtual bool IsActiveEditorCursorVisible() const = 0;
82 
84  virtual void SetActiveEditorCursorVisible(bool visible) const = 0;
85 
87  virtual mitk::Point3D GetSelectedPosition() const = 0;
88 
90  virtual void SetSelectedPosition(const mitk::Point3D& selectedPosition) = 0;
91 
92 };
93 
94 }
95 
96 #endif
Definition: ReceptorMemberCommandTest.cxx:25
Public interface to QmitkBaseView.
Definition: niftkIBaseView.h:39
Definition: niftkExceptionObject.h:21