NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkSideViewerView.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 niftkSideViewerView_h
16 #define niftkSideViewerView_h
17 
18 #include <uk_ac_ucl_cmic_sideviewer_Export.h>
19 
20 #include <mitkRenderingManager.h>
21 
22 #include <niftkBaseView.h>
23 
24 namespace berry
25 {
26 class IBerryPreferences;
27 }
28 
29 class QmitkRenderWindow;
30 
31 
32 namespace niftk
33 {
34 class SideViewerWidget;
35 
44 class SIDEVIEWER_EXPORT SideViewerView : public BaseView
45 {
46 
47  Q_OBJECT
48 
49 public:
50 
52  SideViewerView(const SideViewerView& other);
53  virtual ~SideViewerView();
54 
55 protected:
56 
58  virtual void CreateQtPartControl(QWidget *parent);
59 
61  virtual void SetFocus();
62 
64  virtual void ApplyDisplayOptions(mitk::DataNode* node);
65 
67  virtual void OnPreferencesChanged(const berry::IBerryPreferences*);
68 
70  virtual void RetrievePreferenceValues();
71 
73  virtual QString GetPreferencesNodeName();
74 
75 private:
76 
79  mitk::RenderingManager::Pointer m_RenderingManager;
80 
82  SideViewerWidget *m_SideViewerWidget;
83 };
84 
85 }
86 
87 #endif
Definition: niftkBaseSegmentorView.h:30
Base view component for MIDAS Segmentation widgets.
Definition: niftkSideViewerView.h:44
Base view component for plugins listening to visibility change events, focus changed events and so on...
Definition: niftkBaseView.h:47
Definition: niftkExceptionObject.h:21
Qt Widget to provide a single SingleViewerWidget, and some associated buttons controlling 2/3 view...
Definition: niftkSideViewerWidget.h:67