23 Superclass::SetNumberOfRequiredOutputs(1);
24 Superclass::SetNthOutput(0, output);
38 itkDebugMacro(
"MakeOutput(" << name <<
")");
39 if (this->IsIndexedOutputName(name))
41 return this->MakeOutput(this->MakeIndexFromOutputName(name));
48 this->ProcessObject::GenerateInputRequestedRegion();
66 output->CopyInformation(graft);
72 return itkDynamicCastInDebugMode<OutputType *>(this->GetPrimaryOutput());
77 return itkDynamicCastInDebugMode<const OutputType *>(this->GetPrimaryOutput());
81 itk::ProcessObject::DataObjectPointerArraySizeType idx)
83 OutputType *out =
dynamic_cast<OutputType *
>(this->ProcessObject::GetOutput(idx));
84 if (out ==
nullptr && this->ProcessObject::GetOutput(idx) !=
nullptr)
86 itkWarningMacro(<<
"Unable to convert output number " << idx <<
" to type " <<
typeid(OutputType).name());
92 itk::ProcessObject::DataObjectPointerArraySizeType idx)
const
94 const OutputType *out =
dynamic_cast<const OutputType *
>(this->ProcessObject::GetOutput(idx));
95 if (out ==
nullptr && this->ProcessObject::GetOutput(idx) !=
nullptr)
97 itkWarningMacro(<<
"Unable to convert output number " << idx <<
" to type " <<
typeid(OutputType).name());
itk::SmartPointer< Self > Pointer
virtual ~LookupTableSource()
virtual void GraftOutput(OutputType *output)
void GenerateInputRequestedRegion() override
virtual 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 ...
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.