VTK-m
2.0
|
An implicit vector for point coordinates in axis aligned cells. More...
#include <VecAxisAlignedPointCoordinates.h>
Public Types | |
using | ComponentType = vtkm::Vec3f |
Public Member Functions | |
VTKM_EXEC_CONT | VecAxisAlignedPointCoordinates (ComponentType origin=ComponentType(0, 0, 0), ComponentType spacing=ComponentType(1, 1, 1)) |
VTKM_EXEC_CONT vtkm::IdComponent | GetNumberOfComponents () const |
template<vtkm::IdComponent DestSize> | |
VTKM_EXEC_CONT void | CopyInto (vtkm::Vec< ComponentType, DestSize > &dest) const |
VTKM_EXEC_CONT ComponentType | operator[] (vtkm::IdComponent index) const |
const VTKM_EXEC_CONT ComponentType & | GetOrigin () const |
const VTKM_EXEC_CONT ComponentType & | GetSpacing () const |
Static Public Attributes | |
static constexpr vtkm::IdComponent | NUM_COMPONENTS |
Private Attributes | |
ComponentType | Origin |
ComponentType | Spacing |
An implicit vector for point coordinates in axis aligned cells.
For internal use only.
The VecAxisAlignedPointCoordinates
class is a Vec-like class that holds the point coordinates for a axis aligned cell. The class is templated on the dimensions of the cell, which can be 1 (for a line).
This is an internal class used to represent coordinates for uniform datasets in an execution environment when executing a WorkletMapPointToCell. Users should not directly construct this class under any circumstances. Use the related ArrayPortalUniformPointCoordinates and ArrayHandleUniformPointCoordinates classes instead.
using vtkm::VecAxisAlignedPointCoordinates< NumDimensions >::ComponentType = vtkm::Vec3f |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
staticconstexpr |
|
private |
|
private |