Skip to content
  • Kenneth Moreland's avatar
    Consolidate WarpScalar and WarpVector filter · 1f07b0ec
    Kenneth Moreland authored
    In reflection, the `WarpScalar` filter is surprisingly a superset of the
    `WarpVector` features. `WarpScalar` has the ability to displace in the
    directions of the mesh normals. In VTK, there is a distinction of normals
    to vectors, but in VTK-m it is a matter of selecting the correct one. As
    such, it makes little sense to have two separate implementations for the
    same operation. The filters have been combined and the interface names have
    been generalized for general warping (e.g., "normal" or "vector" becomes
    "direction").
    
    In addition to consolidating the implementation, the `Warp` filter
    implementation has been updated to use the modern features of VTK-m's
    filter base classes. In particular, when the `Warp` filters were originally
    implemented, the filter base classes did not support more than one active
    scalar field, so filters like `Warp` had to manage multiple fields
    themselves. The `FilterField` base class now allows specifying multiple,
    indexed active field...
    1f07b0ec