Upon working a lot on VTK arrays, i am trying to understand whether we need certain array types.
The arrays in question are
- (read/write) vtkScaledSOADataArrayTemplate (0 VTK filter usages),
- (read only) vtkCompositeArray (5 VTK filter usages),
- (read only) vtkIndexedArray (6 VTK filter usages),
- (read only) vtkStdFunctionArray (0 VTK filter usages)
- (read only) vtkAngularPeriodicDataArray (1 VTK filter usages)
I know these arrays may be cool, but do we really need them? And does their existence justify the added complexity in VTK?
The complexity being, they need to be considered
- When dispatching, otherwise they always fall back to vtkDataArray and be slow.
- When exposing them in python as numpy array because the from_buffer is not really working on non AOS arrays
- When building their instantiations for all value types
- When maintaining the VTK code base after the funding that added them runs out.
If you have any hard feelings about any of them and/or you absolutely need them, please speak up otherwise these might be deprecated.