15 #ifndef MITKSegmentationView_h
16 #define MITKSegmentationView_h
18 #include <QmitkMIDASBaseSegmentationFunctionality.h>
19 #include "ui_MITKSegmentationViewControls.h"
20 #include <berryIPreferences.h>
21 #include <berryIPreferencesService.h>
22 #include <berryIBerryPreferences.h>
95 Ui::MITKSegmentationViewControls *m_Controls;
98 QGridLayout *m_Layout;
101 QWidget *m_ContainerForControlsWidget;
104 bool m_OutlineBinary;
107 bool m_VolumeRendering;
110 #endif // MITKSegmentationView_h
virtual bool IsNodeASegmentationImage(const mitk::DataNode::Pointer node)
For MITK Editing, a Segmentation image should be binary and have a grey scale parent.
Definition: MITKSegmentationView.cxx:178
MITKSegmentationView()
Constructor.
Definition: MITKSegmentationView.cxx:41
virtual void EnableSegmentationWidgets(bool b)
Method to enable derived classes to turn all widgets off/on to signify when the view is considered en...
Definition: MITKSegmentationView.cxx:172
GLdouble GLdouble GLdouble b
Definition: glew.h:7885
virtual std::string GetViewID() const
Returns the VIEW_ID = "uk.ac.ucl.cmic.mitksegmentation".
Definition: MITKSegmentationView.cxx:68
void OnCreateNewSegmentationButtonPressed()
Qt slot called when the user hits the button "New segmentation", which creates the new image...
Definition: MITKSegmentationView.cxx:200
virtual ~MITKSegmentationView()
Destructor.
Definition: MITKSegmentationView.cxx:63
virtual void CreateQtPartControl(QWidget *parent)
Called by framework, this method creates all the controls for this view.
Definition: MITKSegmentationView.cxx:79
virtual void RetrievePreferenceValues()
Retrieve's the pref values from preference service, and store locally.
Definition: MITKSegmentationView.cxx:252
A cut down version of the MITK Segmentation plugin.
Definition: MITKSegmentationView.h:30
static const std::string VIEW_ID
Each View for a plugin has its own globally unique ID, this one is "uk.ac.ucl.cmic.mitksegmentation" and the .cxx file and plugin.xml should match.
Definition: MITKSegmentationView.h:49
virtual bool CanStartSegmentationForBinaryNode(const mitk::DataNode::Pointer node)
We return true if the segmentation can be "re-started", i.e. you switch between binary images in the ...
Definition: MITKSegmentationView.cxx:195
virtual void SetFocus()
Called by framework, this method can set the focus on a specific widget, but we currently do nothing...
Definition: MITKSegmentationView.cxx:74
virtual void CreateConnections()
Creates the connections of widgets in this class to the slots in this class.
Definition: MITKSegmentationView.cxx:161
virtual QString GetPreferencesNodeName()
Returns the name of the preferences node to look up.
Definition: MITKSegmentationView.h:90
GLsizei const GLcharARB ** string
Definition: glew.h:5194