MCPcopy Create free account
hub / github.com/Kitware/VTK / ProcessMB

Method ProcessMB

Filters/General/vtkAxisAlignedReflectionFilter.cxx:168–181  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

166
167//------------------------------------------------------------------------------
168bool vtkAxisAlignedReflectionFilter::ProcessMB(
169 vtkMultiBlockDataSet* inputMB, vtkPartitionedDataSetCollection* outputPDC, double bounds[6])
170{
171 vtkNew<vtkConvertToPartitionedDataSetCollection> converter;
172 converter->SetInputDataObject(inputMB);
173 converter->Update();
174 auto inputPDC = converter->GetOutput();
175 if (!inputPDC)
176 {
177 vtkErrorMacro("Failed to convert input multiblock dataset to partitioned dataset collection.");
178 return false;
179 }
180 return this->ProcessPDC(inputPDC, outputPDC, bounds);
181}
182
183//------------------------------------------------------------------------------
184bool vtkAxisAlignedReflectionFilter::ProcessPDS(

Callers 1

RequestDataMethod · 0.95

Calls 4

ProcessPDCMethod · 0.95
SetInputDataObjectMethod · 0.45
UpdateMethod · 0.45
GetOutputMethod · 0.45

Tested by

no test coverage detected