VTK-m  2.0
Public Member Functions | Static Public Member Functions | List of all members
vtkm::worklet::contourtree_augmented::ProcessContourTree Class Reference

#include <ProcessContourTree.h>

Public Member Functions

 ProcessContourTree ()
 

Static Public Member Functions

static void CollectSortedArcs (const ContourTree &contourTree, const IdArrayType &sortOrder, EdgePairArray &sortedArcs)
 
static void CollectSortedSuperarcs (const ContourTree &contourTree, const IdArrayType &sortOrder, EdgePairArray &saddlePeak)
 
static void ComputeVolumeWeightsSerial (const ContourTree &contourTree, const vtkm::Id nIterations, IdArrayType &superarcIntrinsicWeight, IdArrayType &superarcDependentWeight, IdArrayType &supernodeTransferWeight, IdArrayType &hyperarcDependentWeight)
 
static void ComputeVolumeBranchDecompositionSerial (const ContourTree &contourTree, const IdArrayType &superarcDependentWeight, const IdArrayType &superarcIntrinsicWeight, IdArrayType &whichBranch, IdArrayType &branchMinimum, IdArrayType &branchMaximum, IdArrayType &branchSaddle, IdArrayType &branchParent)
 
static void ComputeBranchData (const ContourTree &contourTree, IdArrayType &whichBranch, IdArrayType &branchMinimum, IdArrayType &branchMaximum, IdArrayType &branchSaddle, IdArrayType &branchParent, IdArrayType &bestUpward, IdArrayType &bestDownward)
 
template<typename T , typename StorageType >
static process_contourtree_inc_ns::Branch< T > * ComputeBranchDecomposition (const IdArrayType &contourTreeSuperparents, const IdArrayType &contourTreeSupernodes, const IdArrayType &whichBranch, const IdArrayType &branchMinimum, const IdArrayType &branchMaximum, const IdArrayType &branchSaddle, const IdArrayType &branchParent, const IdArrayType &sortOrder, const vtkm::cont::ArrayHandle< T, StorageType > &dataField, bool dataFieldIsSorted)
 
static void ComputeVolumeBranchDecomposition (const ContourTree &contourTree, const vtkm::Id nIterations, IdArrayType &whichBranch, IdArrayType &branchMinimum, IdArrayType &branchMaximum, IdArrayType &branchSaddle, IdArrayType &branchParent)
 
static void ComputeHeightBranchDecomposition (const ContourTree &contourTree, const cont::ArrayHandle< Float64 > fieldValues, const IdArrayType &ctSortOrder, const vtkm::Id nIterations, IdArrayType &whichBranch, IdArrayType &branchMinimum, IdArrayType &branchMaximum, IdArrayType &branchSaddle, IdArrayType &branchParent)
 
static std::vector< IdfindSuperPathToRoot (vtkm::cont::ArrayHandle< vtkm::Id >::ReadPortalType parentsPortal, vtkm::Id vertex)
 
static void fixPath (const std::function< vtkm::Id(vtkm::Id, vtkm::Id)> operation, const std::vector< vtkm::Id > path, vtkm::cont::ArrayHandle< vtkm::Id >::WritePortalType minMaxIndex)
 
static void editHyperarcs (const vtkm::cont::ArrayHandle< vtkm::Id >::ReadPortalType hyperparentsPortal, const std::vector< vtkm::Id > path, vtkm::cont::ArrayHandle< vtkm::Id >::WritePortalType hyperarcsPortal, vtkm::cont::ArrayHandle< vtkm::Id >::WritePortalType howManyUsedPortal)
 
template<class BinaryFunctor >
static void hyperarcScan (const vtkm::cont::ArrayHandle< vtkm::Id > supernodes, const vtkm::cont::ArrayHandle< vtkm::Id > hypernodes, const vtkm::cont::ArrayHandle< vtkm::Id > hyperarcs, const vtkm::cont::ArrayHandle< vtkm::Id > hyperparents, const vtkm::cont::ArrayHandle< vtkm::Id > hyperparentKeys, const vtkm::cont::ArrayHandle< vtkm::Id > whenTransferred, const vtkm::cont::ArrayHandle< vtkm::Id > howManyUsed, const vtkm::Id nIterations, const BinaryFunctor operation, vtkm::cont::ArrayHandle< vtkm::Id > minMaxIndex)
 

Constructor & Destructor Documentation

◆ ProcessContourTree()

vtkm::worklet::contourtree_augmented::ProcessContourTree::ProcessContourTree ( )
inline

Member Function Documentation

◆ CollectSortedArcs()

static void vtkm::worklet::contourtree_augmented::ProcessContourTree::CollectSortedArcs ( const ContourTree contourTree,
const IdArrayType sortOrder,
EdgePairArray sortedArcs 
)
inlinestatic

◆ CollectSortedSuperarcs()

static void vtkm::worklet::contourtree_augmented::ProcessContourTree::CollectSortedSuperarcs ( const ContourTree contourTree,
const IdArrayType sortOrder,
EdgePairArray saddlePeak 
)
inlinestatic

◆ ComputeBranchData()

