NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
A cut down version of the MITK Segmentation plugin. More...
Public Member Functions | |
MITKSegmentationView () | |
Constructor. More... | |
MITKSegmentationView (const MITKSegmentationView &other) | |
Copy constructor which deliberately throws a runtime exception, as no-one should call it. More... | |
virtual | ~MITKSegmentationView () |
Destructor. More... | |
virtual std::string | GetViewID () const |
Returns the VIEW_ID = "uk.ac.ucl.cmic.mitksegmentation". More... | |
Static Public Attributes | |
static const std::string | VIEW_ID = "uk.ac.ucl.cmic.mitksegmentation" |
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. More... | |
Protected Slots | |
void | OnCreateNewSegmentationButtonPressed () |
Qt slot called when the user hits the button "New segmentation", which creates the new image. More... | |
Protected Member Functions | |
virtual void | CreateQtPartControl (QWidget *parent) |
Called by framework, this method creates all the controls for this view. More... | |
virtual void | SetFocus () |
Called by framework, this method can set the focus on a specific widget, but we currently do nothing. More... | |
virtual void | CreateConnections () |
Creates the connections of widgets in this class to the slots in this class. More... | |
virtual void | RetrievePreferenceValues () |
Retrieve's the pref values from preference service, and store locally. More... | |
virtual void | EnableSegmentationWidgets (bool b) |
Method to enable derived classes to turn all widgets off/on to signify when the view is considered enabled/disabled. More... | |
virtual bool | IsNodeASegmentationImage (const mitk::DataNode::Pointer node) |
For MITK Editing, a Segmentation image should be binary and have a grey scale parent. More... | |
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 DataManager, and if the image is a binary image with a grey scale parent, will return true, indicating that it is a valid thing to be segmenting. More... | |
virtual QString | GetPreferencesNodeName () |
Returns the name of the preferences node to look up. More... | |
A cut down version of the MITK Segmentation plugin.
MITKSegmentationView::MITKSegmentationView | ( | ) |
Constructor.
MITKSegmentationView::MITKSegmentationView | ( | const MITKSegmentationView & | other | ) |
Copy constructor which deliberately throws a runtime exception, as no-one should call it.
|
virtual |
Destructor.
|
protectedvirtual |
We return true if the segmentation can be "re-started", i.e. you switch between binary images in the DataManager, and if the image is a binary image with a grey scale parent, will return true, indicating that it is a valid thing to be segmenting.
|
protectedvirtual |
Creates the connections of widgets in this class to the slots in this class.
|
protectedvirtual |
Called by framework, this method creates all the controls for this view.
|
protectedvirtual |
Method to enable derived classes to turn all widgets off/on to signify when the view is considered enabled/disabled.
|
inlineprotectedvirtual |
Returns the name of the preferences node to look up.
|
virtual |
Returns the VIEW_ID = "uk.ac.ucl.cmic.mitksegmentation".
|
protectedvirtual |
For MITK Editing, a Segmentation image should be binary and have a grey scale parent.
|
protectedslot |
Qt slot called when the user hits the button "New segmentation", which creates the new image.
|
protectedvirtual |
Retrieve's the pref values from preference service, and store locally.
|
protectedvirtual |
Called by framework, this method can set the focus on a specific widget, but we currently do nothing.
|
static |
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.