Medical Imaging Interaction Toolkit  2024.06.00
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)

◆ QmitkAbstractDataNodeAction() [2/2]

QmitkAbstractDataNodeAction::QmitkAbstractDataNodeAction ( berry::IWorkbenchPartSite workbenchPartSite)

Member Function Documentation

◆ GetBaseRenderer()

mitk::BaseRenderer::Pointer QmitkAbstractDataNodeAction::GetBaseRenderer ( )
protected

Grants access to the base renderer stored for the action. Will return nullptr if renderer was never set or has become invalid.

◆ GetSelectedNode()

mitk::DataNode::Pointer QmitkAbstractDataNodeAction::GetSelectedNode ( ) const
protected

◆ GetSelectedNodes()

QList<mitk::DataNode::Pointer> QmitkAbstractDataNodeAction::GetSelectedNodes ( ) const
protected

◆ InitializeAction()

◆ InitializeWithDataNode()

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

◆ SetBaseRenderer()

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

◆ SetDataStorage()

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

◆ SetSelectedNodes()

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

Member Data Documentation

◆ m_DataStorage

mitk::WeakPointer<mitk::DataStorage> QmitkAbstractDataNodeAction::m_DataStorage
protected

Definition at line 62 of file QmitkAbstractDataNodeAction.h.

◆ m_SelectedNodes

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

Definition at line 63 of file QmitkAbstractDataNodeAction.h.

◆ m_WorkbenchPartSite

berry::IWorkbenchPartSite::WeakPtr QmitkAbstractDataNodeAction::m_WorkbenchPartSite
protected

Definition at line 61 of file QmitkAbstractDataNodeAction.h.


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