Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitkDataNodeSource.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 mitkDataNodeSource_h
14 #define mitkDataNodeSource_h
15 
16 #include "itkProcessObject.h"
17 #include "mitkDataNode.h"
18 
19 namespace mitk
20 {
32  class MITKCORE_EXPORT DataNodeSource : public itk::ProcessObject
33  {
34  public:
36 
37  itkFactorylessNewMacro(Self);
38 
39  itkCloneMacro(Self);
40 
41  typedef mitk::DataNode OutputType;
42 
44 
51  DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override;
52 
59  DataObjectPointer MakeOutput(const DataObjectIdentifierType &name) override;
60 
61  OutputType *GetOutput();
62  const OutputType *GetOutput() const;
63  OutputType *GetOutput(DataObjectPointerArraySizeType idx);
64  const OutputType *GetOutput(DataObjectPointerArraySizeType idx) const;
65 
66  protected:
68 
69  ~DataNodeSource() override;
70  };
71 }
72 #endif
mitk::DataNodeSource::OutputType
mitk::DataNode OutputType
Definition: mitkDataNodeSource.h:39
itk::SmartPointer< Self >
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:45
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::DataNodeSource
Superclass of all classes generating data tree nodes (instances of class mitk::DataNode) as output.
Definition: mitkDataNodeSource.h:32
mitk::DataNodeSource::OutputTypePointer
OutputType::Pointer OutputTypePointer
Definition: mitkDataNodeSource.h:43
mitkDataNode.h
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63