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

#include <Tube.h>

Inheritance diagram for vtkm::worklet::Tube::CountSegments:
vtkm::worklet::WorkletVisitCellsWithPoints vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint > vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(CellSetIn cellset, WholeArrayIn pointCoords, FieldOut nonIncidentPtsPerPolyline, FieldOut ptsPerPolyline, FieldOut ptsPerTube, FieldOut numTubeConnIds, FieldOut validCell)
 
using ExecutionSignature = void(CellShape shapeType, PointCount numPoints, PointIndices ptIndices, _2 inPts, _3 nonIncidentPtsPerPolyline, _4 ptsPerPolyline, _5 ptsPerTube, _6 numTubeConnIds, _7 validCell)
 
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 CountSegments (const bool &capping, const vtkm::Id &n)
 
template<typename CellShapeTag , typename PointIndexType , typename InPointsType >
VTKM_EXEC void operator() (const CellShapeTag &shapeType, const vtkm::IdComponent &numPoints, const PointIndexType &ptIndices, const InPointsType &inPts, vtkm::IdComponent &nonIncidentPtsPerPolyline, vtkm::Id &ptsPerPolyline, vtkm::Id &ptsPerTube, vtkm::Id &numTubeConnIds, vtkm::Id &validCell) 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

bool Capping
 
vtkm::Id NumSides
 
vtkm::Id NumVertsPerCell
 

Member Typedef Documentation

◆ ControlSignature

using vtkm::worklet::Tube::CountSegments::ControlSignature = void(CellSetIn cellset, WholeArrayIn pointCoords, FieldOut nonIncidentPtsPerPolyline, FieldOut ptsPerPolyline, FieldOut ptsPerTube, FieldOut numTubeConnIds, FieldOut validCell)

◆ ExecutionSignature

using vtkm::worklet::Tube::CountSegments::ExecutionSignature = void(CellShape shapeType, PointCount numPoints, PointIndices ptIndices, _2 inPts, _3 nonIncidentPtsPerPolyline, _4 ptsPerPolyline, _5 ptsPerTube, _6 numTubeConnIds, _7 validCell)

◆ InputDomain

Constructor & Destructor Documentation

◆ CountSegments()

VTKM_CONT vtkm::worklet::Tube::CountSegments::CountSegments ( const bool &  capping,
const vtkm::Id n 
)
inline

Member Function Documentation

◆ operator()()

template<typename CellShapeTag , typename PointIndexType , typename InPointsType >
VTKM_EXEC void vtkm::worklet::Tube::CountSegments::operator() ( const CellShapeTag &  shapeType,
const vtkm::IdComponent numPoints,
const PointIndexType &  ptIndices,
const InPointsType &  inPts,
vtkm::IdComponent nonIncidentPtsPerPolyline,
vtkm::Id ptsPerPolyline,
vtkm::Id ptsPerTube,
vtkm::Id numTubeConnIds,
vtkm::Id validCell 
) const
inline

Member Data Documentation

◆ Capping

bool vtkm::worklet::Tube::CountSegments::Capping
private

◆ NumSides

vtkm::Id vtkm::worklet::Tube::CountSegments::NumSides
private

◆ NumVertsPerCell

vtkm::Id vtkm::worklet::Tube::CountSegments::NumVertsPerCell
private

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