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

#include <Clip.h>

Inheritance diagram for vtkm::worklet::Clip::ComputeStats:
vtkm::worklet::WorkletVisitCellsWithPoints vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint > vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(CellSetIn, FieldInPoint, ExecObject clippingData, FieldOutCell, FieldOutCell)
 
using ExecutionSignature = void(CellShape, PointCount, _2, _3, _4, _5)
 
using InputDomain = _1
 
- 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 ComputeStats (vtkm::Float64 value, bool invert)
 
template<typename CellShapeTag , typename ScalarFieldVec , typename DeviceAdapter >
VTKM_EXEC void operator() (CellShapeTag shape, vtkm::IdComponent pointCount, const ScalarFieldVec &scalars, const internal::ClipTables::DevicePortal< DeviceAdapter > &clippingData, ClipStats &clipStat, vtkm::Id &clipDataIndex) 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

vtkm::Float64 Value
 
bool Invert
 

Member Typedef Documentation

◆ ControlSignature

◆ ExecutionSignature

using vtkm::worklet::Clip::ComputeStats::ExecutionSignature = void(CellShape, PointCount, _2, _3, _4, _5)

◆ InputDomain

Constructor & Destructor Documentation

◆ ComputeStats()

VTKM_CONT vtkm::worklet::Clip::ComputeStats::ComputeStats ( vtkm::Float64  value,
bool  invert 
)
inline

Member Function Documentation

◆ operator()()

template<typename CellShapeTag , typename ScalarFieldVec , typename DeviceAdapter >
VTKM_EXEC void vtkm::worklet::Clip::ComputeStats::operator() ( CellShapeTag  shape,
vtkm::IdComponent  pointCount,
const ScalarFieldVec &  scalars,
const internal::ClipTables::DevicePortal< DeviceAdapter > &  clippingData,
ClipStats clipStat,
vtkm::Id clipDataIndex 
) const
inline

Member Data Documentation

◆ Invert

bool vtkm::worklet::Clip::ComputeStats::Invert
private

◆ Value

vtkm::Float64 vtkm::worklet::Clip::ComputeStats::Value
private

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