VTK-m  2.0
Public Types | Public Member Functions | Private Attributes | List of all members
vtkm::worklet::VertexClustering::MapPointsWorklet Class Reference

#include <VertexClustering.h>

Inheritance diagram for vtkm::worklet::VertexClustering::MapPointsWorklet:
vtkm::worklet::WorkletMapField vtkm::exec::FunctorBase

Public Types

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

Public Member Functions

VTKM_CONT MapPointsWorklet (const GridInfo &grid)
 
template<typename PointType >
VTKM_EXEC vtkm::Id GetClusterId (const PointType &p) const
 determine grid resolution for clustering More...
 
template<typename PointType >
VTKM_EXEC void operator() (const PointType &point, vtkm::Id &cid) const
 

Private Attributes

GridInfo Grid
 

Member Typedef Documentation

◆ ControlSignature

◆ ExecutionSignature

Constructor & Destructor Documentation

◆ MapPointsWorklet()

VTKM_CONT vtkm::worklet::VertexClustering::MapPointsWorklet::MapPointsWorklet ( const GridInfo grid)
inline

Member Function Documentation

◆ GetClusterId()

template<typename PointType >
VTKM_EXEC vtkm::Id vtkm::worklet::VertexClustering::MapPointsWorklet::GetClusterId ( const PointType &  p) const
inline

determine grid resolution for clustering

◆ operator()()

template<typename PointType >
VTKM_EXEC void vtkm::worklet::VertexClustering::MapPointsWorklet::operator() ( const PointType &  point,
vtkm::Id cid 
) const
inline

Member Data Documentation

◆ Grid

GridInfo vtkm::worklet::VertexClustering::MapPointsWorklet::Grid
private

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