VTK
|
#include <Portals.h>
Public Types | |
using | ValueType = typename vtkPortalTraits< Type >::Type |
using | ComponentType = typename vtkPortalTraits< Type >::ComponentType |
typedef vtkm::cont::internal::IteratorFromArrayPortal < vtkPointsPortal > | IteratorType |
Public Member Functions | |
vtkPointsPortal () | |
vtkPointsPortal (vtkPoints *points, vtkm::Id size) | |
template<typename OtherType > | |
vtkPointsPortal (const vtkPointsPortal< OtherType > &src) | |
Copy constructor for any other vtkArrayPortal with an iterator type that can be copied to this iterator type. More... | |
vtkm::Id | GetNumberOfValues () const |
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC ValueType | Get (vtkm::Id index) const |
void | Set (vtkm::Id index, const ValueType &value) const |
IteratorType | GetIteratorBegin () const |
IteratorType | GetIteratorEnd () const |
vtkPoints * | GetVtkData () const |
using tovtkm::vtkPointsPortal< Type >::ValueType = typename vtkPortalTraits<Type>::Type |
using tovtkm::vtkPointsPortal< Type >::ComponentType = typename vtkPortalTraits<Type>::ComponentType |
typedef vtkm::cont::internal::IteratorFromArrayPortal<vtkPointsPortal> tovtkm::vtkPointsPortal< Type >::IteratorType |
tovtkm::vtkPointsPortal< Type >::vtkPointsPortal | ( | ) |
tovtkm::vtkPointsPortal< Type >::vtkPointsPortal | ( | vtkPoints * | points, |
vtkm::Id | size | ||
) |
tovtkm::vtkPointsPortal< Type >::vtkPointsPortal | ( | const vtkPointsPortal< OtherType > & | src | ) |
Copy constructor for any other vtkArrayPortal with an iterator type that can be copied to this iterator type.
This allows us to do any type casting that the iterators do (like the non-const to const cast).
|
inline |
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC ValueType tovtkm::vtkPointsPortal< Type >::Get | ( | vtkm::Id | index | ) | const |
void tovtkm::vtkPointsPortal< Type >::Set | ( | vtkm::Id | index, |
const ValueType & | value | ||
) | const |
|
inline |
|
inline |
|
inline |