Viskores
1.0
|
An ArrayHandle
that combines components from other arrays.
More...
#include <ArrayHandleCompositeVector.h>
Public Types | |
using | Thisclass = typename viskores::cont::detail::GetTypeInParentheses< void(ArrayHandleCompositeVector< ArrayTs... >) >::type |
using | Superclass = typename viskores::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 () | |
VISKORES_CONT | ArrayHandleCompositeVector (const Thisclass &src) |
VISKORES_CONT | ArrayHandleCompositeVector (Thisclass &&src) noexcept |
VISKORES_CONT | ArrayHandleCompositeVector (const viskores::cont::ArrayHandle< typename Superclass::ValueType, typename Superclass::StorageTag > &src) |
VISKORES_CONT | ArrayHandleCompositeVector (viskores::cont::ArrayHandle< typename Superclass::ValueType, typename Superclass::StorageTag > &&src) noexcept |
VISKORES_CONT | ArrayHandleCompositeVector (const std::vector< viskores::cont::internal::Buffer > &buffers) |
VISKORES_CONT | ArrayHandleCompositeVector (std::vector< viskores::cont::internal::Buffer > &&buffers) noexcept |
VISKORES_CONT Thisclass & | operator= (const Thisclass &src) |
VISKORES_CONT Thisclass & | operator= (Thisclass &&src) noexcept |
ArrayHandleCompositeVector (const ArrayTs &... arrays) | |
Construct an ArrayHandleCompositeVector from a set of component vectors. More... | |
viskores::Tuple< ArrayTs... > | GetArrayTuple () const |
Return the arrays of all of the components in a viskores::Tuple object. More... | |
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 viskores::Vec
ValueType
.
If you are attempted to combine components that you know are stored in basic ArrayHandle
s, consider using ArrayHandleSOA
instead.
using viskores::cont::ArrayHandleCompositeVector< ArrayTs >::ReadPortalType = typename Superclass::ReadPortalType |
using viskores::cont::ArrayHandleCompositeVector< ArrayTs >::StorageTag = typename Superclass::StorageTag |
using viskores::cont::ArrayHandleCompositeVector< ArrayTs >::StorageType = typename Superclass::StorageType |
using viskores::cont::ArrayHandleCompositeVector< ArrayTs >::Superclass = typename viskores::cont::detail::GetTypeInParentheses<void (typename internal::CompositeVectorTraits<ArrayTs...>::Superclass) >::type |
using viskores::cont::ArrayHandleCompositeVector< ArrayTs >::Thisclass = typename viskores::cont::detail::GetTypeInParentheses<void (ArrayHandleCompositeVector<ArrayTs...>) >::type |
using viskores::cont::ArrayHandleCompositeVector< ArrayTs >::ValueType = typename Superclass::ValueType |
using viskores::cont::ArrayHandleCompositeVector< ArrayTs >::WritePortalType = typename Superclass::WritePortalType |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlineexplicit |
|
inlineexplicitnoexcept |
|
inline |
Construct an ArrayHandleCompositeVector
from a set of component vectors.
|
inline |
Return the arrays of all of the components in a viskores::Tuple
object.
|
inline |
|
inlinenoexcept |