15 #include <vtkPoints.h> 16 #include <vtkSmartPointer.h> 17 #include <vtkUnstructuredGrid.h> 19 #include <itkImageRegionIterator.h> 34 this->ProcessObject::SetNthInput(0, const_cast<mitk::UnstructuredGrid *>(grid));
39 this->SetNumberOfIndexedOutputs(this->GetNumberOfIndexedInputs());
40 for (
unsigned int idx = 0; idx < this->GetNumberOfIndexedInputs(); ++idx)
45 this->SetNthOutput(idx, newOutputX);
55 this->SetNthInput(idx, const_cast<mitk::UnstructuredGrid *>(grid));
63 if (this->GetNumberOfInputs() < 1)
71 if (this->GetNumberOfInputs() < 1)
83 itkDebugMacro(<<
"GenerateOutputInformation()");
85 if (inputImage.IsNull())
UnstructuredGridToUnstructuredGridFilter()
virtual void SetInput(const UnstructuredGrid *grid)
void GenerateOutputInformation() override
const mitk::UnstructuredGrid * GetInput(void)
~UnstructuredGridToUnstructuredGridFilter() override
Class for storing unstructured grids (vtkUnstructuredGrid)
virtual void CreateOutputsForAllInputs(unsigned int idx)