vtkThresholdPoints not capable of selecting different scalars
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
vtkThresholdPoints still uses the old syntax and does not let me select different data fields (similar to vtkThreshold which operates on cells). The change seems trivial and I have tested it and I got it to work, i.e. I can switch from one scalar to another, with a command like:
ThresholdIn SetInputArrayToProcess 0 0 0 0 "density"
I suggest a single-line change on line 141 of vtkThresholdPoints.cxx
inScalars = input->GetPointData()->GetScalars()
should be replaced by
inScalars = this->GetInputArrayToProcess(0,inputVector)