Augmenting vtkPolyData with multiple different tuples of point/cell data

I have a problem that reuses a significant amount of geometry in the form of vtkPolyData. I would like like to be able to modify the vtkPolydata with different vtkDoubleArrays for the point/cell data.

So is there a filter/polydata algorithm that augments the same geometrical data with potentially different point/cell data.


You can add any number of arrays to point and cell data. You don’t need any filter for it, but you can use methods of the polydata object (polydata.GetPointData().AddArray(...)).

Ahh ok, of course. I can add as much data as I want to a vtkPolyData object. Sorry my mind is so used to adding simple scalars,vectors or tensors.

Thanks very much.