VTK-m  2.0
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>
VTKM_CONT ArrayHandleSwizzle< ArrayHandleType, OutSize > vtkm::cont::make_ArrayHandleSwizzle (const ArrayHandleType &array, const vtkm::Vec< vtkm::IdComponent, OutSize > &map)
 
template<typename ArrayHandleType , typename... SwizzleIndexTypes>
VTKM_CONT ArrayHandleSwizzle< ArrayHandleType, vtkm::IdComponent(sizeof...(SwizzleIndexTypes)+1)> vtkm::cont::make_ArrayHandleSwizzle (const ArrayHandleType &array, vtkm::IdComponent swizzleIndex0, SwizzleIndexTypes... swizzleIndices)