MCPcopy Create free account
hub / github.com/MITK/MITK / GraftNthOutput

Method GraftNthOutput

Modules/Core/src/Algorithms/mitkBaseDataSource.cpp:44–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void mitk::BaseDataSource::GraftNthOutput(unsigned int idx, OutputType *graft)
45{
46 if (idx >= this->GetNumberOfIndexedOutputs())
47 {
48 itkExceptionMacro(<< "Requested to graft output " << idx << " but this filter only has "
49 << this->GetNumberOfIndexedOutputs()
50 << " indexed Outputs.");
51 }
52 this->GraftOutput(this->MakeNameFromOutputIndex(idx), graft);
53}
54
55bool mitk::BaseDataSource::Updating() const
56{

Callers 1

GraftOutputMethod · 0.95

Calls 1

GraftOutputMethod · 0.95

Tested by

no test coverage detected