<div dir="ltr"><div><div><div><div>Hello,<br><br></div>I have to objects of vtkCellArray type: 'result' and 'vtk_cells'. I would like to add all the data from 'result' to existing data in 'vtk_cell'. At the moment I do it as brute force copying:<br><br>    for(int i = 0; i < result->GetNumberOfCells(); ++i)<br>    {<br>      vtkIdType npts;<br>      vtkIdType *pts;<br>      result->GetNextCell(npts, pts);<br>      vtk_cells->InsertNextCell(npts, pts);<br>    }<br><br></div>but isn't there another, simpler, way?<br><br></div>Best wishes<br></div>Artem<br></div>