static void vtkm::worklet::contourtree_augmented::ProcessContourTree::ComputeBranchData ( const ContourTree contourTree,
IdArrayType whichBranch,
IdArrayType branchMinimum,
IdArrayType branchMaximum,
IdArrayType branchSaddle,
IdArrayType branchParent,
IdArrayType bestUpward,
IdArrayType bestDownward 
)
inlinestatic

◆ ComputeBranchDecomposition()

template<typename T , typename StorageType >
static process_contourtree_inc_ns::Branch<T>* vtkm::worklet::contourtree_augmented::ProcessContourTree::ComputeBranchDecomposition ( const IdArrayType contourTreeSuperparents,
const IdArrayType contourTreeSupernodes,
const IdArrayType whichBranch,
const IdArrayType branchMinimum,
const IdArrayType branchMaximum,
const IdArrayType branchSaddle,
const IdArrayType branchParent,
const IdArrayType sortOrder,
const vtkm::cont::ArrayHandle< T, StorageType > &  dataField,
bool  dataFieldIsSorted 
)
inlinestatic

◆ ComputeHeightBranchDecomposition()

static void vtkm::worklet::contourtree_augmented::ProcessContourTree::ComputeHeightBranchDecomposition ( const ContourTree contourTree,
const cont::ArrayHandle< Float64 fieldValues,
const IdArrayType ctSortOrder,
const vtkm::Id  nIterations,
IdArrayType whichBranch,
IdArrayType branchMinimum,
IdArrayType branchMaximum,
IdArrayType branchSaddle,
IdArrayType branchParent 
)
inlinestatic

◆ ComputeVolumeBranchDecomposition()

static void vtkm::worklet::contourtree_augmented::ProcessContourTree::ComputeVolumeBranchDecomposition ( const ContourTree contourTree,
const vtkm::Id  nIterations,
IdArrayType whichBranch,
IdArrayType branchMinimum,
IdArrayType branchMaximum,
IdArrayType branchSaddle,
IdArrayType branchParent 
)
inlinestatic

◆ ComputeVolumeBranchDecompositionSerial()

static void vtkm::worklet::contourtree_augmented::ProcessContourTree::ComputeVolumeBranchDecompositionSerial ( const ContourTree contourTree,
const IdArrayType superarcDependentWeight,
const IdArrayType superarcIntrinsicWeight,
IdArrayType whichBranch,
IdArrayType branchMinimum,
IdArrayType branchMaximum,
IdArrayType branchSaddle,
IdArrayType branchParent 
)
inlinestatic

◆ ComputeVolumeWeightsSerial()

static void vtkm::worklet::contourtree_augmented::ProcessContourTree::ComputeVolumeWeightsSerial ( const ContourTree contourTree,
const vtkm::Id  nIterations,
IdArrayType superarcIntrinsicWeight,
IdArrayType superarcDependentWeight,
IdArrayType supernodeTransferWeight,
IdArrayType hyperarcDependentWeight 
)
inlinestatic

◆ editHyperarcs()

static void vtkm::worklet::contourtree_augmented::ProcessContourTree::editHyperarcs ( const vtkm::cont::ArrayHandle< vtkm::Id >::ReadPortalType  hyperparentsPortal,
const std::vector< vtkm::Id path,
vtkm::cont::ArrayHandle< vtkm::Id >::WritePortalType  hyperarcsPortal,
vtkm::cont::ArrayHandle< vtkm::Id >::WritePortalType  howManyUsedPortal 
)
inlinestatic

◆ findSuperPathToRoot()

static std::vector<Id> vtkm::worklet::contourtree_augmented::ProcessContourTree::findSuperPathToRoot ( vtkm::cont::ArrayHandle< vtkm::Id >::ReadPortalType  parentsPortal,
vtkm::Id  vertex 
)
inlinestatic

◆ fixPath()

static void vtkm::worklet::contourtree_augmented::ProcessContourTree::fixPath ( const std::function< vtkm::Id(vtkm::Id, vtkm::Id)>  operation,
const std::vector< vtkm::Id path,
vtkm::cont::ArrayHandle< vtkm::Id >::WritePortalType  minMaxIndex 
)
inlinestatic

◆ hyperarcScan()

template<class BinaryFunctor >
static void vtkm::worklet::contourtree_augmented::ProcessContourTree::hyperarcScan ( const vtkm::cont::ArrayHandle< vtkm::Id supernodes,
const vtkm::cont::ArrayHandle< vtkm::Id hypernodes,
const vtkm::cont::ArrayHandle< vtkm::Id hyperarcs,
const vtkm::cont::ArrayHandle< vtkm::Id hyperparents,
const vtkm::cont::ArrayHandle< vtkm::Id hyperparentKeys,
const vtkm::cont::ArrayHandle< vtkm::Id whenTransferred,
const vtkm::cont::ArrayHandle< vtkm::Id howManyUsed,
const vtkm::Id  nIterations,
const BinaryFunctor  operation,
vtkm::cont::ArrayHandle< vtkm::Id minMaxIndex 
)
inlinestatic

The documentation for this class was generated from the following file: