Viskores  1.0
Classes | Namespaces | Functions
ArrayHandleRuntimeVec.h File Reference
#include <viskores/cont/ArrayExtractComponent.h>
#include <viskores/cont/ArrayHandle.h>
#include <viskores/cont/ArrayHandleBasic.h>
#include <viskores/cont/ArrayPortal.h>
#include <viskores/cont/ErrorBadType.h>
#include <viskores/Assert.h>
#include <viskores/StaticAssert.h>
#include <viskores/VecFromPortal.h>
#include <viskores/VecTraits.h>

Go to the source code of this file.

Classes

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

Namespaces

 viskores
 Groups connected points that have the same field value.
 
 viskores::cont
 Viskores Control Environment.
 

Functions

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