VTK-m
2.0
|
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 | |
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT | VecFromPortalPermute () |
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT | VecFromPortalPermute (const IndexVecType *indices, const PortalType &portal) |
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT vtkm::IdComponent | GetNumberOfComponents () const |
template<vtkm::IdComponent DestSize> | |
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT void | CopyInto (vtkm::Vec< ComponentType, DestSize > &dest) const |
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT 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 |