Medical Imaging Interaction Toolkit  2018.04.99-74b4982f
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 MITK_SEGMENTATION_SINK_H_INCLUDET_WAD
14 #define MITK_SEGMENTATION_SINK_H_INCLUDET_WAD
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
#define mitkAlgorithmNewMacro(classname)
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKALGORITHMSEXT_EXPORT
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
Class for nodes of the DataTree.
Definition: mitkDataNode.h:57