Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkSegmentationSink.h>
Public Member Functions | |
mitkClassMacro (SegmentationSink, NonBlockingAlgorithm) static Pointer New(void) | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const override |
Public Member Functions inherited from mitk::NonBlockingAlgorithm | |
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 | |
SegmentationSink () | |
virtual | ~SegmentationSink () |
virtual void | Initialize (const NonBlockingAlgorithm *other=nullptr) override |
virtual bool | ReadyToRun () override |
virtual bool | ThreadedUpdateFunction () override |
void | InsertBelowGroupNode (mitk::DataNode *node) |
DataNode * | LookForPointerTargetBelowGroupNode (const char *name) |
DataNode * | GetGroupNode () |
Protected Member Functions inherited from mitk::NonBlockingAlgorithm | |
NonBlockingAlgorithm () | |
virtual | ~NonBlockingAlgorithm () |
void | DefineTriggerParameter (const char *) |
void | UnDefineTriggerParameter (const char *) |
virtual void | ThreadedUpdateSuccessful () |
virtual void | ThreadedUpdateFailed () |
Additional Inherited Members | |
Protected Attributes inherited from mitk::NonBlockingAlgorithm | |
PropertyList::Pointer | m_Parameters |
WeakPointer< DataStorage > | m_DataStorage |
Definition at line 25 of file mitkSegmentationSink.h.
|
protected |
Definition at line 23 of file mitkSegmentationSink.cpp.
|
protectedvirtual |
Definition at line 24 of file mitkSegmentationSink.cpp.
|
inlineoverride |
Definition at line 28 of file mitkSegmentationSink.h.
|
protected |
Definition at line 74 of file mitkSegmentationSink.cpp.
References mitk::NonBlockingAlgorithm::GetPointerParameter().
Referenced by InsertBelowGroupNode(), mitk::CalculateSegmentationVolume::ReadyToRun(), mitk::ShowSegmentationAsSurface::ReadyToRun(), mitk::LabelSetImageToSurfaceThreadedFilter::ReadyToRun(), mitk::CalculateSegmentationVolume::ThreadedUpdateFunction(), mitk::ShowSegmentationAsSurface::ThreadedUpdateSuccessful(), and mitk::LabelSetImageToSurfaceThreadedFilter::ThreadedUpdateSuccessful().
|
overrideprotectedvirtual |
Reimplemented from mitk::NonBlockingAlgorithm.
Reimplemented in mitk::LabelSetImageToSurfaceThreadedFilter, mitk::ShowSegmentationAsSurface, and mitk::ShowSegmentationAsSmoothedSurface.
Definition at line 25 of file mitkSegmentationSink.cpp.
References mitk::NonBlockingAlgorithm::GetParameter(), mitk::NonBlockingAlgorithm::GetPointerParameter(), mitk::NonBlockingAlgorithm::SetParameter(), mitk::NonBlockingAlgorithm::SetPointerParameter(), and mitk::NonBlockingAlgorithm::UnDefineTriggerParameter().
|
protected |
to be called by subclasses when they want to insert some resulting object (binary image, surface, ...) into the data tree
Definition at line 60 of file mitkSegmentationSink.cpp.
References mitk::DataNode::GetData(), GetGroupNode(), mitk::RenderingManager::GetInstance(), mitk::NonBlockingAlgorithm::m_DataStorage, and mitk::RenderingManager::RequestUpdateAll().
Referenced by mitk::LabelSetImageToSurfaceThreadedFilter::ThreadedUpdateSuccessful(), and mitk::ShowSegmentationAsSurface::ThreadedUpdateSuccessful().
|
protected |
Definition at line 82 of file mitkSegmentationSink.cpp.
References mitk::NonBlockingAlgorithm::GetPointerParameter(), and mitk::NonBlockingAlgorithm::m_DataStorage.
|
inline |
Definition at line 28 of file mitkSegmentationSink.h.
|
overrideprotectedvirtual |
Reimplemented from mitk::NonBlockingAlgorithm.
Reimplemented in mitk::LabelSetImageToSurfaceThreadedFilter, mitk::ShowSegmentationAsSurface, mitk::CalculateSegmentationVolume, and mitk::ShowSegmentationAsSmoothedSurface.
Definition at line 46 of file mitkSegmentationSink.cpp.
References mitk::NonBlockingAlgorithm::GetPointerParameter().
|
overrideprotectedvirtual |
Reimplemented from mitk::NonBlockingAlgorithm.
Reimplemented in mitk::LabelSetImageToSurfaceThreadedFilter, mitk::ShowSegmentationAsSurface, mitk::CalculateSegmentationVolume, and mitk::ShowSegmentationAsSmoothedSurface.
Definition at line 57 of file mitkSegmentationSink.cpp.