mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 10:35:42 +00:00
c802adcbeb
The `FilterField` class provides convenience functions for subclasses to determine the `ArrayHandle` type for scalar and vector fields. However, you needed to know the specific size of vectors. For filters that support an input field of any type, a new form, `CastAndCallVariableVecField` has been added. This calls the underlying functor with an `ArrayHandleRecombineVec` of the appropriate component type. The `CastAndaCallVariableVecField` method also reduces the number of instances created by having a float fallback for any component type that does not satisfy the field types. |
||
---|---|---|
.. | ||
testing | ||
worklet | ||
CMakeLists.txt | ||
CrossProduct.cxx | ||
CrossProduct.h | ||
DotProduct.cxx | ||
DotProduct.h | ||
Gradient.cxx | ||
Gradient.h | ||
SurfaceNormals.cxx | ||
SurfaceNormals.h | ||
VectorMagnitude.cxx | ||
VectorMagnitude.h | ||
vtkm.module |