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

#include <PortalTraits.h>

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

Public Types

using TagType = vtkPortalOfVecOfVecValues
 
using ComponentType = typename std::remove_const<T>::type
 
using Type = vtkm::Vec<vtkm::Vec<T, N>, M>
 
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 * M
 
static constexpr vtkm::IdComponent NUM_COMPONENTS_OUTER = M
 
static constexpr vtkm::IdComponent NUM_COMPONENTS_INNER = N
 
static constexpr vtkm::IdComponent NUM_COMPONENTS
 

Detailed Description

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

Definition at line 118 of file PortalTraits.h.

Member Typedef Documentation

◆ TagType [1/2]

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

Definition at line 120 of file PortalTraits.h.

◆ ComponentType [1/2]

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

Definition at line 121 of file PortalTraits.h.

◆ Type [1/2]

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

Definition at line 122 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, int M>
static void tovtkm::vtkPortalTraits< const vtkm::Vec< vtkm::Vec< T, N >, M > >::SetComponent ( Type & t,
vtkm::IdComponent i,
const ComponentType & v )
inlinestatic

Definition at line 128 of file PortalTraits.h.

◆ GetComponent() [1/2]

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

Definition at line 136 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, int M>
vtkm::IdComponent tovtkm::vtkPortalTraits< const vtkm::Vec< vtkm::Vec< T, N >, M > >::NUM_COMPONENTS = N * M
staticconstexpr

Definition at line 123 of file PortalTraits.h.

◆ NUM_COMPONENTS_OUTER

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

Definition at line 125 of file PortalTraits.h.

◆ NUM_COMPONENTS_INNER

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

Definition at line 126 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: