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

#include <Bounds.h>

Public Types

using ComponentType = vtkm::Range
 
using BaseComponentType = vtkm::VecTraits< vtkm::Range >::BaseComponentType
 
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 *vtkm::VecTraits< vtkm::Range >::NUM_COMPONENTS >
 

Static Public Member Functions

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

Static Public Attributes

static constexpr vtkm::IdComponent NUM_COMPONENTS = 3
 

Member Typedef Documentation

◆ BaseComponentType

◆ ComponentType

◆ HasMultipleComponents

◆ IsSizeStatic

◆ ReplaceBaseComponentType

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

◆ ReplaceComponentType

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

Member Function Documentation

◆ CopyInto()

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

◆ GetComponent() [1/2]

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

◆ GetComponent() [2/2]

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

◆ GetNumberOfComponents()

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

◆ SetComponent()

static VTKM_EXEC_CONT void vtkm::VecTraits< vtkm::Bounds >::SetComponent ( vtkm::Bounds bounds,
vtkm::IdComponent  component,
const ComponentType value 
)
inlinestatic

Member Data Documentation

◆ NUM_COMPONENTS

constexpr vtkm::IdComponent vtkm::VecTraits< vtkm::Bounds >::NUM_COMPONENTS = 3
staticconstexpr

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