Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::CalculateSegmentationVolume Class Reference

#include <mitkCalculateSegmentationVolume.h>

Inheritance diagram for mitk::CalculateSegmentationVolume:
Collaboration diagram for mitk::CalculateSegmentationVolume:

Public Member Functions

 mitkClassMacro (CalculateSegmentationVolume, SegmentationSink) mitkAlgorithmNewMacro(CalculateSegmentationVolume)
 
- Public Member Functions inherited from mitk::SegmentationSink
 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)
 
DataStorageGetDataStorage ()
 
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

 CalculateSegmentationVolume ()
 
virtual ~CalculateSegmentationVolume ()
 
virtual bool ReadyToRun () override
 
virtual bool ThreadedUpdateFunction () override
 
template<typename TPixel , unsigned int VImageDimension>
void ItkImageProcessing (itk::Image< TPixel, VImageDimension > *itkImage, TPixel *dummy=NULL)
 
- Protected Member Functions inherited from mitk::SegmentationSink
 SegmentationSink ()
 
virtual ~SegmentationSink ()
 
virtual void Initialize (const NonBlockingAlgorithm *other=nullptr) override
 
void InsertBelowGroupNode (mitk::DataNode *node)
 
DataNodeLookForPointerTargetBelowGroupNode (const char *name)
 
DataNodeGetGroupNode ()
 
- 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< DataStoragem_DataStorage
 

Detailed Description

Definition at line 26 of file mitkCalculateSegmentationVolume.h.

Constructor & Destructor Documentation

mitk::CalculateSegmentationVolume::CalculateSegmentationVolume ( )
protected

Definition at line 26 of file mitkCalculateSegmentationVolume.cpp.

mitk::CalculateSegmentationVolume::~CalculateSegmentationVolume ( )
protectedvirtual

Definition at line 27 of file mitkCalculateSegmentationVolume.cpp.

Member Function Documentation

template<typename TPixel , unsigned int VImageDimension>
void mitk::CalculateSegmentationVolume::ItkImageProcessing ( itk::Image< TPixel, VImageDimension > *  itkImage,
TPixel *  dummy = NULL 
)
protected

Definition at line 29 of file mitkCalculateSegmentationVolume.cpp.

References max(), and min().

Referenced by ThreadedUpdateFunction().

mitk::CalculateSegmentationVolume::mitkClassMacro ( CalculateSegmentationVolume  ,
SegmentationSink   
)
bool mitk::CalculateSegmentationVolume::ReadyToRun ( )
overrideprotectedvirtual

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