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

A worklet that takes an array of point indices (taken from the connectivity of a CellSetExplicit) and an array that functions as a map from the original indices to new indices, creates a new array with the new mapped indices. More...

#include <RemoveUnusedPoints.h>

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

Public Types

using ControlSignature = void(FieldIn pointIndex, WholeArrayIn indexMap, FieldOut mappedPoints)
 
using ExecutionSignature = _3(_1, _2)
 
- Public Types inherited from vtkm::worklet::WorkletMapField
template<typename Worklet >
using Dispatcher = vtkm::worklet::DispatcherMapField< Worklet >
 

Public Member Functions

template<typename IndexMapPortalType >
VTKM_EXEC vtkm::Id operator() (vtkm::Id pointIndex, const IndexMapPortalType &indexPortal) const
 

Detailed Description

A worklet that takes an array of point indices (taken from the connectivity of a CellSetExplicit) and an array that functions as a map from the original indices to new indices, creates a new array with the new mapped indices.

Member Typedef Documentation

◆ ControlSignature

using vtkm::worklet::RemoveUnusedPoints::TransformPointIndices::ControlSignature = void(FieldIn pointIndex, WholeArrayIn indexMap, FieldOut mappedPoints)

◆ ExecutionSignature

Member Function Documentation

◆ operator()()

template<typename IndexMapPortalType >
VTKM_EXEC vtkm::Id vtkm::worklet::RemoveUnusedPoints::TransformPointIndices::operator() ( vtkm::Id  pointIndex,
const IndexMapPortalType &  indexPortal 
) const
inline

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