Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Micro Service Singleton to get an instance of mitk::ToolManager. More...
#include <mitkToolManagerProvider.h>
Public Member Functions | |
mitkClassMacroItkParent (ToolManagerProvider, itk::LightObject) | |
virtual mitk::ToolManager * | GetToolManager () |
Returns ToolManager object. More... | |
Static Public Member Functions | |
static mitk::ToolManagerProvider * | GetInstance () |
Returns an instance of ToolManagerProvider service. More... | |
Protected Member Functions | |
Pointer | Clone () const |
ToolManagerProvider () | |
virtual | ~ToolManagerProvider () |
ToolManagerProvider (const ToolManagerProvider &) | |
ToolManagerProvider & | operator= (const ToolManagerProvider &) |
Static Protected Member Functions | |
static Pointer | New () |
Protected Attributes | |
mitk::ToolManager::Pointer | m_ToolManager |
Micro Service Singleton to get an instance of mitk::ToolManager.
Implemented as a singleton to have implicitly only one instance of ToolManager. Use this service to make sure your Tools are managed by the object.
mitk::ToolManager* toolManager = mitk::ToolManagerProvider::GetInstance()->GetToolManager();
Definition at line 44 of file mitkToolManagerProvider.h.
|
protected |
Definition at line 23 of file mitkToolManagerProvider.cpp.
|
protectedvirtual |
Definition at line 27 of file mitkToolManagerProvider.cpp.
|
protected |
|
protected |
|
static |
Returns an instance of ToolManagerProvider service.
Definition at line 37 of file mitkToolManagerProvider.cpp.
References us::GetModuleContext().
Referenced by mitk::SegmentationInteractor::ChangeActiveLabel(), QmitkSurfaceStampWidget::OnStamp(), QmitkLabelSetWidget::QmitkLabelSetWidget(), QmitkMaskStampWidget::QmitkMaskStampWidget(), QmitkSliceBasedInterpolatorWidget::QmitkSliceBasedInterpolatorWidget(), QmitkSurfaceBasedInterpolatorWidget::QmitkSurfaceBasedInterpolatorWidget(), QmitkSurfaceStampWidget::QmitkSurfaceStampWidget(), QmitkToolReferenceDataSelectionBox::QmitkToolReferenceDataSelectionBox(), QmitkToolRoiDataSelectionBox::QmitkToolRoiDataSelectionBox(), QmitkToolSelectionBox::QmitkToolSelectionBox(), and QmitkToolWorkingDataSelectionBox::QmitkToolWorkingDataSelectionBox().
|
virtual |
Returns ToolManager object.
Definition at line 32 of file mitkToolManagerProvider.cpp.
Referenced by mitk::SegmentationInteractor::ChangeActiveLabel(), QmitkSurfaceStampWidget::OnStamp(), QmitkLabelSetWidget::QmitkLabelSetWidget(), QmitkMaskStampWidget::QmitkMaskStampWidget(), QmitkSliceBasedInterpolatorWidget::QmitkSliceBasedInterpolatorWidget(), QmitkSurfaceBasedInterpolatorWidget::QmitkSurfaceBasedInterpolatorWidget(), QmitkSurfaceStampWidget::QmitkSurfaceStampWidget(), QmitkToolReferenceDataSelectionBox::QmitkToolReferenceDataSelectionBox(), QmitkToolRoiDataSelectionBox::QmitkToolRoiDataSelectionBox(), QmitkToolSelectionBox::QmitkToolSelectionBox(), and QmitkToolWorkingDataSelectionBox::QmitkToolWorkingDataSelectionBox().
mitk::ToolManagerProvider::mitkClassMacroItkParent | ( | ToolManagerProvider | , |
itk::LightObject | |||
) |
|
staticprotected |
|
protected |
|
protected |
Definition at line 72 of file mitkToolManagerProvider.h.