53 #ifndef vtk_m_filter_scalar_topology_internal_SelectTopVolumeBranchesBlock_h
54 #define vtk_m_filter_scalar_topology_internal_SelectTopVolumeBranchesBlock_h
57 #include <vtkm/filter/scalar_topology/worklet/contourtree_augmented/Types.h>
58 #include <vtkm/filter/scalar_topology/worklet/select_top_volume_branches/BranchDecompositionTreeMaker.h>
59 #include <vtkm/filter/scalar_topology/worklet/select_top_volume_branches/TopVolumeBranchData.h>
65 namespace scalar_topology
70 struct SelectTopVolumeBranchesBlock
72 SelectTopVolumeBranchesBlock(
vtkm::Id localBlockNo,
int globalBlockId);
79 TopVolumeBranchData TopVolumeData;
82 BranchDecompositionTreeMaker BDTMaker;
85 static void Destroy(
void* b) {
delete static_cast<SelectTopVolumeBranchesBlock*
>(b); }
98 vtkm::Id ExcludeTopVolumeBranchByThreshold(
const vtkm::Id presimplifyThreshold);