18 itk::DataObject::Pointer output = this->
MakeOutput(0);
19 Superclass::SetNumberOfRequiredOutputs(1);
20 Superclass::SetNthOutput(0, output);
34 itkDebugMacro(
"MakeOutput(" << name <<
")");
35 if (this->IsIndexedOutputName(name))
37 return this->
MakeOutput(this->MakeIndexFromOutputName(name));
44 this->ProcessObject::GenerateInputRequestedRegion();
62 output->CopyInformation(graft);
68 return itkDynamicCastInDebugMode<OutputType *>(this->GetPrimaryOutput());
73 return itkDynamicCastInDebugMode<const OutputType *>(this->GetPrimaryOutput());
77 itk::ProcessObject::DataObjectPointerArraySizeType idx)
80 if (out ==
nullptr && this->ProcessObject::GetOutput(idx) !=
nullptr)
82 itkWarningMacro(<<
"Unable to convert output number " << idx <<
" to type " <<
typeid(
OutputType).name());
88 itk::ProcessObject::DataObjectPointerArraySizeType idx)
const 91 if (out ==
nullptr && this->ProcessObject::GetOutput(idx) !=
nullptr)
93 itkWarningMacro(<<
"Unable to convert output number " << idx <<
" to type " <<
typeid(
OutputType).name());
~LookupTableSource() override
virtual void GraftOutput(OutputType *output)
void GenerateInputRequestedRegion() override
itk::DataObject::Pointer MakeOutput(DataObjectPointerArraySizeType idx) override
virtual OutputType * GetOutput()
The LookupTable class mitk wrapper for a vtkLookupTableThis class can be used to color images with a ...