13 #ifndef mitkShowSegmentationAsSurface_h
14 #define mitkShowSegmentationAsSurface_h
50 mitk::Surface::Pointer ConvertBinaryImageToSurface(mitk::Image::Pointer binaryImage);
54 std::vector<DataNode::Pointer> m_SurfaceNodes;
55 bool m_IsLabelSetImage;
#define MITKSEGMENTATION_EXPORT
Base class for algorithms that can run in a background thread.
A NonBlockingAlgorithm that places segmentation results into the DataStorage.
Converts a segmentation image to a surface representation and adds it to the DataStorage.
bool ThreadedUpdateFunction() override
bool ReadyToRun() override
void Initialize(const NonBlockingAlgorithm *other=nullptr) override
~ShowSegmentationAsSurface() override
void ThreadedUpdateSuccessful() override
mitkClassMacro(ShowSegmentationAsSurface, SegmentationSink)
mitkAlgorithmNewMacro(ShowSegmentationAsSurface)
ShowSegmentationAsSurface()
Generates unique identifier strings.
Find image slices visible on a given plane.