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

Detailed Description

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

Definition at line 80 of file Portals.h.

Member Typedef Documentation

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

Definition at line 85 of file Portals.h.

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

Definition at line 86 of file Portals.h.

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

Definition at line 111 of file Portals.h.

Constructor & Destructor Documentation

template<typename Type>
tovtkm::vtkPointsPortal< Type >::vtkPointsPortal ( )
template<typename Type>
tovtkm::vtkPointsPortal< Type >::vtkPointsPortal ( vtkPoints points,
vtkm::Id  size 
)
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

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

Definition at line 99 of file Portals.h.

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

Definition at line 113 of file Portals.h.

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

Definition at line 118 of file Portals.h.

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

Definition at line 123 of file Portals.h.


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