Support scalar operations on vector magnitude and components
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
There often times when one wants to perform an operation on the magnitude or a component of a vector as if it were a scalar. For example, there is often a request to make a contour on the magnitude of a vector. ParaView should, as best as possible, support this.
Of course, functionality of this nature probably requires modifying the filters (unless there was a magic mechanism to do the conversion internally), and as such it is not reasonable to expect this to work for every filter. However, there should be some basic support for selecting components/magnitude of the tuples in field arrays. This includes:
- Versions of vtkAlgorithm::SetInputArrayToProcess and GetInputArrayToProcess that allow you to select a magnitude or component of a tuple.
- Options to ArrayListDomain or InputArrayDomain that signal that the magnitude and/or a component may be selected.
- Changes to the GUI linking mechanisms that will present the magnitude and/or components of vectors to use and field input.