VTK-m
2.0
|
#include <VecTraits.h>
Additional Inherited Members | |
Public Types inherited from vtkm::VecTraits< T > | |
using | ComponentType = typename T ::ComponentType |
Type of the components in the vector. More... | |
using | BaseComponentType = typename vtkm::VecTraits< ComponentType >::BaseComponentType |
Base component type in the vector. More... | |
using | HasMultipleComponents = typename internal::VecTraitsMultipleComponentChooser< NUM_COMPONENTS >::Type |
A tag specifying whether this vector has multiple components (i.e. More... | |
using | IsSizeStatic = vtkm::VecTraitsTagSizeStatic |
A tag specifying whether the size of this vector is known at compile time. More... | |
using | ReplaceComponentType = VecTemplate< NewComponentType, N > |
Get a vector of the same type but with a different component. More... | |
using | ReplaceBaseComponentType = VecTemplate< typename VecTraits< ComponentType >::template ReplaceBaseComponentType< NewComponentType >, N > |
Get a vector of the same type but with a different base component. More... | |
Static Public Member Functions inherited from vtkm::VecTraits< T > | |
static vtkm::IdComponent | GetNumberOfComponents (const T &vec) |
Number of components in the given vector. More... | |
static const VTKM_EXEC_CONT ComponentType & | GetComponent (const typename std::remove_const< T >::type &vector, vtkm::IdComponent component) |
Returns the value in a given component of the vector. More... | |
static VTKM_EXEC_CONT ComponentType & | GetComponent (typename std::remove_const< T >::type &vector, vtkm::IdComponent component) |
static VTKM_EXEC_CONT void | SetComponent (T &vector, vtkm::IdComponent component, ComponentType value) |
Changes the value in a given component of the vector. More... | |
static VTKM_EXEC_CONT void | CopyInto (const T &src, vtkm::Vec< ComponentType, destSize > &dest) |
Copies the components in the given vector into a given Vec object. More... | |
Static Public Attributes inherited from vtkm::VecTraits< T > | |
static constexpr vtkm::IdComponent | NUM_COMPONENTS |
Number of components in the vector. More... | |