22 this->SetNumberOfRequiredInputs(1);
35 this->ProcessObject::SetNthInput(0, const_cast<mitk::ImageToImageFilter::InputImageType *>(input));
43 if (index + 1 > this->GetNumberOfInputs())
45 this->SetNumberOfRequiredInputs(index + 1);
48 this->ProcessObject::SetNthInput(index, const_cast<mitk::ImageToImageFilter::InputImageType *>(image));
56 if (this->GetNumberOfInputs() < 1)
74 if (this->GetNumberOfInputs() < 1)
94 Superclass::GenerateInputRequestedRegion();
96 for (
unsigned int idx = 0; idx < this->GetNumberOfInputs(); ++idx)
98 if (this->GetInput(idx))
111 input->SetRequestedRegion(this->GetOutput());
118 Superclass::PrintSelf(os, indent);
virtual void PrintSelf(std::ostream &os, itk::Indent indent) const override
SlicedData::RegionType InputImageRegionType
virtual void SetInput(const InputImageType *image)
Image class for storing images.
InputImageType * GetInput(void)
virtual ~ImageToImageFilter()
virtual void GenerateInputRequestedRegion() override