Add result array name feature to gradient and gradient magnitude filters
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The gradient and gradient magnitude filters replace the input array with an array of the same name with the gradient vector or magnitude. This is problematic for two reasons. First, it is misleading; the name no longer reflects the nature of the data. Second, it makes working with the data. If I want to do any operation on both the scalar and its gradient I have to jump through a bunch of hoops to get both arrays because they are attached to different data objects with the same name.
The unstructured gradient filter has a much better way around this. It has a result array name parameter that will be used to name the output. This way, a user may add an appropriate name for the data.