VTK-m  2.2
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 ComponentTypeGetComponent (const vtkm::Range &range, vtkm::IdComponent component)
 
static ComponentTypeGetComponent (vtkm::Range &range, vtkm::IdComponent component)
 
static void SetComponent (vtkm::Range &range, vtkm::IdComponent component, ComponentType value)
 
template<vtkm::IdComponent destSize>
static 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 void vtkm::VecTraits< vtkm::Range >::CopyInto ( const vtkm::Range src,
vtkm::Vec< ComponentType, destSize > &  dest 
)
inlinestatic

◆ GetComponent() [1/2]

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

◆ GetComponent() [2/2]

static 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 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: