NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
BreastSegmentationView.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 BreastSegmentationView_h
16 #define BreastSegmentationView_h
17 
18 #include <berryISelectionListener.h>
19 
20 #include <QmitkAbstractView.h>
21 
22 #include "ui_BreastSegmentationViewControls.h"
23 
24 
31 class BreastSegmentationView : public QmitkAbstractView
32 {
33  // this is needed for all Qt objects that should have a Qt meta-object
34  // (everything that derives from QObject and wants to have signal/slots)
35  Q_OBJECT
36 
37  public:
38 
39  static const std::string VIEW_ID;
40 
42  virtual ~BreastSegmentationView();
43 
44  void OnNodeAdded(const mitk::DataNode* node);
45  void OnNodeRemoved(const mitk::DataNode* node);
46  void OnNodeChanged(const mitk::DataNode* node);
47 
48  protected slots:
49 
50  // Callbacks from all the extra buttons not associated with mitk::Tool subclasses.
51  void OnCancelButtonPressed();
53 
54  protected:
55 
57  virtual void CreateQtPartControl(QWidget *parent);
58 
60  virtual void SetFocus();
61 
63  virtual void CreateConnections();
64 
66  mitk::DataStorage::SetOfObjects::ConstPointer GetNodes();
67 
69  Ui::BreastSegmentationViewControls m_Controls;
70 
72  bool m_Modified;
73 
76 
81 
84 
89 
96 
97 
98 };
99 
100 #endif // BreastSegmentationView_h
101 
float m_AdiposeGlandularAdjacencyCost
The cost of having fat next to glandular tissue The costs of having the same label next to each other...
Definition: BreastSegmentationView.h:92
void OnExecuteButtonPressed()
Definition: BreastSegmentationView.cxx:165
float m_BackgroundGlandularAdjacencyCost
The cost of having background next to glandular tissue The costs of having the same label next to eac...
Definition: BreastSegmentationView.h:95
int m_BiasFieldCorrectionOrder
The bias field correction order.
Definition: BreastSegmentationView.h:86
void OnNodeAdded(const mitk::DataNode *node)
Definition: BreastSegmentationView.cxx:189
Ui::BreastSegmentationViewControls m_Controls
The specific controls for this widget.
Definition: BreastSegmentationView.h:69
virtual void CreateQtPartControl(QWidget *parent)
Called by framework, this method creates all the controls for this view.
Definition: BreastSegmentationView.cxx:92
virtual ~BreastSegmentationView()
Definition: BreastSegmentationView.cxx:57
void OnNodeRemoved(const mitk::DataNode *node)
Definition: BreastSegmentationView.cxx:205
static const std::string VIEW_ID
Definition: BreastSegmentationView.h:39
int m_NumberOfGaussianComponents
The number of Gaussian components or classes to segment.
Definition: BreastSegmentationView.h:75
BreastSegmentationView()
Definition: BreastSegmentationView.cxx:37
int m_NumberOfMultiSpectralComponents
The number of multi-spectral MR components to segment.
Definition: BreastSegmentationView.h:78
virtual void CreateConnections()
Creation of the connections of widgets in this class and the slots in this class. ...
Definition: BreastSegmentationView.cxx:125
GUI interface to perform a breast segmentation.
Definition: BreastSegmentationView.h:31
int m_NumberOfTimePoints
The number of MR time-points to segment.
Definition: BreastSegmentationView.h:80
bool m_Modified
Flag indicating whether any factors influencing the segmentation have been modified.
Definition: BreastSegmentationView.h:72
mitk::DataStorage::SetOfObjects::ConstPointer GetNodes()
Get the list of data nodes from the data manager.
Definition: BreastSegmentationView.cxx:77
float m_BiasFieldRatioThreshold
Definition: BreastSegmentationView.h:88
void OnNodeChanged(const mitk::DataNode *node)
Definition: BreastSegmentationView.cxx:226
GLsizei const GLcharARB ** string
Definition: glew.h:5194
void OnCancelButtonPressed()
Definition: BreastSegmentationView.cxx:155
virtual void SetFocus()
Called by framework, sets the focus on a specific widget.
Definition: BreastSegmentationView.cxx:67
unsigned int m_MaximumNumberOfIterations
The maximum number of iterations.
Definition: BreastSegmentationView.h:83