VTK  9.3.20240329
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 59 of file PortalTraits.h.

Member Typedef Documentation

◆ TagType

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

Definition at line 61 of file PortalTraits.h.

◆ ComponentType

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

Definition at line 62 of file PortalTraits.h.

◆ Type

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

Definition at line 63 of file PortalTraits.h.

Member Function Documentation

◆ SetComponent()

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 66 of file PortalTraits.h.

◆ GetComponent()

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 72 of file PortalTraits.h.

Member Data Documentation

◆ NUM_COMPONENTS

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

Definition at line 64 of file PortalTraits.h.


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