MantisBT - ParaView
View Issue Details
0015040ParaView(No Category)public2014-10-09 10:032016-08-12 09:59
Andy Bauer 
Andy Bauer 
normalminorhave not tried
closedmoved 
4.2 
 
TBD
incorrect functionality
0015040: threshold not working properly for a simple unstructured grid with cell data
Try loading the attached unstructuredgrid.vtk file and doing a threshold on the cell data. It either returns only a single triangle, nothing or the full data set.
No tags attached.
? unstructured.vtk (302) 2014-10-09 10:03
https://www.vtk.org/Bug/file/9749/unstructured.vtk
Issue History
2014-10-09 10:03Andy BauerNew Issue
2014-10-09 10:03Andy BauerAssigned To => Andy Bauer
2014-10-09 10:03Andy BauerFile Added: unstructured.vtk
2014-10-09 11:09Robert MaynardNote Added: 0033619
2016-08-12 09:59Kitware RobotNote Added: 0038678
2016-08-12 09:59Kitware RobotStatusbacklog => closed
2016-08-12 09:59Kitware RobotResolutionopen => moved

Notes
(0033619)
Robert Maynard   
2014-10-09 11:09   
The reason that this is happening is that vtkThreshold has really bad logic to determine if the input array is point or cell based.

Instead of using the number of values compared to the number of points, instead we should determine if the arrays is associated with cell data or point data.

on line 128 we should look at the association of the InputArrayToProcess, if that doesn't work we can brute force pointer comparison with the point and cell data arrays on the input data set.
(0038678)
Kitware Robot   
2016-08-12 09:59   
Resolving issue as `moved`.

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