[vtkusers] Confused about the number of cells after vtkClipPolyData with implicit function
David Doria
daviddoria at gmail.com
Thu Jun 20 15:37:15 EDT 2013
In this example:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/PolyData/ImplicitDataSetClipping
I create a sphere (vtkPolyData) and clip it with an implicit cube
(vtkBox). The visual result of the clipping looks correct (the portion
of the sphere that is inside the box remains), but there are 68 cells
reported in the resulting clipped data (clipped->GetNumberOfCells()),
but I only count 20 (2 columns of 10 triangles). Can anyone explain
this discrepancy?
Thanks,
David
More information about the vtkusers
mailing list