Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::DataNodeSource Class Reference

Superclass of all classes generating data tree nodes (instances of class mitk::DataNode) as output. More...

#include <mitkDataNodeSource.h>

Inheritance diagram for mitk::DataNodeSource:
Collaboration diagram for mitk::DataNodeSource:

Public Types

typedef DataNodeSource Self
 
typedef itk::ProcessObject Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
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
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &name) override
 
OutputTypeGetOutput ()
 
const OutputTypeGetOutput () const
 
OutputTypeGetOutput (DataObjectPointerArraySizeType idx)
 
const OutputTypeGetOutput (DataObjectPointerArraySizeType idx) const
 

Static Public Member Functions

static const char * GetStaticNameOfClass ()
 
static Pointer New ()
 

Protected Member Functions

 DataNodeSource ()
 
virtual ~DataNodeSource ()
 

Detailed Description

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 36 of file mitkDataNodeSource.h.

Member Typedef Documentation

typedef itk::ProcessObject mitk::DataNodeSource::Superclass

Definition at line 39 of file mitkDataNodeSource.h.

Constructor & Destructor Documentation

mitk::DataNodeSource::DataNodeSource ( )
protected

Definition at line 19 of file mitkDataNodeSource.cpp.

References MakeOutput().

mitk::DataNodeSource::~DataNodeSource ( )
protectedvirtual

Definition at line 26 of file mitkDataNodeSource.cpp.

Member Function Documentation

Pointer mitk::DataNodeSource::Clone ( ) const
virtual std::vector<std::string> mitk::DataNodeSource::GetClassHierarchy ( ) const
inlinevirtual

Definition at line 39 of file mitkDataNodeSource.h.

virtual const char* mitk::DataNodeSource::GetClassName ( ) const
virtual
mitk::DataNodeSource::OutputType * mitk::DataNodeSource::GetOutput ( )

Definition at line 45 of file mitkDataNodeSource.cpp.

const mitk::DataNodeSource::OutputType * mitk::DataNodeSource::GetOutput ( ) const

Definition at line 50 of file mitkDataNodeSource.cpp.

mitk::DataNodeSource::OutputType * mitk::DataNodeSource::GetOutput ( DataObjectPointerArraySizeType  idx)

Definition at line 55 of file mitkDataNodeSource.cpp.

const mitk::DataNodeSource::OutputType * mitk::DataNodeSource::GetOutput ( DataObjectPointerArraySizeType  idx) const

Definition at line 60 of file mitkDataNodeSource.cpp.

static const char* mitk::DataNodeSource::GetStaticNameOfClass ( )
inlinestatic

Definition at line 39 of file mitkDataNodeSource.h.

itk::ProcessObject::DataObjectPointer mitk::DataNodeSource::MakeOutput ( DataObjectPointerArraySizeType  idx)
overridevirtual

Allocates a new output object and returns it. Currently the index idx is not evaluated.

Parameters
idxthe index of the output for which an object should be created
Returns
the new object

Definition at line 30 of file mitkDataNodeSource.cpp.

References mitk::New().

Referenced by DataNodeSource().

itk::ProcessObject::DataObjectPointer mitk::DataNodeSource::MakeOutput ( const DataObjectIdentifierType &  name)
overridevirtual

This is a default implementation to make sure we have something. Once all the subclasses of ProcessObject provide an appopriate MakeOutput(), then ProcessObject::MakeOutput() can be made pure virtual.

Definition at line 35 of file mitkDataNodeSource.cpp.

References mitk::New().

static Pointer mitk::DataNodeSource::New ( )
static

The documentation for this class was generated from the following files: