NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkMorphologicalSegmentorView.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 niftkMorphologicalSegmentorView_h
16 #define niftkMorphologicalSegmentorView_h
17 
18 #include <niftkBaseSegmentorView.h>
19 
20 namespace niftk
21 {
22 
40 {
41  Q_OBJECT
42 
43 public:
44 
47 
50 
53 
55  static const std::string VIEW_ID;
56 
58  virtual std::string GetViewID() const;
59 
60 protected:
61 
64 
66  virtual void SetFocus() override;
67 
69  virtual QString GetPreferencesNodeName() override;
70 
71 };
72 
73 }
74 
75 #endif
virtual void SetFocus() override
Called by framework, sets the focus on a specific widget, but currently does nothing.
Definition: niftkMorphologicalSegmentorView.cxx:64
MorphologicalSegmentorView()
Constructor, but most GUI construction is done in CreateQtPartControl().
Definition: niftkMorphologicalSegmentorView.cxx:28
Base view component for MIDAS Segmentation widgets.
Definition: niftkBaseSegmentorView.h:46
virtual ~MorphologicalSegmentorView()
Destructor.
Definition: niftkMorphologicalSegmentorView.cxx:44
virtual QString GetPreferencesNodeName() override
Returns the name of the preferences node to look up.
Definition: niftkMorphologicalSegmentorView.cxx:70
Definition: niftkBaseSegmentorController.h:39
virtual BaseSegmentorController * CreateSegmentorController() override
Creates the morphological segmentor controller that realises the GUI logic behind the view...
Definition: niftkMorphologicalSegmentorView.cxx:57
Provides the plugin component for the MIDAS brain segmentation functionality, originally developed at...
Definition: niftkMorphologicalSegmentorView.h:39
static const std::string VIEW_ID
Each View for a plugin has its own globally unique ID.
Definition: niftkMorphologicalSegmentorView.h:55
Definition: niftkExceptionObject.h:21
GLsizei const GLcharARB ** string
Definition: glew.h:5194
virtual std::string GetViewID() const
Returns VIEW_ID = uk.ac.ucl.cmic.midasmorphologicalsegmentor.
Definition: niftkMorphologicalSegmentorView.cxx:50