VTK-m
2.0
|
#include <Tube.h>
Public Types | |
using | ControlSignature = void(CellSetIn cellset, WholeArrayIn pointCoords, FieldInCell polylineOffset, WholeArrayOut newNormals) |
using | ExecutionSignature = void(CellShape shapeType, PointCount numPoints, PointIndices ptIndices, _2 inPts, _3 polylineOffset, _4 outNormals) |
using | InputDomain = _1 |
using | ScatterType = vtkm::worklet::ScatterCounting |
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 | GenerateNormals () |
template<typename InPointsType , typename PointIndexType > | |
VTKM_EXEC vtkm::IdComponent | FindValidSegment (const InPointsType &inPts, const PointIndexType &ptIndices, const vtkm::IdComponent &numPoints, vtkm::IdComponent start) const |
template<typename CellShapeTag , typename PointIndexType , typename InPointsType , typename OutNormalType > | |
VTKM_EXEC void | operator() (const CellShapeTag &shapeType, const vtkm::IdComponent &numPoints, const PointIndexType &ptIndices, const InPointsType &inPts, const vtkm::Id &polylineOffset, OutNormalType &outNormals) 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::CustomScatterOrMaskTag > | GetThreadIndices (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... | |
Static Public Member Functions | |
static VTKM_CONT ScatterType | MakeScatter (const vtkm::cont::ArrayHandle< vtkm::Id > &validCell) |
Private Attributes | |
vtkm::Vec3f | DefaultNorm |
Static Private Attributes | |
static constexpr vtkm::FloatDefault | vecMagnitudeEps = static_cast<vtkm::FloatDefault>(1e-3) |
using vtkm::worklet::Tube::GenerateNormals::ControlSignature = void(CellSetIn cellset, WholeArrayIn pointCoords, FieldInCell polylineOffset, WholeArrayOut newNormals) |
using vtkm::worklet::Tube::GenerateNormals::ExecutionSignature = void(CellShape shapeType, PointCount numPoints, PointIndices ptIndices, _2 inPts, _3 polylineOffset, _4 outNormals) |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
private |
|
staticconstexprprivate |