Go to the documentation of this file.
57 #ifndef vtkm_worklet_contourtree_skip_vertex_h
58 #define vtkm_worklet_contourtree_skip_vertex_h
75 WholeArrayIn superarcs,
76 WholeArrayInOut joinArcs,
77 WholeArrayInOut splitArcs);
85 template <
typename InFieldPortalType,
typename OutFieldPortalType>
87 const InFieldPortalType& superarcs,
88 const OutFieldPortalType& joinArcs,
89 const OutFieldPortalType& splitArcs)
const
92 vtkm::Id joinNeighbour = joinArcs.Get(superID);
98 joinArcs.Set(superID, joinArcs.Get(joinNeighbour));
101 vtkm::Id splitNeighbour = splitArcs.Get(superID);
107 splitArcs.Set(superID, splitArcs.Get(splitNeighbour));
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_EXEC_CONT SkipVertex()
Definition: SkipVertex.h:83
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
VTKM_EXEC void operator()(const vtkm::Id &superID, const InFieldPortalType &superarcs, const OutFieldPortalType &joinArcs, const OutFieldPortalType &splitArcs) const
Definition: SkipVertex.h:86
void(FieldIn superID, WholeArrayIn superarcs, WholeArrayInOut joinArcs, WholeArrayInOut splitArcs) ControlSignature
Definition: SkipVertex.h:77
void(_1, _2, _3, _4) ExecutionSignature
Definition: SkipVertex.h:78
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
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: SkipVertex.h:71
_1 InputDomain
Definition: SkipVertex.h:79
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38