53 #ifndef vtk_m_worklet_contourtree_augmented_contourtree_maker_inc_set_new_hyper_nodes_and_arcs_h
54 #define vtk_m_worklet_contourtree_augmented_contourtree_maker_inc_set_new_hyper_nodes_and_arcs_h
63 namespace contourtree_augmented
65 namespace contourtree_maker_inc
73 WholeArrayIn contourTreeWhenTransferred,
74 WholeArrayIn contourTreeHypernodes,
75 WholeArrayIn contourTreeHyperarcs,
76 WholeArrayIn newHypernodePosition,
77 WholeArrayOut newHypernodes,
78 WholeArrayOut newHyperarcs
87 template <
typename InFieldPortalType,
typename OutFieldPortalType>
90 const InFieldPortalType& contourTreeWhenTransferredPortal,
91 const InFieldPortalType& contourTreeHypernodesPortal,
92 const InFieldPortalType& contourTreeHyperarcsPortal,
93 const InFieldPortalType& newHypernodePositionPortal,
94 const OutFieldPortalType& newHypernodesPortal,
95 const OutFieldPortalType& newHyperarcsPortal)
const
97 bool isAHypernode =
IsHypernode(contourTreeWhenTransferredPortal.Get(supernode));
102 newHypernodesPortal.Set(newHypernodePositionPortal.Get(supernode),
103 contourTreeHypernodesPortal.Get(supernode));
104 newHyperarcsPortal.Set(newHypernodePositionPortal.Get(supernode),
105 contourTreeHyperarcsPortal.Get(supernode));