Medical Imaging Interaction Toolkit  2025.12.02
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 {
22  {
23  public:
26 
27  protected:
28  SegmentationSink(); // use smart pointers
29  ~SegmentationSink() override;
30 
31  void Initialize(const NonBlockingAlgorithm *other = nullptr) override;
32  bool ReadyToRun() override;
33 
34  bool ThreadedUpdateFunction() override; // will be called from a thread after calling StartAlgorithm
35 
39 
40  private:
41  };
42 
43 } // namespace
44 
45 #endif
#define MITKALGORITHMSEXT_EXPORT
Class for nodes of the DataTree.
Definition: mitkDataNode.h:64
~SegmentationSink() override
void InsertBelowGroupNode(mitk::DataNode *node)
mitkClassMacro(SegmentationSink, NonBlockingAlgorithm)
bool ThreadedUpdateFunction() override
void Initialize(const NonBlockingAlgorithm *other=nullptr) override
DataNode * LookForPointerTargetBelowGroupNode(const char *name)
DataNode * GetGroupNode()
bool ReadyToRun() override
#define mitkAlgorithmNewMacro(classname)
Find image slices visible on a given plane.