NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
niftk::MorphologicalSegmentorView Class Reference

Provides the plugin component for the MIDAS brain segmentation functionality, originally developed at the Dementia Research Centre UCL. More...

Inheritance diagram for niftk::MorphologicalSegmentorView:
Inheritance graph
[legend]
Collaboration diagram for niftk::MorphologicalSegmentorView:
Collaboration graph
[legend]

Public Member Functions

 MorphologicalSegmentorView ()
 Constructor, but most GUI construction is done in CreateQtPartControl(). More...
 
 MorphologicalSegmentorView (const MorphologicalSegmentorView &other)
 Copy constructor which deliberately throws a runtime exception, as no-one should call it. More...
 
virtual ~MorphologicalSegmentorView ()
 Destructor. More...
 
virtual std::string GetViewID () const
 Returns VIEW_ID = uk.ac.ucl.cmic.midasmorphologicalsegmentor. More...
 
- Public Member Functions inherited from niftk::BaseSegmentorView
 BaseSegmentorView ()
 
 BaseSegmentorView (const BaseSegmentorView &other)
 
virtual ~BaseSegmentorView ()
 
- Public Member Functions inherited from niftk::BaseView
 BaseView ()
 
virtual ~BaseView ()
 
virtual void onVisibilityChanged (const mitk::DataNode *node) override
 Called when the visibility of a node in the data storage changed. More...
 
virtual void OnFocusChanged ()
 Called when the window focus changes, and tracks the current mitk::BaseRenderer*. More...
 
virtual bool IsExclusiveFunctionality () const
 Returns whether this functionality should be exclusive, or in other words, the only active plugin. More...
 
virtual bool IsActivated ()
 Returns the activation status. More...
 
virtual bool IsVisible ()
 Returns the visible status. More...
 
mitk::DataStorage::Pointer GetDataStorage () const override
 Gets the currently active data storage. More...
 
virtual void SetCurrentSelection (mitk::DataNode::Pointer dataNode) override
 Selects the data node in this view and also in the data manager. It sets the "selected" property of the node. As a (positive) side effect of changing the data manager selection, the "selected" property of the previously selected nodes will be cleared. More...
 
virtual QmitkRenderWindow * GetRenderWindow (QString id)
 Retrieves a RenderWindow from the mitkRenderWindowPart. More...
 
virtual QmitkRenderWindow * GetSelectedRenderWindow () const override
 Retrieves the currently selected RenderWindow from the mitkRenderWindowPart. More...
 
virtual bool IsActiveEditorCursorVisible () const override
 Gets the visibility of the cursor (aka. crosshair) in the 2D render windows of the main display. More...
 
virtual void SetActiveEditorCursorVisible (bool visible) const override
 Sets the visibility of the cursor (aka. crosshair) in the 2D render windows of the main display. More...
 
virtual void RequestRenderWindowUpdate (mitk::RenderingManager::RequestType requestType=mitk::RenderingManager::REQUEST_UPDATE_ALL) override
 Request an update of all render windows of the currently active render window part. More...
 
QList< mitk::DataNode::Pointer > GetDataManagerSelection () const override
 Gets the list of nodes selected in the data manager. More...
 
virtual void FireNodeSelected (mitk::DataNode::Pointer node) override
 Informs other parts of the workbench that node is selected via the blueberry selection service. More...
 
virtual
mitk::SliceNavigationController * 
GetSliceNavigationController () override
 Retrieve the current slice navigation controller from the currently focused render window. More...
 
virtual void FocusOnCurrentWindow () const override
 Used to try and get the FocusManager to focus on the Current IRenderWindowPart. More...
 
virtual mitk::Point3D GetSelectedPosition () const override
 Gets the selected position in the active render window part. More...
 
virtual void SetSelectedPosition (const mitk::Point3D &selectedPosition) override
 Sets the selected position in the active render window part. More...
 
- Public Member Functions inherited from niftk::VisibilityChangeObserver
 VisibilityChangeObserver ()
 
virtual ~VisibilityChangeObserver ()
 

Static Public Attributes

static const std::string VIEW_ID = "uk.ac.ucl.cmic.midasmorphologicalsegmentor"
 Each View for a plugin has its own globally unique ID. More...
 
