30 this->GraftNthOutput(0, graft);
37 itkExceptionMacro(<<
"Requested to graft output that is a NULL pointer");
42 itk::DataObject *output = this->ProcessObject::GetOutput(key);
50 if (idx >= this->GetNumberOfIndexedOutputs())
52 itkExceptionMacro(<<
"Requested to graft output " << idx <<
" but this filter only has "
53 << this->GetNumberOfIndexedOutputs()
54 <<
" indexed Outputs.");
56 this->GraftOutput(this->MakeNameFromOutputIndex(idx), graft);
61 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.
bool Updating() const
Access itk::ProcessObject::m_Updating.
Superclass of all classes generating some kind of mitk::BaseData.
virtual ~BaseDataSource()
virtual void GraftOutput(OutputType *output)
Graft the specified BaseData onto this BaseDataSource's output.
#define mitkBaseDataSourceGetOutputDefinitions(className)