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

#include <Portals.h>

Public Types

using ValueType = typename vtkPortalTraits< Type >::Type
 
using ComponentType = typename vtkPortalTraits< Type >::ComponentType
 
typedef vtkm::cont::internal::IteratorFromArrayPortal< vtkPointsPortalIteratorType
 

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
 
vtkPointsGetVtkData () const
 

Detailed Description

template<typename Type>
class tovtkm::vtkPointsPortal< Type >

Definition at line 81 of file Portals.h.

Member Typedef Documentation

◆ ValueType

template<typename Type>
using tovtkm::vtkPointsPortal< Type >::ValueType = typename vtkPortalTraits<Type>::Type

Definition at line 86 of file Portals.h.

◆ ComponentType

template<typename Type>
using tovtkm::vtkPointsPortal< Type >::ComponentType = typename vtkPortalTraits<Type>::ComponentType

Definition at line 87 of file Portals.h.

◆ IteratorType

template<typename Type>
typedef vtkm::cont::internal::IteratorFromArrayPortal<vtkPointsPortal> tovtkm::vtkPointsPortal< Type >::IteratorType

Definition at line 112 of file Portals.h.

Constructor & Destructor Documentation

◆ vtkPointsPortal() [1/3]

template<typename Type>
tovtkm::vtkPointsPortal< Type >::vtkPointsPortal ( )

◆ vtkPointsPortal() [2/3]

template<typename Type>
tovtkm::vtkPointsPortal< Type >::vtkPointsPortal ( vtkPoints points,
vtkm::Id  size 
)

◆ vtkPointsPortal() [3/3]

template<typename Type>
template<typename OtherType >
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).

Member Function Documentation

◆ GetNumberOfValues()

template<typename Type>
vtkm::Id tovtkm::vtkPointsPortal< Type >::GetNumberOfValues ( ) const
inline

Definition at line 100 of file Portals.h.

◆ Get()

template<typename Type>
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC ValueType tovtkm::vtkPointsPortal< Type >::Get ( vtkm::Id  index) const

◆ Set()

template<typename Type>
void tovtkm::vtkPointsPortal< Type >::Set ( vtkm::Id  index,
const ValueType value 
) const

◆ GetIteratorBegin()

template<typename Type>
IteratorType tovtkm::vtkPointsPortal< Type >::GetIteratorBegin ( ) const
inline

Definition at line 114 of file Portals.h.

◆ GetIteratorEnd()

template<typename Type>
IteratorType tovtkm::vtkPointsPortal< Type >::GetIteratorEnd ( ) const
inline

Definition at line 119 of file Portals.h.

◆ GetVtkData()

template<typename Type>
vtkPoints* tovtkm::vtkPointsPortal< Type >::GetVtkData ( ) const
inline

Definition at line 124 of file Portals.h.


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