VTK
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
tovtkm::vtkPortalTraits< const vtkm::Vec< T, N > > Struct Template Reference

#include <PortalTraits.h>

Public Types

using TagType = vtkPortalOfVecOfValues
 
using ComponentType = typename std::remove_const< T >::type
 
using Type = vtkm::Vec< T, N >
 

Static Public Member Functions

static void SetComponent (Type &t, vtkm::IdComponent i, const ComponentType &v)
 
static ComponentType GetComponent (const Type &t, vtkm::IdComponent i)
 

Static Public Attributes

static constexpr vtkm::IdComponent NUM_COMPONENTS = N
 

Detailed Description

template<typename T, int N>
struct tovtkm::vtkPortalTraits< const vtkm::Vec< T, N > >

Definition at line 76 of file PortalTraits.h.

Member Typedef Documentation

template<typename T , int N>
using tovtkm::vtkPortalTraits< const vtkm::Vec< T, N > >::TagType = vtkPortalOfVecOfValues

Definition at line 78 of file PortalTraits.h.

template<typename T , int N>
using tovtkm::vtkPortalTraits< const vtkm::Vec< T, N > >::ComponentType = typename std::remove_const<T>::type

Definition at line 79 of file PortalTraits.h.

template<typename T , int N>
using tovtkm::vtkPortalTraits< const vtkm::Vec< T, N > >::Type = vtkm::Vec<T,N>

Definition at line 80 of file PortalTraits.h.

Member Function Documentation

template<typename T , int N>
static void tovtkm::vtkPortalTraits< const vtkm::Vec< T, N > >::SetComponent ( Type t,
vtkm::IdComponent  i,
const ComponentType v 
)
inlinestatic

Definition at line 84 of file PortalTraits.h.

template<typename T , int N>
static ComponentType tovtkm::vtkPortalTraits< const vtkm::Vec< T, N > >::GetComponent ( const Type t,
vtkm::IdComponent  i 
)
inlinestatic

Definition at line 91 of file PortalTraits.h.

Member Data Documentation

template<typename T , int N>
constexpr vtkm::IdComponent tovtkm::vtkPortalTraits< const vtkm::Vec< T, N > >::NUM_COMPONENTS = N
static

Definition at line 81 of file PortalTraits.h.


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