VTK-m  2.0
Public Types | Public Member Functions | List of all members
vtkm::worklet::RemoveUnusedPoints::GeneratePointMask Struct Reference

A worklet that creates a mask of used points (the first step in removing unused points). More...

#include <RemoveUnusedPoints.h>

Inheritance diagram for vtkm::worklet::RemoveUnusedPoints::GeneratePointMask:
vtkm::worklet::WorkletMapField vtkm::exec::FunctorBase

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
 

Detailed Description

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.

Member Typedef Documentation

◆ ControlSignature

using vtkm::worklet::RemoveUnusedPoints::GeneratePointMask::ControlSignature = void(FieldIn pointIndices, WholeArrayInOut pointMask)

◆ ExecutionSignature

Member Function Documentation

◆ operator()()

template<typename PointMaskPortalType >
VTKM_EXEC void vtkm::worklet::RemoveUnusedPoints::GeneratePointMask::operator() ( vtkm::Id  pointIndex,
const PointMaskPortalType &  pointMask 
) const
inline

The documentation for this struct was generated from the following file: