VTK-m  2.0
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
vtkm::VecTraits< vtkm::Range > Struct Reference

#include <Range.h>

Public Types

using ComponentType = vtkm::Float64
 
using BaseComponentType = vtkm::Float64
 
using HasMultipleComponents = vtkm::VecTraitsTagMultipleComponents
 
using IsSizeStatic = vtkm::VecTraitsTagSizeStatic
 
template<typename NewComponentType >
using ReplaceComponentType = vtkm::Vec< NewComponentType, NUM_COMPONENTS >
 
template<typename NewComponentType >
using ReplaceBaseComponentType = vtkm::Vec< NewComponentType, NUM_COMPONENTS >
 

Static Public Member Functions

static constexpr vtkm::IdComponent GetNumberOfComponents (const vtkm::Range &)
 
static const VTKM_EXEC_CONT ComponentTypeGetComponent (const vtkm::Range &range, vtkm::IdComponent component)
 
static VTKM_EXEC_CONT ComponentTypeGetComponent (vtkm::Range &range, vtkm::IdComponent component)
 
static VTKM_EXEC_CONT void SetComponent (vtkm::Range &range, vtkm::IdComponent component, ComponentType value)
 
template<vtkm::IdComponent destSize>
static VTKM_EXEC_CONT void CopyInto (const vtkm::Range &src, vtkm::Vec< ComponentType, destSize > &dest)
 

Static Public Attributes

static constexpr vtkm::IdComponent NUM_COMPONENTS = 2
 

Member Typedef Documentation

◆ BaseComponentType

◆ ComponentType

◆ HasMultipleComponents

◆ IsSizeStatic

◆ ReplaceBaseComponentType

template<typename NewComponentType >
using vtkm::VecTraits< vtkm::Range >::ReplaceBaseComponentType = vtkm::Vec<NewComponentType, NUM_COMPONENTS>

◆ ReplaceComponentType

template<typename NewComponentType >
using vtkm::VecTraits< vtkm::Range >::ReplaceComponentType = vtkm::Vec<NewComponentType, NUM_COMPONENTS>

Member Function Documentation

◆ CopyInto()

template<vtkm::IdComponent destSize>
static VTKM_EXEC_CONT void vtkm::VecTraits< vtkm::Range >::CopyInto ( const vtkm::Range src,
vtkm::Vec< ComponentType, destSize > &  dest 
)
inlinestatic

◆ GetComponent() [1/2]

static const VTKM_EXEC_CONT ComponentType& vtkm::VecTraits< vtkm::Range >::GetComponent ( const vtkm::Range range,
vtkm::IdComponent  component 
)
inlinestatic

◆ GetComponent() [2/2]

static VTKM_EXEC_CONT ComponentType& vtkm::VecTraits< vtkm::Range >::GetComponent ( vtkm::Range range,
vtkm::IdComponent  component 
)
inlinestatic

◆ GetNumberOfComponents()

static constexpr vtkm::IdComponent vtkm::VecTraits< vtkm::Range >::GetNumberOfComponents ( const vtkm::Range )
inlinestaticconstexpr

◆ SetComponent()

static VTKM_EXEC_CONT void vtkm::VecTraits< vtkm::Range >::SetComponent ( vtkm::Range range,
vtkm::IdComponent  component,
ComponentType  value 
)
inlinestatic

Member Data Documentation

◆ NUM_COMPONENTS

constexpr vtkm::IdComponent vtkm::VecTraits< vtkm::Range >::NUM_COMPONENTS = 2
staticconstexpr

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