Medical Imaging Interaction Toolkit  2024.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 {
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 
36  void InsertBelowGroupNode(mitk::DataNode *node);
37  DataNode *LookForPointerTargetBelowGroupNode(const char *name);
38  DataNode *GetGroupNode();
39 
40  private:
41  };
42 
43 } // namespace
44 
45 #endif
mitkNonBlockingAlgorithm.h
MitkAlgorithmsExtExports.h
MITKALGORITHMSEXT_EXPORT
#define MITKALGORITHMSEXT_EXPORT
Definition: MitkAlgorithmsExtExports.h:15
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::NonBlockingAlgorithm
Definition: mitkNonBlockingAlgorithm.h:78
mitkAlgorithmNewMacro
#define mitkAlgorithmNewMacro(classname)
Definition: mitkNonBlockingAlgorithm.h:38
mitk::SegmentationSink
Definition: mitkSegmentationSink.h:21
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63