21 this->SetNumberOfRequiredInputs(1);
30 this->SetInput(0, figure);
35 if (this->GetInput(idx) != figure)
37 this->SetNthInput(idx, const_cast<InputType *>(figure));
45 if (this->GetNumberOfInputs() < 1)
48 return static_cast<const InputType *
>(this->ProcessObject::GetInput(0));
54 if (this->GetNumberOfInputs() < idx)
57 return static_cast<const InputType *
>(this->ProcessObject::GetInput(idx));
62 this->SetNumberOfIndexedOutputs(this->GetNumberOfInputs());
63 for (
unsigned int idx = 0; idx < this->GetNumberOfOutputs(); ++idx)
65 if (this->GetOutput(idx) ==
nullptr)
68 this->SetNthOutput(idx, newOutput);
DataCollection - Class to facilitate loading/accessing structured data.