Gradient and Gradient Magnitude filters only work on
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The object inspector for the Gradient and Gradient Magnitude filter allows you to select the input scalars by name, but the selection has no effect. These two filters always grab the active scalars on the input image data. This leads to two serious problems.
-
The gradients computed may not correspond to the input the user selected, leading to very misleading results.
-
If the input has no active scalars, the filters will create a new array in the input in an attempt to get them. This leads to garbage in the output and breaks an assumption that the input will not be modified by the filter. The broken assumption often leads to crashes in ParaView in strange places.