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

#include <PortalTraits.h>

Public Types

using ComponentType = typename std::remove_const< T >::type
 
using Type = ComponentType
 

Static Public Member Functions

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 = 1
 

Detailed Description

template<typename T>
struct tovtkm::vtkPortalTraits< T >

Definition at line 30 of file PortalTraits.h.

Member Typedef Documentation

template<typename T>
using tovtkm::vtkPortalTraits< T >::ComponentType = typename std::remove_const<T>::type

Definition at line 32 of file PortalTraits.h.

template<typename T>
using tovtkm::vtkPortalTraits< T >::Type = ComponentType

Definition at line 33 of file PortalTraits.h.

Member Function Documentation

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

Definition at line 37 of file PortalTraits.h.

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

Definition at line 41 of file PortalTraits.h.

Member Data Documentation

template<typename T>
constexpr vtkm::IdComponent tovtkm::vtkPortalTraits< T >::NUM_COMPONENTS = 1
static

Definition at line 34 of file PortalTraits.h.


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