Medical Imaging Interaction Toolkit
2024.06.99-caca2dd0
Medical Imaging Interaction Toolkit
|
Superclass of all classes generating data tree nodes (instances of class mitk::DataNode) as output. More...
#include <mitkDataNodeSource.h>
Public Types | |
typedef DataNodeSource | Self |
typedef itk::ProcessObject | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef mitk::DataNode | OutputType |
typedef OutputType::Pointer | OutputTypePointer |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const |
virtual const char * | GetClassName () const |
Pointer | Clone () const |
DataObjectPointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
DataObjectPointer | MakeOutput (const DataObjectIdentifierType &name) override |
OutputType * | GetOutput () |
const OutputType * | GetOutput () const |
OutputType * | GetOutput (DataObjectPointerArraySizeType idx) |
const OutputType * | GetOutput (DataObjectPointerArraySizeType idx) const |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Protected Member Functions | |
DataNodeSource () | |
~DataNodeSource () override | |
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.
typedef itk::SmartPointer<const Self> mitk::DataNodeSource::ConstPointer |
Definition at line 35 of file mitkDataNodeSource.h.
Definition at line 39 of file mitkDataNodeSource.h.
Definition at line 43 of file mitkDataNodeSource.h.
Definition at line 35 of file mitkDataNodeSource.h.
Definition at line 35 of file mitkDataNodeSource.h.
typedef itk::ProcessObject mitk::DataNodeSource::Superclass |
Definition at line 35 of file mitkDataNodeSource.h.
|
protected |
|
overrideprotected |
Pointer mitk::DataNodeSource::Clone | ( | ) | const |
|
inlinevirtual |
Definition at line 35 of file mitkDataNodeSource.h.
|
virtual |
OutputType* mitk::DataNodeSource::GetOutput | ( | ) |
const OutputType* mitk::DataNodeSource::GetOutput | ( | ) | const |
OutputType* mitk::DataNodeSource::GetOutput | ( | DataObjectPointerArraySizeType | idx | ) |
const OutputType* mitk::DataNodeSource::GetOutput | ( | DataObjectPointerArraySizeType | idx | ) | const |
|
inlinestatic |
Definition at line 35 of file mitkDataNodeSource.h.
|
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.
|
override |
Allocates a new output object and returns it. Currently the index idx is not evaluated.
idx | the index of the output for which an object should be created |
|
static |