NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkGeneralSegmentorView.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 niftkGeneralSegmentorView_h
16 #define niftkGeneralSegmentorView_h
17 
18 #include <niftkBaseSegmentorView.h>
19 
20 namespace niftk
21 {
22 
23 class GeneralSegmentorController;
24 
33 {
34  Q_OBJECT
35 
36 public:
37 
40 
43 
45  virtual ~GeneralSegmentorView();
46 
49  static const std::string VIEW_ID;
50 
52  virtual std::string GetViewID() const;
53 
54 protected:
55 
58 
61  virtual void SetFocus() override;
62 
65  virtual QString GetPreferencesNodeName() override;
66 
67 private:
68 
70  GeneralSegmentorController* m_GeneralSegmentorController;
71 
72 };
73 
74 }
75 
76 #endif
Provides the MIDAS general purpose, Irregular Volume Editor functionality originally developed at the...
Definition: niftkGeneralSegmentorController.h:130
virtual ~GeneralSegmentorView()
Destructor.
Definition: niftkGeneralSegmentorView.cxx:44
virtual BaseSegmentorController * CreateSegmentorController() override
Creates the general segmentor controller that realises the GUI logic behind the view.
Definition: niftkGeneralSegmentorView.cxx:50
virtual void SetFocus() override
Called by framework, this method can set the focus on a specific widget, but we currently do nothing...
Definition: niftkGeneralSegmentorView.cxx:72
virtual std::string GetViewID() const
Returns the VIEW_ID = "uk.ac.ucl.cmic.midasgeneralsegmentor".
Definition: niftkGeneralSegmentorView.cxx:65
Base view component for MIDAS Segmentation widgets.
Definition: niftkBaseSegmentorView.h:46
GeneralSegmentorView()
Constructor.
Definition: niftkGeneralSegmentorView.cxx:28
Provides a view for the MIDAS general purpose, Irregular Volume Editor functionality, originally developed at the Dementia Research Centre UCL (http://dementia.ion.ucl.ac.uk/).
Definition: niftkGeneralSegmentorView.h:32
Definition: niftkBaseSegmentorController.h:39
static const std::string VIEW_ID
Each View for a plugin has its own globally unique ID, this one is "uk.ac.ucl.cmic.midasgeneralsegmentor" and the .cxx file and plugin.xml should match.
Definition: niftkGeneralSegmentorView.h:49
virtual QString GetPreferencesNodeName() override
Returns the name of the preferences node to look up.
Definition: niftkGeneralSegmentorView.cxx:58
Definition: niftkExceptionObject.h:21
GLsizei const GLcharARB ** string
Definition: glew.h:5194