VTK  9.2.6
tovtkm::vtkPortalTraits< vtkm::Vec< T, N > > Struct Template Reference

#include <PortalTraits.h>

Inheritance diagram for tovtkm::vtkPortalTraits< vtkm::Vec< T, N > >:
[legend]
Collaboration diagram for tovtkm::vtkPortalTraits< vtkm::Vec< T, N > >:
[legend]

Public Types

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

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 void SetComponent (Type &t, vtkm::IdComponent, const ComponentType &v)
 
static ComponentType GetComponent (const Type &t, vtkm::IdComponent)
 

Static Public Attributes

static constexpr vtkm::IdComponent NUM_COMPONENTS = N
 
static constexpr vtkm::IdComponent NUM_COMPONENTS
 

Detailed Description

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

Definition at line 48 of file PortalTraits.h.

Member Typedef Documentation

◆ TagType [1/2]

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

Definition at line 50 of file PortalTraits.h.

◆ ComponentType [1/2]

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

Definition at line 51 of file PortalTraits.h.

◆ Type [1/2]

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

Definition at line 52 of file PortalTraits.h.

◆ TagType [2/2]

using tovtkm::vtkPortalTraits< T >::TagType

Definition at line 37 of file PortalTraits.h.

◆ ComponentType [2/2]

using tovtkm::vtkPortalTraits< T >::ComponentType

Definition at line 38 of file PortalTraits.h.

◆ Type [2/2]

using tovtkm::vtkPortalTraits< T >::Type

Definition at line 39 of file PortalTraits.h.

Member Function Documentation

◆ SetComponent() [1/2]

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

Definition at line 55 of file PortalTraits.h.

◆ GetComponent() [1/2]

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

Definition at line 61 of file PortalTraits.h.

◆ SetComponent() [2/2]

static void tovtkm::vtkPortalTraits< T >::SetComponent ( Type & t,
vtkm::IdComponent ,
const ComponentType & v )
inlinestatic

Definition at line 42 of file PortalTraits.h.

◆ GetComponent() [2/2]

static ComponentType tovtkm::vtkPortalTraits< T >::GetComponent ( const Type & t,
vtkm::IdComponent  )
inlinestatic

Definition at line 44 of file PortalTraits.h.

Member Data Documentation

◆ NUM_COMPONENTS [1/2]

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

Definition at line 53 of file PortalTraits.h.

◆ NUM_COMPONENTS [2/2]

vtkm::IdComponent tovtkm::vtkPortalTraits< T >::NUM_COMPONENTS
staticconstexpr

Definition at line 40 of file PortalTraits.h.


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