VTK-m  2.2
Classes | Namespaces | Functions
ArrayHandleRuntimeVec.h File Reference
#include <vtkm/cont/ArrayExtractComponent.h>
#include <vtkm/cont/ArrayHandle.h>
#include <vtkm/cont/ArrayHandleBasic.h>
#include <vtkm/cont/ArrayPortal.h>
#include <vtkm/cont/ErrorBadType.h>
#include <vtkm/Assert.h>
#include <vtkm/StaticAssert.h>
#include <vtkm/VecFromPortal.h>
#include <vtkm/VecTraits.h>

Go to the source code of this file.

Classes

struct  vtkm::cont::StorageTagRuntimeVec
 
class  vtkm::cont::ArrayHandleRuntimeVec< ComponentType >
 Fancy array handle for a basic array with runtime selected vec size. More...
 

Namespaces

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

Functions

template<typename T >
auto vtkm::cont::make_ArrayHandleRuntimeVec (vtkm::IdComponent numComponents, const vtkm::cont::ArrayHandle< T, vtkm::cont::StorageTagBasic > &componentsArray=vtkm::cont::ArrayHandle< T, vtkm::cont::StorageTagBasic >{})
 make_ArrayHandleRuntimeVec is convenience function to generate an ArrayHandleRuntimeVec. More...
 
template<typename T >
auto vtkm::cont::make_ArrayHandleRuntimeVec (const vtkm::cont::ArrayHandle< T, vtkm::cont::StorageTagBasic > &componentsArray)
 Converts a basic array handle into an ArrayHandleRuntimeVec with 1 component. More...
 
template<typename T >
auto vtkm::cont::make_ArrayHandleRuntimeVec (vtkm::IdComponent numComponents, const T *array, vtkm::Id numberOfValues, vtkm::CopyFlag copy)
 A convenience function for creating an ArrayHandleRuntimeVec from a standard C array. More...
 
template<typename T >
auto vtkm::cont::make_ArrayHandleRuntimeVecMove (vtkm::IdComponent numComponents, T *&array, vtkm::Id numberOfValues, vtkm::cont::internal::BufferInfo::Deleter deleter=internal::SimpleArrayDeleter< T >, vtkm::cont::internal::BufferInfo::Reallocater reallocater=internal::SimpleArrayReallocater< T >)
 A convenience function to move a user-allocated array into an ArrayHandleRuntimeVec. More...
 
template<typename T , typename Allocator >
auto vtkm::cont::make_ArrayHandleRuntimeVec (vtkm::IdComponent numComponents, const std::vector< T, Allocator > &array, vtkm::CopyFlag copy)
 A convenience function for creating an ArrayHandleRuntimeVec from an std::vector. More...
 
template<typename T , typename Allocator >
auto vtkm::cont::make_ArrayHandleRuntimeVecMove (vtkm::IdComponent numComponents, std::vector< T, Allocator > &&array)
 Move an std::vector into an ArrayHandleRuntimeVec. More...
 
template<typename T , typename Allocator >
auto vtkm::cont::make_ArrayHandleRuntimeVec (vtkm::IdComponent numComponents, std::vector< T, Allocator > &&array, vtkm::CopyFlag)