MantisBT - VTK
View Issue Details
0002270VTK(No Category)public2005-09-20 19:572016-08-12 09:54
John Norris 
Kitware Robot 
normalmajoralways
closedmoved 
 
 
0002270: vtkCutter can't handle VTK_EMPTY_CELLs
vtkCutter fails on a vtkUnstructuredGrid containing one or more vtkEmptyCells, since it assumes that each cell has at least one point. In vtkCutter.cxx, lines 740-746:

numCellPts = cellArrayPtr[cellArrayIt];
cellArrayIt++;

//find min and max values in scalar data
range[0] = scalarArrayPtr[cellArrayPtr[cellArrayIt]];
range[1] = scalarArrayPtr[cellArrayPtr[cellArrayIt]];
cellArrayIt++;

After cellArrayIt is advanced the first time (line 740), the code should check to make sure numCellPts is greater than 0.
No tags attached.
Issue History
2008-11-30 09:14Mathieu MalaterreAssigned ToMathieu Malaterre => François Bertel
2008-11-30 20:14François BertelAssigned ToFrançois Bertel =>
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:54Kitware RobotNote Added: 0036800
2016-08-12 09:54Kitware RobotStatusexpired => closed
2016-08-12 09:54Kitware RobotResolutionopen => moved
2016-08-12 09:54Kitware RobotAssigned To => Kitware Robot

Notes
(0036800)
Kitware Robot   
2016-08-12 09:54   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.