One of our existing apps uses a deprecated form of vtkUnstructuredGrid::SetCells
. Here it is in an older Doxygen:
void vtkUnstructuredGrid::SetCells (
vtkUnsignedCharArray *cellTypes,
vtkIdTypeArray *cellLocations,
vtkCellArray *cells
)
How do I replace it using the latest version of VTK? Can I use this form and omit cellLocations
?
void vtkUnstructuredGrid::SetCells (
vtkUnsignedCharArray *cellTypes,
vtkCellArray *cells
)