Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
#include <mitkNonBlockingAlgorithm.h>
Public Member Functions | |
mitkClassMacroItkParent (NonBlockingAlgorithm, itk::Object) | |
void | SetDataStorage (DataStorage &storage) |
DataStorage * | GetDataStorage () |
template<typename T > | |
void | SetParameter (const char *parameter, const T &value) |
For any kind of normal types. More... | |
template<typename T > | |
void | SetPointerParameter (const char *parameter, const itk::SmartPointer< T > &value) |
For any kind of smart pointers. More... | |
void | SetPointerParameter (const char *parameter, BaseData *value) |
For any kind of BaseData, like Image, Surface, etc. Will be stored inside some SmartPointerProperty. More... | |
template<typename TPixel , unsigned int VImageDimension> | |
void | SetItkImageAsMITKImagePointerParameter (const char *parameter, itk::Image< TPixel, VImageDimension > *itkImage) |
For any kind of ITK images (C pointers) More... | |
template<typename TPixel , unsigned int VImageDimension> | |
void | SetItkImageAsMITKImagePointerParameter (const char *parameter, const itk::SmartPointer< itk::Image< TPixel, VImageDimension >> &itkImage) |
For any kind of ITK images (smartpointers) More... | |
template<typename T > | |
void | GetParameter (const char *parameter, T &value) const |
template<typename T > | |
void | GetPointerParameter (const char *parameter, itk::SmartPointer< T > &value) const |
virtual void | Reset () |
void | StartAlgorithm () |
void | StartBlockingAlgorithm () |
void | StopAlgorithm () |
void | TriggerParameterModified (const itk::EventObject &) |
void | ThreadedUpdateSuccessful (const itk::EventObject &) |
void | ThreadedUpdateFailed (const itk::EventObject &) |
Protected Member Functions | |
NonBlockingAlgorithm () | |
~NonBlockingAlgorithm () override | |
void | DefineTriggerParameter (const char *) |
void | UnDefineTriggerParameter (const char *) |
virtual void | Initialize (const NonBlockingAlgorithm *other=nullptr) |
virtual bool | ReadyToRun () |
virtual bool | ThreadedUpdateFunction () |
virtual void | ThreadedUpdateSuccessful () |
virtual void | ThreadedUpdateFailed () |
Protected Attributes | |
PropertyList::Pointer | m_Parameters |
WeakPointer< DataStorage > | m_DataStorage |
Invokes ResultsAvailable with each new result
done centralize use of itk::MultiThreader in this class
Definition at line 78 of file mitkNonBlockingAlgorithm.h.
|
protected |
|
overrideprotected |
|
protected |
DataStorage* mitk::NonBlockingAlgorithm::GetDataStorage | ( | ) |
|
inline |
Definition at line 144 of file mitkNonBlockingAlgorithm.h.
References mitk::GenericProperty< T >::GetValue().
|
inline |
Definition at line 165 of file mitkNonBlockingAlgorithm.h.
References mitk::SmartPointerProperty::GetSmartPointer().
|
protectedvirtual |
mitk::NonBlockingAlgorithm::mitkClassMacroItkParent | ( | NonBlockingAlgorithm | , |
itk::Object | |||
) |
|
protectedvirtual |
|
virtual |
void mitk::NonBlockingAlgorithm::SetDataStorage | ( | DataStorage & | storage | ) |
|
inline |
For any kind of ITK images (smartpointers)
Definition at line 130 of file mitkNonBlockingAlgorithm.h.
References mitk::ImportItkImage(), and mitk::Image::New().
|
inline |
For any kind of ITK images (C pointers)
Definition at line 118 of file mitkNonBlockingAlgorithm.h.
References mitk::ImportItkImage(), and mitk::Image::New().
|
inline |
For any kind of normal types.
Definition at line 90 of file mitkNonBlockingAlgorithm.h.
void mitk::NonBlockingAlgorithm::SetPointerParameter | ( | const char * | parameter, |
BaseData * | value | ||
) |
For any kind of BaseData, like Image, Surface, etc. Will be stored inside some SmartPointerProperty.
|
inline |
For any kind of smart pointers.
Definition at line 100 of file mitkNonBlockingAlgorithm.h.
References mitk::SmartPointerProperty::New().
void mitk::NonBlockingAlgorithm::StartAlgorithm | ( | ) |
void mitk::NonBlockingAlgorithm::StartBlockingAlgorithm | ( | ) |
void mitk::NonBlockingAlgorithm::StopAlgorithm | ( | ) |
|
protectedvirtual |
void mitk::NonBlockingAlgorithm::ThreadedUpdateFailed | ( | const itk::EventObject & | ) |
|
protectedvirtual |
|
protectedvirtual |
void mitk::NonBlockingAlgorithm::ThreadedUpdateSuccessful | ( | const itk::EventObject & | ) |
void mitk::NonBlockingAlgorithm::TriggerParameterModified | ( | const itk::EventObject & | ) |
|
protected |
|
protected |
Definition at line 220 of file mitkNonBlockingAlgorithm.h.
|
protected |
Definition at line 218 of file mitkNonBlockingAlgorithm.h.