- Static Public Attributes inherited from niftk::BaseSegmentorView
static const QString DEFAULT_COLOUR
 Stores the preference name of the default outline colour (defaults to pure green). More...
 
static const QString DEFAULT_COLOUR_STYLE_SHEET
 Stores the preference name of the default outline colour style sheet (defaults to pure green). More...
 

Protected Member Functions

virtual BaseSegmentorControllerCreateSegmentorController () override
 Creates the morphological segmentor controller that realises the GUI logic behind the view. More...
 
virtual void SetFocus () override
 Called by framework, sets the focus on a specific widget, but currently does nothing. More...
 
virtual QString GetPreferencesNodeName () override
 Returns the name of the preferences node to look up. More...
 
- Protected Member Functions inherited from niftk::BaseSegmentorView
virtual void Activated () override
 
virtual void Deactivated () override
 
virtual void Visible () override
 
virtual void Hidden () override
 
virtual void CreateQtPartControl (QWidget *parent) override
 Creates the GUI parts. More...
 
virtual void OnSelectionChanged (berry::IWorkbenchPart::Pointer part, const QList< mitk::DataNode::Pointer > &nodes) override
 
virtual void OnPreferencesChanged (const berry::IBerryPreferences *) override
 Called when preferences are updated. More...
 
virtual void RetrievePreferenceValues ()
 Retrieve's the pref values from preference service, and store locally. More...
 
- Protected Member Functions inherited from niftk::BaseView
virtual QWidget * GetParent ()
 
virtual void SetParent (QWidget *)
 Normally called from within CreateQtPartControl, we store the parent widget. More...
 
void SetViewToCoordinate (const mitk::Point3D &coordinate)
 Gets the current render window, and sets it to the given coordinate, specified in millimetres. More...
 

Additional Inherited Members

- Public Types inherited from niftk::BaseView
typedef QmitkAbstractView SuperClass
 
- Signals inherited from niftk::BaseSegmentorView
void InteractorRequest (const ctkDictionary &)
 Signal emmitted when we need to broadcast a request to turn interactors on/off. More...
 

Detailed Description

Provides the plugin component for the MIDAS brain segmentation functionality, originally developed at the Dementia Research Centre UCL.

This plugin implements the paper:

"Interactive algorithms for the segmentation and quantification of 3-D MRI brain scans" by P. A. Freeborough, N. C. Fox and R. I. Kitney, published in Computer Methods and Programs in Biomedicine 53 (1997) 15-25.

See also
BaseSegmentorView
niftkMorphologicalSegmentorPipelineManager
MorphologicalSegmentorPipeline
MorphologicalSegmentorPipelineInterface
MorphologicalSegmentorPipelineParams

Constructor & Destructor Documentation

niftk::MorphologicalSegmentorView::MorphologicalSegmentorView ( )

Constructor, but most GUI construction is done in CreateQtPartControl().

niftk::MorphologicalSegmentorView::MorphologicalSegmentorView ( const MorphologicalSegmentorView other)

Copy constructor which deliberately throws a runtime exception, as no-one should call it.

niftk::MorphologicalSegmentorView::~MorphologicalSegmentorView ( )
virtual

Destructor.

Member Function Documentation

BaseSegmentorController * niftk::MorphologicalSegmentorView::CreateSegmentorController ( )
overrideprotectedvirtual

Creates the morphological segmentor controller that realises the GUI logic behind the view.

Implements niftk::BaseSegmentorView.

QString niftk::MorphologicalSegmentorView::GetPreferencesNodeName ( )
overrideprotectedvirtual

Returns the name of the preferences node to look up.

Implements niftk::BaseSegmentorView.

std::string niftk::MorphologicalSegmentorView::GetViewID ( ) const
virtual

Returns VIEW_ID = uk.ac.ucl.cmic.midasmorphologicalsegmentor.

void niftk::MorphologicalSegmentorView::SetFocus ( )
overrideprotectedvirtual

Called by framework, sets the focus on a specific widget, but currently does nothing.

Member Data Documentation

const std::string niftk::MorphologicalSegmentorView::VIEW_ID = "uk.ac.ucl.cmic.midasmorphologicalsegmentor"
static

Each View for a plugin has its own globally unique ID.


The documentation for this class was generated from the following files: