VTK
Public Types | Public Member Functions | List of all members
tovtkm::vtkArrayPortal< Type, VTKDataArrayType_ > Class Template Reference

#include <Portals.h>

Public Types

typedef VTKDataArrayType_ VTKDataArrayType
 
using ValueType = typename vtkPortalTraits< Type >::Type
 
using ComponentType = typename vtkPortalTraits< Type >::ComponentType
 
typedef vtkm::cont::internal::IteratorFromArrayPortal< vtkArrayPortalIteratorType
 

Public Member Functions

 vtkArrayPortal ()
 
 vtkArrayPortal (VTKDataArrayType *array, vtkm::Id size)
 
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT vtkm::Id GetNumberOfValues () const
 
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT ValueType Get (vtkm::Id index) const
 
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT void Set (vtkm::Id index, const ValueType &value) const
 
IteratorType GetIteratorBegin () const
 
IteratorType GetIteratorEnd () const
 
VTKDataArrayTypeGetVtkData () const
 

Detailed Description

template<typename Type, typename VTKDataArrayType_>
class tovtkm::vtkArrayPortal< Type, VTKDataArrayType_ >

Definition at line 33 of file Portals.h.

Member Typedef Documentation

template<typename Type , typename VTKDataArrayType_ >
typedef VTKDataArrayType_ tovtkm::vtkArrayPortal< Type, VTKDataArrayType_ >::VTKDataArrayType

Definition at line 38 of file Portals.h.

template<typename Type , typename VTKDataArrayType_ >
using tovtkm::vtkArrayPortal< Type, VTKDataArrayType_ >::ValueType = typename vtkPortalTraits<Type>::Type

Definition at line 39 of file Portals.h.

template<typename Type , typename VTKDataArrayType_ >
using tovtkm::vtkArrayPortal< Type, VTKDataArrayType_ >::ComponentType = typename vtkPortalTraits<Type>::ComponentType

Definition at line 40 of file Portals.h.

template<typename Type , typename VTKDataArrayType_ >
typedef vtkm::cont::internal::IteratorFromArrayPortal<vtkArrayPortal> tovtkm::vtkArrayPortal< Type, VTKDataArrayType_ >::IteratorType

Definition at line 62 of file Portals.h.

Constructor & Destructor Documentation

template<typename Type , typename VTKDataArrayType_ >
tovtkm::vtkArrayPortal< Type, VTKDataArrayType_ >::vtkArrayPortal ( )
template<typename Type , typename VTKDataArrayType_ >
tovtkm::vtkArrayPortal< Type, VTKDataArrayType_ >::vtkArrayPortal ( VTKDataArrayType array,
vtkm::Id  size 
)

Member Function Documentation

template<typename Type , typename VTKDataArrayType_ >
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT vtkm::Id tovtkm::vtkArrayPortal< Type, VTKDataArrayType_ >::GetNumberOfValues ( ) const
inline

Definition at line 48 of file Portals.h.

template<typename Type , typename VTKDataArrayType_ >
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT ValueType tovtkm::vtkArrayPortal< Type, VTKDataArrayType_ >::Get ( vtkm::Id  index) const
inline
template<typename Type , typename VTKDataArrayType_ >
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT void tovtkm::vtkArrayPortal< Type, VTKDataArrayType_ >::Set ( vtkm::Id  index,
const ValueType value 
) const
inline
template<typename Type , typename VTKDataArrayType_ >
IteratorType tovtkm::vtkArrayPortal< Type, VTKDataArrayType_ >::GetIteratorBegin ( ) const
inline

Definition at line 64 of file Portals.h.

template<typename Type , typename VTKDataArrayType_ >
IteratorType tovtkm::vtkArrayPortal< Type, VTKDataArrayType_ >::GetIteratorEnd ( ) const
inline

Definition at line 69 of file Portals.h.

template<typename Type , typename VTKDataArrayType_ >
VTKDataArrayType* tovtkm::vtkArrayPortal< Type, VTKDataArrayType_ >::GetVtkData ( ) const
inline

Definition at line 74 of file Portals.h.


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