[vtkusers] vtkPolyData::ReplaceLinkedCell does not seem to work
Mengda Wu
wumengda at gmail.com
Tue Jan 26 17:53:20 EST 2016
Hi All,
I am trying to delete one point on one end from a cell (VTK_POLY_LINE)
from vtkPolyData.
I tried to use ReplaceLinkedCell but it does not actually change
the vtkPolyData. Why is that?
What I did was
(1) BuildLinks()
(2) RemoveCellReference(cellId)
(3) ReplaceLinkedCell (cellId, npts, pts) npts and pts are
reconstructed from the old cell list minus the one point I was deleting.
(4) Then I push the vtkPolyData to vtkCleanPolyData and deep copy the
output
Am I missing anything?
Thanks,
Mengda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160126/89ac080c/attachment.html>
More information about the vtkusers
mailing list