[vtkusers] Match Connectivity

Ambar C ambarc at gmail.com
Mon Dec 6 23:02:38 EST 2010


Hello,

I have two meshes with the same number of vertices - I'm trying to go
through the first mesh and change the connectivity (vtkCellArray) of
the second so that they have the same connectivity in terms of which
cell ids are matched. Currently, I'm attempting:

denseCells->SetCells(baseCellCount, baseCells->GetData());

where denseCells is the vtkCellArray of the mesh whose connectivity I
want to change to match that of baseCells' mesh. Any suggestions?

Cheers,
Ambar



More information about the vtkusers mailing list