VTK-m  2.0
Classes | Namespaces | Macros | Functions
ArrayHandleBasic.h File Reference
#include <vtkm/cont/ArrayHandle.h>
#include <vtkm/cont/ArrayPortalToIterators.h>
#include <vtkm/cont/SerializableTypeString.h>
#include <vtkm/cont/Serialization.h>
#include <vtkm/cont/Storage.h>
#include <vtkm/internal/ArrayPortalBasic.h>
#include <limits>

Go to the source code of this file.

Classes

class  vtkm::cont::ArrayHandleBasic< T >
 

Namespaces

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

Macros

#define VTKM_ARRAYHANDLE_EXPORT(Type)
 

Functions

template<typename T >
VTKM_CONT vtkm::cont::ArrayHandleBasic< T > vtkm::cont::make_ArrayHandle (const T *array, vtkm::Id numberOfValues, vtkm::CopyFlag copy)
 A convenience function for creating an ArrayHandle from a standard C array. More...
 
template<typename T >
VTKM_CONT vtkm::cont::ArrayHandleBasic< T > vtkm::cont::make_ArrayHandleMove (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 ArrayHandle. More...
 
template<typename T , typename Allocator >
VTKM_CONT vtkm::cont::ArrayHandleBasic< T > vtkm::cont::make_ArrayHandle (const std::vector< T, Allocator > &array, vtkm::CopyFlag copy)
 A convenience function for creating an ArrayHandle from an std::vector. More...
 
template<typename T , typename Allocator >
VTKM_CONT vtkm::cont::ArrayHandleBasic< T > vtkm::cont::make_ArrayHandleMove (std::vector< T, Allocator > &&array)
 Move an std::vector into an ArrayHandle. More...
 
template<typename T , typename Allocator >
VTKM_CONT vtkm::cont::ArrayHandleBasic< T > vtkm::cont::make_ArrayHandle (std::vector< T, Allocator > &&array, vtkm::CopyFlag vtkmNotUsed(copy))
 
template<typename T >
VTKM_CONT vtkm::cont::ArrayHandleBasic< T > vtkm::cont::make_ArrayHandle (std::initializer_list< T > &&values)
 Create an ArrayHandle directly from an initializer list of values. More...
 

Macro Definition Documentation

◆ VTKM_ARRAYHANDLE_EXPORT

#define VTKM_ARRAYHANDLE_EXPORT (   Type)
Value:
extern template class VTKM_CONT_TEMPLATE_EXPORT ArrayHandle<Type, StorageTagBasic>; \
extern template class VTKM_CONT_TEMPLATE_EXPORT \
ArrayHandle<vtkm::Vec<Type, 2>, StorageTagBasic>; \
extern template class VTKM_CONT_TEMPLATE_EXPORT \
ArrayHandle<vtkm::Vec<Type, 3>, StorageTagBasic>; \
extern template class VTKM_CONT_TEMPLATE_EXPORT ArrayHandle<vtkm::Vec<Type, 4>, StorageTagBasic>;