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

#include <Tube.h>

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

Public Types

using ControlSignature = void(CellSetIn cellset, FieldInCell ptsPerPolyline, FieldInCell tubePointOffsets, FieldInCell tubeConnOffsets, WholeArrayOut outConnectivity, WholeArrayOut outCellSrcIdx)
 
using ExecutionSignature = void(CellShape shapeType, InputIndex inCellIndex, _2 ptsPerPolyline, _3 tubePointOffset, _4 tubeConnOffsets, _5 outConn, _6 outCellSrcIdx)
 
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 GenerateCells (const bool &capping, const vtkm::Id &n)
 
template<typename CellShapeTag , typename OutConnType , typename OutCellSrcIdxType >
VTKM_EXEC void operator() (const CellShapeTag &shapeType, vtkm::Id inCellIndex, const vtkm::IdComponent &numPoints, const vtkm::Id &tubePointOffset, const vtkm::Id &tubeConnOffset, OutConnType &outConn, OutCellSrcIdxType &outCellSrcIdx) 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
 

Member Typedef Documentation

◆ ControlSignature

using vtkm::worklet::Tube::GenerateCells::ControlSignature = void(CellSetIn cellset, FieldInCell ptsPerPolyline, FieldInCell tubePointOffsets, FieldInCell tubeConnOffsets, WholeArrayOut outConnectivity, WholeArrayOut outCellSrcIdx)

◆ ExecutionSignature

using vtkm::worklet::Tube::GenerateCells::ExecutionSignature = void(CellShape shapeType, InputIndex inCellIndex, _2 ptsPerPolyline, _3 tubePointOffset, _4 tubeConnOffsets, _5 outConn, _6 outCellSrcIdx)

◆ InputDomain

Constructor & Destructor Documentation

◆ GenerateCells()

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

Member Function Documentation

◆ operator()()

template<typename CellShapeTag , typename OutConnType , typename OutCellSrcIdxType >
VTKM_EXEC void vtkm::worklet::Tube::GenerateCells::operator() ( const CellShapeTag &  shapeType,
vtkm::Id  inCellIndex,
const vtkm::IdComponent numPoints,
const vtkm::Id tubePointOffset,
const vtkm::Id tubeConnOffset,
OutConnType &  outConn,
OutCellSrcIdxType &  outCellSrcIdx 
) const
inline

Member Data Documentation

◆ Capping

bool vtkm::worklet::Tube::GenerateCells::Capping
private

◆ NumSides

vtkm::Id vtkm::worklet::Tube::GenerateCells::NumSides
private

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