[vtk-developers] Problem in vtkCleanPolyData copying cell attribute data
John Platt
jcplatt at dsl.pipex.com
Mon Sep 1 05:55:07 EDT 2014
Hi,
I have an access violation in vtkCleanPolyData at the line (version 5.10.1)
outputCD->CopyData(outPolyData, i, CombinedCellID);
It appears to occur when the input cell data contains both GLOBALIDS & SCALARS. The GLOBALIDS are significant because they are not copied by default.
The output cell data is allocated using the input cell data (2 cell arrays)
outputCD->CopyAllocate(inputCD);
not the internal vtkCellArray "outPolyData" which will only contain the SCALARS. The crash occurs because the SCALARS are at index = 1 in the input cell data "inputCD" but index = 0 in "outPolyData".
I can't see any easy way to fix this so any help is much appreciated.
Thanks,
John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20140901/de9fb145/attachment.html>
More information about the vtk-developers
mailing list