Superclass of all classes generating data tree nodes (instances of class mitk::DataNode) as output.
More...
#include <mitkDataNodeSource.h>
Superclass of all classes generating data tree nodes (instances of class mitk::DataNode) 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 access of the data stored in the DataObject. This is also true for subclasses of mitk::BaseProcess and thus for mitk::DataNodeSource.
Definition at line 32 of file mitkDataNodeSource.h.
◆ OutputType
◆ OutputTypePointer
◆ DataNodeSource()
| mitk::DataNodeSource::DataNodeSource |
( |
| ) |
|
|
protected |
◆ ~DataNodeSource()
| mitk::DataNodeSource::~DataNodeSource |
( |
| ) |
|
|
overrideprotected |
◆ Clone()
| Pointer mitk::DataNodeSource::Clone |
( |
| ) |
const |
◆ GetOutput() [1/4]
◆ GetOutput() [2/4]
| const OutputType* mitk::DataNodeSource::GetOutput |
( |
| ) |
const |
◆ GetOutput() [3/4]
| OutputType* mitk::DataNodeSource::GetOutput |
( |
DataObjectPointerArraySizeType |
idx | ) |
|
◆ GetOutput() [4/4]
| const OutputType* mitk::DataNodeSource::GetOutput |
( |
DataObjectPointerArraySizeType |
idx | ) |
const |
◆ MakeOutput() [1/2]
| DataObjectPointer mitk::DataNodeSource::MakeOutput |
( |
const DataObjectIdentifierType & |
name | ) |
|
|
override |
This is a default implementation to make sure we have something. Once all the subclasses of ProcessObject provide an appropriate MakeOutput(), then ProcessObject::MakeOutput() can be made pure virtual.
◆ MakeOutput() [2/2]
| DataObjectPointer mitk::DataNodeSource::MakeOutput |
( |
DataObjectPointerArraySizeType |
idx | ) |
|
|
override |
Allocates a new output object and returns it. Currently the index idx is not evaluated.
- Parameters
-
| idx | the index of the output for which an object should be created |
- Returns
- the new object
◆ 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: