VTK-m
2.2
|
An implicit vector for point coordinates in axis aligned cells. More...
#include <VecAxisAlignedPointCoordinates.h>
Public Types | |
using | ComponentType = vtkm::Vec3f |
Public Member Functions | |
VecAxisAlignedPointCoordinates (ComponentType origin=ComponentType(0, 0, 0), ComponentType spacing=ComponentType(1, 1, 1)) | |
vtkm::IdComponent | GetNumberOfComponents () const |
template<vtkm::IdComponent DestSize> | |
void | CopyInto (vtkm::Vec< ComponentType, DestSize > &dest) const |
ComponentType | operator[] (vtkm::IdComponent index) const |
const ComponentType & | GetOrigin () const |
const 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 |