Skip to content

Misc fixes for vtkArrayCalculator

  1. Simplifies memory management code by using STL containers and strings in vtkFunctionParser.
  2. Fixes performance slow down when chaining multiple calculators. The issue was that vtkArrayCalculator always passed all input array values to the vtkFunctionParser even when the array was not used in the expression. Hence the performance would get affected as number of arrays in the input increased. Fixed that by only passing those arrays that are need for expression evaluation.

Merge request reports