Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_augmented_active_graph_set_super_arcs_set_tree_hyperparents_h
54 #define vtk_m_worklet_contourtree_augmented_active_graph_set_super_arcs_set_tree_hyperparents_h
63 namespace contourtree_augmented
65 namespace active_graph_inc
74 WholeArrayIn hyperarcs,
75 WholeArrayOut treeHyperparents);
83 template <
typename InFieldPortalType,
typename OutFieldPortalType>
86 const InFieldPortalType& hyperarcsPortal,
87 const OutFieldPortalType& treeHyperparentsPortal)
const
90 vtkm::Id graphTarget = hyperarcsPortal.Get(graphVertex);
94 treeHyperparentsPortal.Set(supernode, graphVertex);
98 treeHyperparentsPortal.Set(supernode,
MaskedIndex(graphTarget));
VTKM_EXEC_CONT bool IsHypernode(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:115
#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
_1 InputDomain
Definition: SetSuperArcsSetTreeHyperparents.h:77
void ExecutionSignature(_1, InputIndex, _2, _3)
Definition: SetSuperArcsSetTreeHyperparents.h:76
VTKM_EXEC_CONT vtkm::Id MaskedIndex(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:127
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
Definition: SetSuperArcsSetTreeHyperparents.h:69
A control signature tag for input fields.
Definition: WorkletMapField.h:49
void ControlSignature(FieldIn treeSupernodes, WholeArrayIn hyperarcs, WholeArrayOut treeHyperparents)
Definition: SetSuperArcsSetTreeHyperparents.h:72
VTKM_EXEC_CONT SetSuperArcsSetTreeHyperparents()
Definition: SetSuperArcsSetTreeHyperparents.h:81
VTKM_EXEC void operator()(const vtkm::Id &graphVertex, const vtkm::Id supernode, const InFieldPortalType &hyperarcsPortal, const OutFieldPortalType &treeHyperparentsPortal) const
Definition: SetSuperArcsSetTreeHyperparents.h:84
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38