13 #ifndef mitkDataNodeSource_h
14 #define mitkDataNodeSource_h
16 #include <itkProcessObject.h>
37 itkFactorylessNewMacro(Self);
55 DataObjectPointer
MakeOutput(DataObjectPointerArraySizeType idx)
override;
66 DataObjectPointer
MakeOutput(
const DataObjectIdentifierType &name)
override;
Superclass of all classes generating DataNode instances as output.
OutputType * GetOutput()
Get the primary output DataNode.
mitkClassMacroItkParent(DataNodeSource, itk::ProcessObject)
mitk::DataNode OutputType
The output data type (mitk::DataNode).
OutputType::Pointer OutputTypePointer
Pointer type for the output.
OutputType * GetOutput(DataObjectPointerArraySizeType idx)
Get the output DataNode at the given index.
~DataNodeSource() override
Destructor.
const OutputType * GetOutput() const
DataObjectPointer MakeOutput(const DataObjectIdentifierType &name) override
Allocate and return a new output object by name.
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Allocate and return a new output object.
DataNodeSource()
Constructor. Creates the initial output.
const OutputType * GetOutput(DataObjectPointerArraySizeType idx) const
Central node class of the MITK data tree, associating a data object with properties and mappers.
Find image slices visible on a given plane.