VTK-m  2.2
Classes | Namespaces | Functions
ArrayHandleSwizzle.h File Reference
#include <vtkm/cont/ArrayHandleTransform.h>
#include <vtkm/VecTraits.h>
#include <vtkmstd/integer_sequence.h>

Go to the source code of this file.

Classes

class  vtkm::cont::ArrayHandleSwizzle< ArrayHandleType, OutSize >
 Swizzle the components of the values in an ArrayHandle. More...
 

Namespaces

 vtkm
 Groups connected points that have the same field value.
 
 vtkm::cont
 VTK-m Control Environment.
 

Functions

template<typename ArrayHandleType , vtkm::IdComponent OutSize>
ArrayHandleSwizzle< ArrayHandleType, OutSize > vtkm::cont::make_ArrayHandleSwizzle (const ArrayHandleType &array, const vtkm::Vec< vtkm::IdComponent, OutSize > &map)
 Construct an ArrayHandleSwizzle from a provided array and swizzle map. More...
 
template<typename ArrayHandleType , typename... SwizzleIndexTypes>
auto vtkm::cont::make_ArrayHandleSwizzle (const ArrayHandleType &array, vtkm::IdComponent swizzleIndex0, SwizzleIndexTypes... swizzleIndices)
 Construct an ArrayHandleSwizzle from a provided array and swizzle map. More...