Skip to content

Add OutputDataSetType to vtkAppendDataSets

This option changes the behavior of vtkAppendDataSets. Rather than detect whether all input dataset types can be merged into a vtkPolyData and then doing so, it now takes an explicit output tpye and merges blocks that can be converted to the output type. By default, the output type is set to be vtkUnstructuredGrid, and all non-empty inputs can be appended to the output.

The other supported output type is vtkPolyData. If the OutputDataSetType is set to the macro representing vtkPolyData, then only vtkPolyData blocks will be merged to the output vtkPolyData.

Test was updated for the behavior change.

Merge request reports