VTK-m
2.1
|
An ArrayHandle
that combines components from other arrays.
More...
#include <ArrayHandleCompositeVector.h>
Public Types | |
using | Thisclass = typename vtkm::cont::detail::GetTypeInParentheses< void(ArrayHandleCompositeVector< ArrayTs... >) >::type |
using | Superclass = typename vtkm::cont::detail::GetTypeInParentheses< void(typename internal::CompositeVectorTraits< ArrayTs... >::Superclass) >::type |
using | ValueType = typename Superclass::ValueType |
using | StorageTag = typename Superclass::StorageTag |
using | StorageType = typename Superclass::StorageType |
using | ReadPortalType = typename Superclass::ReadPortalType |
using | WritePortalType = typename Superclass::WritePortalType |
Public Member Functions | |
ArrayHandleCompositeVector () | |
VTKM_CONT | ArrayHandleCompositeVector (const Thisclass &src) |
VTKM_CONT | ArrayHandleCompositeVector (Thisclass &&src) noexcept |
VTKM_CONT | ArrayHandleCompositeVector (const vtkm::cont::ArrayHandle< typename Superclass::ValueType, typename Superclass::StorageTag > &src) |
VTKM_CONT | ArrayHandleCompositeVector (vtkm::cont::ArrayHandle< typename Superclass::ValueType, typename Superclass::StorageTag > &&src) noexcept |
VTKM_CONT | ArrayHandleCompositeVector (const std::vector< vtkm::cont::internal::Buffer > &buffers) |
VTKM_CONT | ArrayHandleCompositeVector (std::vector< vtkm::cont::internal::Buffer > &&buffers) noexcept |
VTKM_CONT Thisclass & | operator= (const Thisclass &src) |
VTKM_CONT Thisclass & | operator= (Thisclass &&src) noexcept |
ArrayHandleCompositeVector (const ArrayTs &... arrays) | |
vtkm::Tuple< ArrayTs... > | GetArrayTuple () const |
An ArrayHandle
that combines components from other arrays.
ArrayHandleCompositeVector
is a specialization of ArrayHandle
that derives its content from other arrays. It takes any number of single-component ArrayHandle
objects and mimics an array that contains vectors with components that come from these delegate arrays.
The easiest way to create and type an ArrayHandleCompositeVector
is to use the make_ArrayHandleCompositeVector
functions.
The ArrayHandleExtractComponent
class may be helpful when a desired component is part of an ArrayHandle
with a vtkm::Vec
ValueType
.
using vtkm::cont::ArrayHandleCompositeVector< ArrayTs >::ReadPortalType = typename Superclass::ReadPortalType |
using vtkm::cont::ArrayHandleCompositeVector< ArrayTs >::StorageTag = typename Superclass::StorageTag |
using vtkm::cont::ArrayHandleCompositeVector< ArrayTs >::StorageType = typename Superclass::StorageType |
using vtkm::cont::ArrayHandleCompositeVector< ArrayTs >::Superclass = typename vtkm::cont::detail::GetTypeInParentheses<void (typename internal::CompositeVectorTraits<ArrayTs...>::Superclass) >::type |
using vtkm::cont::ArrayHandleCompositeVector< ArrayTs >::Thisclass = typename vtkm::cont::detail::GetTypeInParentheses<void (ArrayHandleCompositeVector<ArrayTs...>) >::type |
using vtkm::cont::ArrayHandleCompositeVector< ArrayTs >::ValueType = typename Superclass::ValueType |
using vtkm::cont::ArrayHandleCompositeVector< ArrayTs >::WritePortalType = typename Superclass::WritePortalType |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlineexplicit |
|
inlineexplicitnoexcept |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |