VTK-m
2.0
|
A worklet that creates a mask of used points (the first step in removing unused points). More...
#include <RemoveUnusedPoints.h>
Public Types | |
using | ControlSignature = void(FieldIn pointIndices, WholeArrayInOut pointMask) |
using | ExecutionSignature = void(_1, _2) |
Public Types inherited from vtkm::worklet::WorkletMapField | |
template<typename Worklet > | |
using | Dispatcher = vtkm::worklet::DispatcherMapField< Worklet > |
Public Member Functions | |
template<typename PointMaskPortalType > | |
VTKM_EXEC void | operator() (vtkm::Id pointIndex, const PointMaskPortalType &pointMask) const |
A worklet that creates a mask of used points (the first step in removing unused points).
Given an array of point indices (taken from the connectivity of a CellSetExplicit) and an array mask initialized to 0, writes a 1 at the index of every point referenced by a cell.
using vtkm::worklet::RemoveUnusedPoints::GeneratePointMask::ControlSignature = void(FieldIn pointIndices, WholeArrayInOut pointMask) |
using vtkm::worklet::RemoveUnusedPoints::GeneratePointMask::ExecutionSignature = void(_1, _2) |
|
inline |