VTK-m  2.0
Public Types | Public Member Functions | Private Attributes | List of all members
vtkm::worklet::Threshold::ThresholdByPointField< UnaryPredicate > Class Template Reference

#include <Threshold.h>

Inheritance diagram for vtkm::worklet::Threshold::ThresholdByPointField< UnaryPredicate >:
vtkm::worklet::WorkletVisitCellsWithPoints vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint > vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(CellSetIn cellset, FieldInPoint scalars, FieldOutCell passFlags)
 
using ExecutionSignature = _3(_2, PointCount)
 
- Public Types inherited from vtkm::worklet::WorkletVisitCellsWithPoints
using FieldInPoint = FieldInIncident
 
using FieldInCell = FieldInVisit
 
using FieldOutCell = FieldOut
 
using FieldInOutCell = FieldInOut
 
using PointCount = IncidentElementCount
 
using PointIndices = IncidentElementIndices
 
- Public Types inherited from vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint >
using VisitTopologyType = vtkm::TopologyElementTagCell
 
using IncidentTopologyType = vtkm::TopologyElementTagPoint
 

Public Member Functions

VTKM_CONT ThresholdByPointField ()
 
VTKM_CONT ThresholdByPointField (const UnaryPredicate &predicate, bool allPointsMustPass)
 
template<typename ScalarsVecType >
VTKM_EXEC bool operator() (const ScalarsVecType &scalars, vtkm::Id count) const
 
- Public Member Functions inherited from vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint >
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

UnaryPredicate Predicate
 
bool AllPointsMustPass
 

Member Typedef Documentation

◆ ControlSignature

template<typename UnaryPredicate >
using vtkm::worklet::Threshold::ThresholdByPointField< UnaryPredicate >::ControlSignature = void(CellSetIn cellset, FieldInPoint scalars, FieldOutCell passFlags)

◆ ExecutionSignature

template<typename UnaryPredicate >
using vtkm::worklet::Threshold::ThresholdByPointField< UnaryPredicate >::ExecutionSignature = _3(_2, PointCount)

Constructor & Destructor Documentation

◆ ThresholdByPointField() [1/2]

template<typename UnaryPredicate >
VTKM_CONT vtkm::worklet::Threshold::ThresholdByPointField< UnaryPredicate >::ThresholdByPointField ( )
inline

◆ ThresholdByPointField() [2/2]

template<typename UnaryPredicate >
VTKM_CONT vtkm::worklet::Threshold::ThresholdByPointField< UnaryPredicate >::ThresholdByPointField ( const UnaryPredicate &  predicate,
bool  allPointsMustPass 
)
inlineexplicit

Member Function Documentation

◆ operator()()

template<typename UnaryPredicate >
template<typename ScalarsVecType >
VTKM_EXEC bool vtkm::worklet::Threshold::ThresholdByPointField< UnaryPredicate >::operator() ( const ScalarsVecType &  scalars,
vtkm::Id  count 
) const
inline

Member Data Documentation

◆ AllPointsMustPass

template<typename UnaryPredicate >
bool vtkm::worklet::Threshold::ThresholdByPointField< UnaryPredicate >::AllPointsMustPass
private

◆ Predicate

template<typename UnaryPredicate >
UnaryPredicate vtkm::worklet::Threshold::ThresholdByPointField< UnaryPredicate >::Predicate
private

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