Skip to content

Array-component API for vtkAlgorithm.

This MR

  • Adds a vtk::ComponentOrNormAsArray() function to compute single-component array views of multi-component arrays.
  • Adds new methods to vtkAlgorithm so that pipelines can be configured to process a component of an array rather than the whole array, as well as allow querying the number of arrays the pipeline developer has provided to a filter.
  • Adds new methods to vtkAlgorithm to fetch specified components using vtk::ComponentOrNormAsArray() as needed so that algorithms do not need to filter arrays down to 1 component if the pipeline is configured with a component.
Edited by David Thompson

Merge request reports

Loading