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

#include <PortalTraits.h>

Public Types

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

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*M
 
static constexpr vtkm::IdComponent NUM_COMPONENTS_OUTER = M
 
static constexpr vtkm::IdComponent NUM_COMPONENTS_INNER = N
 

Detailed Description

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

Definition at line 99 of file PortalTraits.h.

Member Typedef Documentation

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

Definition at line 101 of file PortalTraits.h.

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

Definition at line 102 of file PortalTraits.h.

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

Definition at line 103 of file PortalTraits.h.

Member Function Documentation

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

Definition at line 110 of file PortalTraits.h.

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

Definition at line 119 of file PortalTraits.h.

Member Data Documentation

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

Definition at line 104 of file PortalTraits.h.

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

Definition at line 106 of file PortalTraits.h.

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

Definition at line 107 of file PortalTraits.h.


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