#include <VecTraits.h>
|
static vtkm::IdComponent | GetNumberOfComponents (const T *vector) |
|
static auto | GetComponent (const T *vector, vtkm::IdComponent component) -> decltype(VecTraits< T >::GetComponent(*vector, component)) |
|
static auto | GetComponent (T *vector, vtkm::IdComponent component) -> decltype(VecTraits< T >::GetComponent(*vector, component)) |
|
static void | SetComponent (T *vector, vtkm::IdComponent component, typename VecTraits< T >::ComponentType value) |
|
template<vtkm::IdComponent destSize> |
static void | CopyInto (const T *src, vtkm::Vec< typename VecTraits< T >::ComponentType, destSize > &dest) |
|
static constexpr vtkm::IdComponent | GetNumberOfComponents (const T &) |
| Returns the number of components in the given vector. More...
|
|
static const ComponentType & | GetComponent (const T &vector, vtkm::IdComponent) |
| Returns the value in a given component of the vector. More...
|
|
static ComponentType & | GetComponent (T &vector, vtkm::IdComponent) |
| Returns the value in a given component of the vector. More...
|
|
static void | SetComponent (T &vector, vtkm::IdComponent, ComponentType value) |
| Changes the value in a given component of the vector. More...
|
|
template<vtkm::IdComponent destSize> |
static void | CopyInto (const T &src, vtkm::Vec< ComponentType, destSize > &dest) |
| Copies the components in the given vector into a given Vec object. More...
|
|
◆ ReplaceBaseComponentType
template<typename T >
template<typename NewComponentType >
◆ ReplaceComponentType
template<typename T >
template<typename NewComponentType >
◆ CopyInto()
template<typename T >
template<vtkm::IdComponent destSize>
◆ GetComponent() [1/2]
◆ GetComponent() [2/2]
◆ GetNumberOfComponents()
◆ SetComponent()
The documentation for this struct was generated from the following file: