Go to the documentation of this file.
77 #ifndef vtkm_worklet_contourtree_join_super_arc_finder_h
78 #define vtkm_worklet_contourtree_join_super_arc_finder_h
106 WholeArrayInOut saddles,
107 WholeArrayInOut extrema);
120 template <
typename InFieldPortalType,
typename OutFieldPortalType>
122 const InFieldPortalType& values,
123 const OutFieldPortalType& saddles,
124 const OutFieldPortalType& extrema)
const
129 vtkm::Id saddle = saddles.Get(vertex);
130 vtkm::Id extreme = extrema.Get(vertex);
133 if (saddle != extreme)
139 extreme = extrema.Get(saddle);
140 saddle = saddles.Get(saddle);
147 extrema.Set(vertex, extreme);
148 saddles.Set(vertex, saddle);
_1 InputDomain
Definition: JoinSuperArcFinder.h:109
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
bool isJoinTree
Definition: JoinSuperArcFinder.h:111
VTKM_EXEC_CONT JoinSuperArcFinder(bool IsJoinTree)
Definition: JoinSuperArcFinder.h:115
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
VTKM_EXEC void operator()(const vtkm::Id &vertex, const InFieldPortalType &values, const OutFieldPortalType &saddles, const OutFieldPortalType &extrema) const
Definition: JoinSuperArcFinder.h:121
A control signature tag for input fields.
Definition: WorkletMapField.h:49
void(_1, _2, _3, _4) ExecutionSignature
Definition: JoinSuperArcFinder.h:108
#define NO_VERTEX_ASSIGNED
Definition: filter/scalar_topology/worklet/contourtree/Types.h:77
Definition: VertexValueComparator.h:83
Definition: JoinSuperArcFinder.h:99
void(FieldIn vertex, WholeArrayIn values, WholeArrayInOut saddles, WholeArrayInOut extrema) ControlSignature
Definition: JoinSuperArcFinder.h:107
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38