VTK-m
2.2
|
#include <VecTraits.h>
Additional Inherited Members | |
Public Types inherited from vtkm::VecTraits< T > | |
using | ComponentType = T |
Type of the components in the vector. More... | |
using | BaseComponentType = T |
Base component type in the vector. More... | |
using | HasMultipleComponents = vtkm::VecTraitsTagSingleComponent |
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... | |
template<typename NewComponentType > | |
using | ReplaceComponentType = NewComponentType |
Get a vector of the same type but with a different component. More... | |
template<typename NewComponentType > | |
using | ReplaceBaseComponentType = NewComponentType |
Get a vector of the same type but with a different base component. More... | |
Static Public Member Functions inherited from vtkm::VecTraits< T > | |
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... | |
Static Public Attributes inherited from vtkm::VecTraits< T > | |
static constexpr vtkm::IdComponent | NUM_COMPONENTS = 1 |
Number of components in the vector. More... | |