Go to the documentation of this file.
   53 #ifndef vtk_m_worklet_contourtree_augmented_active_graph_set_arcs_set_super_and_hypernode_arcs_h 
   54 #define vtk_m_worklet_contourtree_augmented_active_graph_set_arcs_set_super_and_hypernode_arcs_h 
   63 namespace contourtree_augmented
 
   65 namespace active_graph_inc
 
   73     WholeArrayIn graphGlobalIndex,   
 
   74     WholeArrayIn graphHyperarcs,     
 
   75     WholeArrayIn graphHyperID,       
 
   76     WholeArrayOut treeArcs,          
 
   77     WholeArrayOut treeSuperparents); 
 
   85   template <
typename InFieldPortalType, 
typename OutFieldPortalType>
 
   88                             const InFieldPortalType& graphHyperarcsPortal,
 
   89                             const InFieldPortalType& graphHyperIDPortal,
 
   90                             const OutFieldPortalType& treeArcsPortal,
 
   91                             const OutFieldPortalType& treeSuperparentsPortal)
 const 
   93     vtkm::Id graphTarget = graphHyperarcsPortal.Get(graphVertex);
 
   99     vtkm::Id nodeID = graphGlobalIndexPortal.Get(graphVertex);
 
  103       treeSuperparentsPortal.Set(nodeID, graphHyperIDPortal.Get(graphVertex));
 
  109       treeSuperparentsPortal.Set(nodeID, graphHyperIDPortal.Get(graphVertex));
 
  113       treeArcsPortal.Set(nodeID,
 
  
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
 
VTKM_EXEC_CONT SetArcsSetSuperAndHypernodeArcs()
Definition: SetArcsSetSuperAndHypernodeArcs.h:83
 
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
 
VTKM_EXEC_CONT bool NoSuchElement(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:97
 
void ExecutionSignature(_1, InputIndex, _2, _3, _4, _5)
Definition: SetArcsSetSuperAndHypernodeArcs.h:78
 
_1 InputDomain
Definition: SetArcsSetSuperAndHypernodeArcs.h:79
 
constexpr vtkm::Id IS_SUPERNODE
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:75
 
VTKM_EXEC void operator()(const InFieldPortalType &graphGlobalIndexPortal, const vtkm::Id graphVertex, const InFieldPortalType &graphHyperarcsPortal, const InFieldPortalType &graphHyperIDPortal, const OutFieldPortalType &treeArcsPortal, const OutFieldPortalType &treeSuperparentsPortal) const
Definition: SetArcsSetSuperAndHypernodeArcs.h:86
 
VTKM_EXEC_CONT bool IsSupernode(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:109
 
constexpr vtkm::Id NO_SUCH_ELEMENT
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:73
 
constexpr vtkm::Id IS_HYPERNODE
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:76
 
void ControlSignature(WholeArrayIn graphGlobalIndex, WholeArrayIn graphHyperarcs, WholeArrayIn graphHyperID, WholeArrayOut treeArcs, WholeArrayOut treeSuperparents)
Definition: SetArcsSetSuperAndHypernodeArcs.h:72
 
Definition: SetArcsSetSuperAndHypernodeArcs.h:69
 
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38