vtkExtractPolyDataGeometry does not copy cell data array properly with mixed cell types
When extracting cells using the filter vtkExtractPolyDataGeometry
, if the input polydata data set contains different cell types (vertices, lines, polygons, stripes), the output cell data arrays are not indexed properly.
The indexing is based on the ID of each inserted cell. Therefore, when treating a new type of cell, the indexing starts over from 0 instead of being incremented.
Edited by Tiffany Chhim