VTK  9.6.20260520
tovtkm::vtkPortalTraits< viskores::Vec< viskores::Vec< T, N >, M > > Struct Template Reference

#include <PortalTraits.h>

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

Public Types

using TagType = vtkPortalOfVecOfVecValues
 
using ComponentType = typename std::remove_const<T>::type
 
using Type = viskores::Vec<viskores::Vec<T, N>, M>
 
using TagType
 
using ComponentType
 
using Type
 

Static Public Member Functions

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

Static Public Attributes

static constexpr viskores::IdComponent NUM_COMPONENTS = N * M
 
static constexpr viskores::IdComponent NUM_COMPONENTS_OUTER = M
 
static constexpr viskores::IdComponent NUM_COMPONENTS_INNER = N
 
static constexpr viskores::IdComponent NUM_COMPONENTS
 

Detailed Description

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

Definition at line 80 of file PortalTraits.h.

Member Typedef Documentation

◆ TagType [1/2]

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

Definition at line 82 of file PortalTraits.h.

◆ ComponentType [1/2]

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

Definition at line 83 of file PortalTraits.h.

◆ Type [1/2]

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

Definition at line 84 of file PortalTraits.h.

◆ TagType [2/2]

using tovtkm::vtkPortalTraits< T >::TagType

Definition at line 27 of file PortalTraits.h.

◆ ComponentType [2/2]

using tovtkm::vtkPortalTraits< T >::ComponentType

Definition at line 28 of file PortalTraits.h.

◆ Type [2/2]

using tovtkm::vtkPortalTraits< T >::Type

Definition at line 29 of file PortalTraits.h.

Member Function Documentation

◆ SetComponent() [1/2]

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

Definition at line 90 of file PortalTraits.h.

◆ GetComponent() [1/2]

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

Definition at line 98 of file PortalTraits.h.

◆ SetComponent() [2/2]

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

Definition at line 32 of file PortalTraits.h.

◆ GetComponent() [2/2]

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

Definition at line 34 of file PortalTraits.h.

Member Data Documentation

◆ NUM_COMPONENTS [1/2]

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

Definition at line 85 of file PortalTraits.h.

◆ NUM_COMPONENTS_OUTER

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

Definition at line 87 of file PortalTraits.h.

◆ NUM_COMPONENTS_INNER

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

Definition at line 88 of file PortalTraits.h.

◆ NUM_COMPONENTS [2/2]

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

Definition at line 30 of file PortalTraits.h.


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