vtkArrayCalculator fails when input is vtkGraph or its subclasses
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The interface of vtkArrayCalculator includes methods SetAttributeModeToUse{Cell|Vertex}Data, suggesting it is intended to work with vtkGraph and its subclasses. However, vtkArrayCalculator is a subclass of vtkDataSetAlgorithm, and attempting to apply the filter to a graph leads to pipeline errors when it cannot generate an object for the output port compatible with the input class.
Either the interface should be adjusted to remove reference to Cell/Vertex data, or the filter needs to be modified, perhaps moving under vtkDataObjectAlgorithm.
If needs be, I have a small python script that demonstrates the problem.