VTK: tovtkm::DataArrayToArrayHandle< vtkSOADataArrayTemplate< T >, NumComponents > Struct Template Reference

| VTK 9.3.1

Public Types | Static Public Member Functions | List of all members
tovtkm::DataArrayToArrayHandle< vtkSOADataArrayTemplate< T >, NumComponents > Struct Template Reference

`#include <DataArrayConverters.h>`

## Public Types
using | ValueType = vtkm::Vec< T, NumComponents >
using | StorageType = vtkm::cont::internal::Storage< ValueType, vtkm::cont::StorageTagSOA >
using | ArrayHandleType = vtkm::cont::ArrayHandle< ValueType, vtkm::cont::StorageTagSOA >

## Static Public Member Functions
static ArrayHandleType | Wrap (vtkSOADataArrayTemplate< T > *input)

## Detailed Description

### template<typename T, vtkm::IdComponent NumComponents>
struct tovtkm::DataArrayToArrayHandle< vtkSOADataArrayTemplate< T >, NumComponents >

Definition at line 66 of file DataArrayConverters.h.

## Member Typedef Documentation

## ◆ ValueType

template<typename T , vtkm::IdComponent NumComponents>

using tovtkm::DataArrayToArrayHandle< vtkSOADataArrayTemplate< T >, NumComponents >::ValueType = vtkm::Vec<T, NumComponents>

Definition at line 68 of file DataArrayConverters.h.

## ◆ StorageType

template<typename T , vtkm::IdComponent NumComponents>

using tovtkm::DataArrayToArrayHandle< vtkSOADataArrayTemplate< T >, NumComponents >::StorageType = vtkm::cont::internal::Storage<ValueType, vtkm::cont::StorageTagSOA>

Definition at line 69 of file DataArrayConverters.h.

## ◆ ArrayHandleType

template<typename T , vtkm::IdComponent NumComponents>

using tovtkm::DataArrayToArrayHandle< vtkSOADataArrayTemplate< T >, NumComponents >::ArrayHandleType = vtkm::cont::ArrayHandle<ValueType, vtkm::cont::StorageTagSOA>

Definition at line 70 of file DataArrayConverters.h.

## Member Function Documentation

## ◆ Wrap()

template<typename T , vtkm::IdComponent NumComponents>

static ArrayHandleType tovtkm::DataArrayToArrayHandle< vtkSOADataArrayTemplate< T >, NumComponents >::Wrap | ( | vtkSOADataArrayTemplate< T > * | input | ) |
| inlinestatic

Definition at line 72 of file DataArrayConverters.h.

The documentation for this struct was generated from the following file:

- Accelerators/Vtkm/Core/vtkmlib/DataArrayConverters.h