Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkSegmentationSink.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkSegmentationSink_h
14 #define mitkSegmentationSink_h
15 
18 
19 namespace mitk
20 {
33  {
34  public:
37 
38  protected:
39  SegmentationSink(); // use smart pointers
40  ~SegmentationSink() override;
41 
42  void Initialize(const NonBlockingAlgorithm *other = nullptr) override;
43  bool ReadyToRun() override;
44 
45  bool ThreadedUpdateFunction() override; // will be called from a thread after calling StartAlgorithm
46 
50 
51  private:
52  };
53 
54 } // namespace
55 
56 #endif
#define MITKALGORITHMSEXT_EXPORT
Central node class of the MITK data tree, associating a data object with properties and mappers.
Definition: mitkDataNode.h:72
Base class for algorithms that can run in a background thread.
A NonBlockingAlgorithm that places segmentation results into the DataStorage.
~SegmentationSink() override
void InsertBelowGroupNode(mitk::DataNode *node)
mitkClassMacro(SegmentationSink, NonBlockingAlgorithm)
bool ThreadedUpdateFunction() override
mitkAlgorithmNewMacro(SegmentationSink)
void Initialize(const NonBlockingAlgorithm *other=nullptr) override
DataNode * LookForPointerTargetBelowGroupNode(const char *name)
DataNode * GetGroupNode()
bool ReadyToRun() override
Find image slices visible on a given plane.