Go to the documentation of this file.
54 #ifndef vtk_m_worklet_contourtree_augmented_active_graph_initialize_edge_far_from_active_indices_h
55 #define vtk_m_worklet_contourtree_augmented_active_graph_initialize_edge_far_from_active_indices_h
65 namespace contourtree_augmented
67 namespace active_graph_inc
77 WholeArrayIn activeIndices);
85 template <
typename InOutFieldPortalType,
typename InFieldPortalType>
88 const InFieldPortalType& extremaPortal,
89 const InFieldPortalType& activeIndicesPortal)
const
92 vtkm::Id currEdgeFar = edgeFarPortal.Get(edge);
96 edgeFarPortal.Set(edge, activeIndicesPortal.Get(currEdgeFar));
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_EXEC_CONT InitializeEdgeFarFromActiveIndices()
Definition: InitializeEdgeFarFromActiveIndices.h:83
void ControlSignature(WholeArrayInOut edgeFar, WholeArrayIn extrema, WholeArrayIn activeIndices)
Definition: InitializeEdgeFarFromActiveIndices.h:75
VTKM_EXEC void operator()(const InOutFieldPortalType &edgeFarPortal, const vtkm::Id edge, const InFieldPortalType &extremaPortal, const InFieldPortalType &activeIndicesPortal) const
Definition: InitializeEdgeFarFromActiveIndices.h:86
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
void ExecutionSignature(_1, InputIndex, _2, _3)
Definition: InitializeEdgeFarFromActiveIndices.h:78
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
_1 InputDomain
Definition: InitializeEdgeFarFromActiveIndices.h:79
Definition: InitializeEdgeFarFromActiveIndices.h:72
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38