Superclass of all classes generating DataNode instances as output.
More...
#include <mitkDataNodeSource.h>
Superclass of all classes generating DataNode instances as output.
In ITK and VTK the generated result of a ProcessObject is only guaranteed to be up-to-date when Update() of the ProcessObject or the generated DataObject is called immediately before accessing the stored data. This is also true for subclasses of mitk::DataNodeSource.
- See also
- DataNode
Definition at line 32 of file mitkDataNodeSource.h.
◆ OutputType
◆ OutputTypePointer
◆ DataNodeSource()
| mitk::DataNodeSource::DataNodeSource |
( |
| ) |
|
|
protected |
Constructor. Creates the initial output.
◆ ~DataNodeSource()
| mitk::DataNodeSource::~DataNodeSource |
( |
| ) |
|
|
overrideprotected |
◆ Clone()
| Pointer mitk::DataNodeSource::Clone |
( |
| ) |
const |
◆ GetOutput() [1/4]
Get the primary output DataNode.
- Returns
- Pointer to the primary output.
◆ GetOutput() [2/4]
| const OutputType* mitk::DataNodeSource::GetOutput |
( |
| ) |
const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ GetOutput() [3/4]
| OutputType* mitk::DataNodeSource::GetOutput |
( |
DataObjectPointerArraySizeType |
idx | ) |
|
Get the output DataNode at the given index.
- Parameters
-
- Returns
- Pointer to the requested output.
◆ GetOutput() [4/4]
| const OutputType* mitk::DataNodeSource::GetOutput |
( |
DataObjectPointerArraySizeType |
idx | ) |
const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ MakeOutput() [1/2]
| DataObjectPointer mitk::DataNodeSource::MakeOutput |
( |
const DataObjectIdentifierType & |
name | ) |
|
|
override |
Allocate and return a new output object by name.
Default implementation that creates a new DataNode. If the name corresponds to an indexed output, the indexed version is called.
- Parameters
-
| name | The identifier of the output. |
- Returns
- A smart pointer to the newly created DataNode.
◆ MakeOutput() [2/2]
| DataObjectPointer mitk::DataNodeSource::MakeOutput |
( |
DataObjectPointerArraySizeType |
idx | ) |
|
|
override |
Allocate and return a new output object.
Currently the index is not evaluated; a new DataNode is always created.
- Parameters
-
| idx | The index of the output for which an object should be created. |
- Returns
- A smart pointer to the newly created DataNode.
◆ mitkClassMacroItkParent()
| mitk::DataNodeSource::mitkClassMacroItkParent |
( |
DataNodeSource |
, |
|
|
itk::ProcessObject |
|
|
) |
| |
◆ New()
| static Pointer mitk::DataNodeSource::New |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: