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

#include <SplitSharpEdges.h>

Inheritance diagram for vtkm::worklet::SplitSharpEdges::ClassifyPoint:
vtkm::worklet::WorkletVisitPointsWithCells vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell > vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(CellSetIn intputCells, WholeCellSetIn< Cell, Point >, FieldInCell faceNormals, FieldOutPoint newPointNum, FieldOutPoint cellNum)
 
using ExecutionSignature = void(CellIndices incidentCells, InputIndex pointIndex, _2 pFromCellSet, _3 faceNormals, _4 newPointNum, _5 cellNum)
 
using InputDomain = _1
 
- Public Types inherited from vtkm::worklet::WorkletVisitPointsWithCells
using FieldInCell = FieldInIncident
 
using FieldInPoint = FieldInVisit
 
using FieldOutPoint = FieldOut
 
using FieldInOutPoint = FieldInOut
 
using CellCount = IncidentElementCount
 
using CellIndices = IncidentElementIndices
 
- Public Types inherited from vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell >
using VisitTopologyType = vtkm::TopologyElementTagPoint
 
using IncidentTopologyType = vtkm::TopologyElementTagCell
 

Public Member Functions

 ClassifyPoint (vtkm::FloatDefault cosfeatureAngle)
 
template<typename IncidentCellVecType , typename PointFromCellSetType , typename FaceNormalVecType >
VTKM_EXEC void operator() (const IncidentCellVecType &incidentCells, vtkm::Id pointIndex, const PointFromCellSetType &pFromCellSet, const FaceNormalVecType &faceNormals, vtkm::Id &newPointNum, vtkm::Id &cellNum) const
 
- Public Member Functions inherited from vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell >
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC vtkm::exec::arg::ThreadIndicesTopologyMap< InputDomainType, vtkm::exec::arg::CustomScatterOrMaskTagGetThreadIndices (vtkm::Id threadIndex, const OutToInArrayType &outToIn, const VisitArrayType &visit, const ThreadToOutArrayType &threadToOut, const InputDomainType &connectivity) const
 Topology map worklets use topology map indices. More...
 
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC EnableFnWhen< S &&M, vtkm::exec::arg::ThreadIndicesTopologyMap< InputDomainType, vtkm::exec::arg::DefaultScatterAndMaskTag > > GetThreadIndices (vtkm::Id threadIndex1D, const vtkm::Id3 &threadIndex3D, const OutToInArrayType &vtkmNotUsed(outToIn), const VisitArrayType &vtkmNotUsed(visit), const ThreadToOutArrayType &vtkmNotUsed(threadToOut), const InputDomainType &connectivity) const
 Optimized for ScatterIdentity and MaskNone. More...
 
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC EnableFnWhen<!(S &&M), vtkm::exec::arg::ThreadIndicesTopologyMap< InputDomainType, vtkm::exec::arg::CustomScatterOrMaskTag > > GetThreadIndices (vtkm::Id threadIndex1D, const vtkm::Id3 &threadIndex3D, const OutToInArrayType &outToIn, const VisitArrayType &visit, const ThreadToOutArrayType &threadToOut, const InputDomainType &connectivity) const
 Default version. More...
 

Private Attributes

vtkm::FloatDefault CosFeatureAngle
 

Member Typedef Documentation

◆ ControlSignature

using vtkm::worklet::SplitSharpEdges::ClassifyPoint::ControlSignature = void(CellSetIn intputCells, WholeCellSetIn<Cell, Point>, FieldInCell faceNormals, FieldOutPoint newPointNum, FieldOutPoint cellNum)

◆ ExecutionSignature

using vtkm::worklet::SplitSharpEdges::ClassifyPoint::ExecutionSignature = void(CellIndices incidentCells, InputIndex pointIndex, _2 pFromCellSet, _3 faceNormals, _4 newPointNum, _5 cellNum)

◆ InputDomain

Constructor & Destructor Documentation

◆ ClassifyPoint()

vtkm::worklet::SplitSharpEdges::ClassifyPoint::ClassifyPoint ( vtkm::FloatDefault  cosfeatureAngle)
inline

Member Function Documentation

◆ operator()()

template<typename IncidentCellVecType , typename PointFromCellSetType , typename FaceNormalVecType >
VTKM_EXEC void vtkm::worklet::SplitSharpEdges::ClassifyPoint::operator() ( const IncidentCellVecType &  incidentCells,
vtkm::Id  pointIndex,
const PointFromCellSetType &  pFromCellSet,
const FaceNormalVecType &  faceNormals,
vtkm::Id newPointNum,
vtkm::Id cellNum 
) const
inline

Member Data Documentation

◆ CosFeatureAngle

vtkm::FloatDefault vtkm::worklet::SplitSharpEdges::ClassifyPoint::CosFeatureAngle
private

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