Add vtkDataSetImplicitBackendInterface for implicit arrays using a vtkDataSet internally
Using vtkImplicitArray allows for memory reduction, at cost of computing the "answer" each time a value is requested. In some use case, this computation is done by forwarding the request to a vtkDataSet
, but then we have a vtkDataArray
handling a vtkDataSet
.
This adds a helper to properly handle objects lifetime. Use it in vtkCellValidator, vtkCountFaces and vtkCountVertices.
see #19334 (closed)