Skip to content

Draft: storing faces as vtkCellArray

Mickael PHILIT requested to merge vtkCellArray_in_unstructuredgrid into master

The proposal made here

This branch experiments with the proposal.

Changes to the unstructured grid are done. Filters are roughly adapted. IO still needs to be done and other stuff too.

Storing the Face array in a vtkCellArray is very nice. Storing the FaceLocation in a vtkCellArray is possible. Maybe an array with startFaceId and endFaceId for each cell could be used instead. (and then keep the -1 value for non polyhedron cells) With the proposal the mapping cellId --> polyhedronCell[Start:End] or None is more complex than before.

Merge request reports