33 itkExceptionMacro(<<
"Requested to graft output that is a nullptr pointer");
38 itk::DataObject *output = this->ProcessObject::GetOutput(key);
46 if (idx >= this->GetNumberOfIndexedOutputs())
48 itkExceptionMacro(<<
"Requested to graft output " << idx <<
" but this filter only has " 49 << this->GetNumberOfIndexedOutputs()
50 <<
" indexed Outputs.");
52 this->
GraftOutput(this->MakeNameFromOutputIndex(idx), graft);
57 return this->m_Updating;
itk::DataObject::DataObjectIdentifierType DataObjectIdentifierType
Base of all data objects.
virtual void GraftNthOutput(unsigned int idx, OutputType *output)
Graft the specified base data object onto this BaseDataSource's idx'th output.
~BaseDataSource() override
Superclass of all classes generating some kind of mitk::BaseData.
bool Updating() const
Access itk::ProcessObject::m_Updating.
virtual void GraftOutput(OutputType *output)
Graft the specified BaseData onto this BaseDataSource's output.
#define mitkBaseDataSourceGetOutputDefinitions(className)