Go to the documentation of this file.
46 #ifndef vtk_m_filter_scalar_topology_worklet_branch_decomposition_hierarchical_volumetric_branch_decomposer_LocalBestUpDownByVolumeBestUpDownEdgeWorklet_h
47 #define vtk_m_filter_scalar_topology_worklet_branch_decomposition_hierarchical_volumetric_branch_decomposer_LocalBestUpDownByVolumeBestUpDownEdgeWorklet_h
56 namespace scalar_topology
58 namespace hierarchical_volumetric_branch_decomposer
73 permutedHierarchicalTreeSuperarcs,
75 FieldIn permutedIntrinsicValues,
90 template <
typename FieldType>
93 hierarchicalTreeSuperarc,
94 const FieldType& dependentValue,
95 const FieldType& intrinsicValue,
104 upVolume = dependentValue;
109 downVolume = (this->
TotalVolume - dependentValue) + (intrinsicValue - 1);
113 downVolume = dependentValue;
118 upVolume = (this->
TotalVolume - dependentValue) + (intrinsicValue - 1);
void(FieldIn permutedHierarchicalTreeSuperarcs, FieldIn permutedDependetValues, FieldIn permutedIntrinsicValues, FieldOut permutedUpVolume, FieldOut permitedDownVolume) ControlSignature
Control signature for the worklet NOTE: We require the input arrays (aside form the input domain) to ...
Definition: LocalBestUpDownByVolumeBestUpDownEdgeWorklet.h:78
VTKM_EXEC_CONT LocalBestUpDownByVolumeBestUpDownEdgeWorklet(const vtkm::Id totalVolume)
Default Constructor.
Definition: LocalBestUpDownByVolumeBestUpDownEdgeWorklet.h:84
VTKM_EXEC_CONT bool IsAscending(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:121
#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
A control signature tag for output fields.
Definition: WorkletMapField.h:60
Worklet used in HierarchicalAugmenter::CopyBaseRegularStructure for finding the superparent for each ...
Definition: LocalBestUpDownByVolumeBestUpDownEdgeWorklet.h:63
void(_1, _2, _3, _4, _5) ExecutionSignature
Definition: LocalBestUpDownByVolumeBestUpDownEdgeWorklet.h:79
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
vtkm::Id TotalVolume
Definition: LocalBestUpDownByVolumeBestUpDownEdgeWorklet.h:145
VTKM_EXEC void operator()(const vtkm::Id &hierarchicalTreeSuperarc, const FieldType &dependentValue, const FieldType &intrinsicValue, vtkm::Id &upVolume, vtkm::Id &downVolume) const
operator() of the workelt
Definition: LocalBestUpDownByVolumeBestUpDownEdgeWorklet.h:91
A control signature tag for input fields.
Definition: WorkletMapField.h:49
_1 InputDomain
Definition: LocalBestUpDownByVolumeBestUpDownEdgeWorklet.h:80
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38