VTK-m
2.0
|
A short variable-length array from a window in an ArrayPortal. More...
#include <VecFromPortal.h>
Public Types | |
using | ComponentType = typename std::remove_const< typename PortalType::ValueType >::type |
Public Member Functions | |
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT | VecFromPortal () |
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT | VecFromPortal (const PortalType &portal, vtkm::IdComponent numComponents=0, vtkm::Id offset=0) |
VTKM_EXEC_CONT vtkm::IdComponent | GetNumberOfComponents () const |
template<typename T , vtkm::IdComponent DestSize> | |
VTKM_EXEC_CONT void | CopyInto (vtkm::Vec< T, DestSize > &dest) const |
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT vtkm::internal::ArrayPortalValueReference< PortalType > | operator[] (vtkm::IdComponent index) const |
Private Attributes | |
PortalType | Portal |
vtkm::IdComponent | NumComponents |
vtkm::Id | Offset |
A short variable-length array from a window in an ArrayPortal.
The VecFromPortal
class is a Vec-like class that holds an array portal and exposes a small window of that portal as if it were a Vec
.
using vtkm::VecFromPortal< PortalType >::ComponentType = typename std::remove_const<typename PortalType::ValueType>::type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |