Go to the documentation of this file.
57 #ifndef vtkm_worklet_contourtree_set_join_and_split_arcs_h
58 #define vtkm_worklet_contourtree_set_join_and_split_arcs_h
75 WholeArrayIn joinMergeArcs,
76 WholeArrayIn splitMergeArcs,
77 WholeArrayIn regularToCritical,
87 template <
typename InFieldPortalType>
89 const InFieldPortalType& joinMergeArcs,
90 const InFieldPortalType& splitMergeArcs,
91 const InFieldPortalType& regularToCritical,
96 vtkm::Id joinTo = joinMergeArcs.Get(regularID);
101 joinArc = regularToCritical.Get(joinTo);
103 vtkm::Id splitTo = splitMergeArcs.Get(regularID);
108 splitArc = regularToCritical.Get(splitTo);
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
void(_1, _2, _3, _4, _5, _6) ExecutionSignature
Definition: SetJoinAndSplitArcs.h:80
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
A control signature tag for output fields.
Definition: WorkletMapField.h:60
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
void(FieldIn regularID, WholeArrayIn joinMergeArcs, WholeArrayIn splitMergeArcs, WholeArrayIn regularToCritical, FieldOut joinArc, FieldOut splitArc) ControlSignature
Definition: SetJoinAndSplitArcs.h:79
VTKM_EXEC_CONT SetJoinAndSplitArcs()
Definition: SetJoinAndSplitArcs.h:85
A control signature tag for input fields.
Definition: WorkletMapField.h:49
#define NO_VERTEX_ASSIGNED
Definition: filter/scalar_topology/worklet/contourtree/Types.h:77
Definition: SetJoinAndSplitArcs.h:71
VTKM_EXEC void operator()(const vtkm::Id ®ularID, const InFieldPortalType &joinMergeArcs, const InFieldPortalType &splitMergeArcs, const InFieldPortalType ®ularToCritical, vtkm::Id &joinArc, vtkm::Id &splitArc) const
Definition: SetJoinAndSplitArcs.h:88
_1 InputDomain
Definition: SetJoinAndSplitArcs.h:81
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38