One of the topics discussed at the hackathon involved deprecating vtkDataArray::GetVoidPointer
. While this is not likely to happen for a while, we’ve agreed to stop using GetVoidPointer
and vtkTemplateMacro
in new code, and start phasing it out of existing code.
A new blog post just went up detailing how to use the replacements, vtkArrayDispatch
and vtk::DataArray[Tuple|Value]Range
. This is a short intro to what these utilities do and how to use them, and includes some example code along with links to find out more information about using these techniques. There are also some links to MRs from @RobertMaynard showing how to port existing filters (including SMP filters) to use these techniques.