VTK-m
2.2
|
A short vector from an ArrayPortal and a vector of indices. More...
#include <VecFromPortalPermute.h>
Public Types | |
using | ComponentType = typename std::remove_const< typename PortalType::ValueType >::type |
Public Member Functions | |
VecFromPortalPermute () | |
VecFromPortalPermute (const IndexVecType *indices, const PortalType &portal) | |
vtkm::IdComponent | GetNumberOfComponents () const |
template<vtkm::IdComponent DestSize> | |
void | CopyInto (vtkm::Vec< ComponentType, DestSize > &dest) const |
ComponentType | operator[] (vtkm::IdComponent index) const |
Private Attributes | |
const IndexVecType *const | Indices |
PortalType | Portal |
A short vector from an ArrayPortal and a vector of indices.
The VecFromPortalPermute
class is a Vec-like class that holds an array portal and a second Vec-like containing indices into the array. Each value of this vector is the value from the array with the respective index.
using vtkm::VecFromPortalPermute< IndexVecType, PortalType >::ComponentType = typename std::remove_const<typename PortalType::ValueType>::type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |