Medical Imaging Interaction Toolkit  2018.4.99-08619e4f
Medical Imaging Interaction Toolkit
QmitkAbstractDataNodeAction Class Referenceabstract

#include <QmitkAbstractDataNodeAction.h>

Inheritance diagram for QmitkAbstractDataNodeAction:
Collaboration diagram for QmitkAbstractDataNodeAction:

Public Member Functions

 QmitkAbstractDataNodeAction (berry::IWorkbenchPartSite::Pointer workbenchPartSite)
 
 QmitkAbstractDataNodeAction (berry::IWorkbenchPartSite *workbenchPartSite)
 
void SetDataStorage (mitk::DataStorage *dataStorage)
 
void SetSelectedNodes (const QList< mitk::DataNode::Pointer > &selectedNodes)
 
void SetBaseRenderer (mitk::BaseRenderer *baseRenderer)
 
virtual void InitializeWithDataNode (const mitk::DataNode *)
 

Protected Member Functions

virtual void InitializeAction ()=0
 
mitk::BaseRenderer::Pointer GetBaseRenderer ()
 Grants access to the base renderer stored for the action. Will return nullptr if renderer was never set or has become invalid. More...
 
mitk::DataNode::Pointer GetSelectedNode () const
 
QList< mitk::DataNode::PointerGetSelectedNodes () const
 

Protected Attributes

berry::IWorkbenchPartSite::WeakPtr m_WorkbenchPartSite
 
mitk::WeakPointer< mitk::DataStoragem_DataStorage
 
QList< mitk::DataNode::Pointerm_SelectedNodes
 

Detailed Description

Definition at line 34 of file QmitkAbstractDataNodeAction.h.

Constructor & Destructor Documentation

◆ QmitkAbstractDataNodeAction() [1/2]

QmitkAbstractDataNodeAction::QmitkAbstractDataNodeAction ( berry::IWorkbenchPartSite::Pointer  workbenchPartSite)

Definition at line 42 of file QmitkAbstractDataNodeAction.cpp.

References m_WorkbenchPartSite.

◆ QmitkAbstractDataNodeAction() [2/2]

QmitkAbstractDataNodeAction::QmitkAbstractDataNodeAction ( berry::IWorkbenchPartSite workbenchPartSite)

Definition at line 47 of file QmitkAbstractDataNodeAction.cpp.

References m_WorkbenchPartSite.

Member Function Documentation

◆ GetBaseRenderer()

◆ GetSelectedNode()

◆ GetSelectedNodes()

◆ InitializeAction()

◆ InitializeWithDataNode()

virtual void QmitkAbstractDataNodeAction::InitializeWithDataNode ( const mitk::DataNode )
inlinevirtual

◆ SetBaseRenderer()

void QmitkAbstractDataNodeAction::SetBaseRenderer ( mitk::BaseRenderer baseRenderer)

◆ SetDataStorage()

void QmitkAbstractDataNodeAction::SetDataStorage ( mitk::DataStorage dataStorage)

Definition at line 52 of file QmitkAbstractDataNodeAction.cpp.

References m_DataStorage.

Referenced by QmitkDataNodeContextMenu::SetDataStorage().

◆ SetSelectedNodes()

void QmitkAbstractDataNodeAction::SetSelectedNodes ( const QList< mitk::DataNode::Pointer > &  selectedNodes)

Member Data Documentation

◆ m_DataStorage

◆ m_SelectedNodes

QList<mitk::DataNode::Pointer> QmitkAbstractDataNodeAction::m_SelectedNodes
protected

Definition at line 63 of file QmitkAbstractDataNodeAction.h.

Referenced by GetSelectedNodes(), and SetSelectedNodes().

◆ m_WorkbenchPartSite


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