VTK-m
2.0
|
Hierarchical Contour Tree data structure. More...
#include <HierarchicalContourTree.h>
Public Member Functions | |
VTKM_CONT | HierarchicalContourTree () |
VTKM_CONT FindRegularByGlobal | GetFindRegularByGlobal () const |
routine to create a FindRegularByGlobal object that we can use as an input for worklets to call the function More... | |
VTKM_CONT FindSuperArcForUnknownNode< FieldType > | GetFindSuperArcForUnknownNode () |
routine to create a FindSuperArcForUnknownNode object that we can use as an input for worklets to call the function More... | |
VTKM_CONT FindSuperArcBetweenNodes | GetFindSuperArcBetweenNodes () const |
routine to create a FindSuperArcBetweenNodes object that we can use as an input for worklets to call the function More... | |
VTKM_CONT void | Initialize (vtkm::Id numRounds, vtkm::worklet::contourtree_augmented::ContourTree &tree, vtkm::worklet::contourtree_augmented::ContourTreeMesh< FieldType > &mesh) |
routine to initialize the hierarchical tree with the top level tree More... | |
VTKM_CONT std::string | RegularString (const vtkm::Id regularId) const |
utility routines for the path probes More... | |
VTKM_CONT std::string | SuperString (const vtkm::Id superId) const |
utility routine for the path probes More... | |
VTKM_CONT std::string | HyperString (const vtkm::Id hyperId) const |
utility routine for the path probes More... | |
VTKM_CONT std::string | ProbeHyperPath (const vtkm::Id regularId, const vtkm::Id maxLength=-1) const |
routine to probe a given node and trace it's hyperpath to the root More... | |
VTKM_CONT std::string | ProbeSuperPath (const vtkm::Id regularId, const vtkm::Id maxLength=-1) const |
routine to probe a given node and trace it's superpath to the root More... | |
VTKM_CONT std::string | PrintDotSuperStructure (const char *label) const |
Outputs the Hierarchical Tree in Dot format for visualization. More... | |
VTKM_CONT std::string | PrintTreeStats () const |
Print hierarchical tree construction stats, usually used for logging. More... | |
VTKM_CONT std::string | DebugPrint (std::string message, const char *fileName, long lineNum) const |
debug routine More... | |
VTKM_CONT void | AddToVTKMDataSet (vtkm::cont::DataSet &ds) const |
Static Public Member Functions | |
static VTKM_CONT std::string | DumpVolumes (const vtkm::worklet::contourtree_augmented::IdArrayType &supernodes, const vtkm::worklet::contourtree_augmented::IdArrayType &superarcs, const vtkm::worklet::contourtree_augmented::IdArrayType ®ularNodeGlobalIds, vtkm::Id totalVolume, const vtkm::worklet::contourtree_augmented::IdArrayType &intrinsicVolume, const vtkm::worklet::contourtree_augmented::IdArrayType &dependentVolume) |
static VTKM_CONT void | ConvertSTLVecOfHandlesToVTKMComponentsAndOffsetsArray (const std::vector< vtkm::worklet::contourtree_augmented::IdArrayType > &inputVec, vtkm::worklet::contourtree_augmented::IdArrayType &outputComponents, vtkm::cont::ArrayHandle< vtkm::Id > &outputOffsets) |
Private Attributes | |
vtkm::cont::Invoker | Invoke |
Used internally to Invoke worklets. More... | |
Hierarchical Contour Tree data structure.
This class contains all the structures to construct/store the HierarchicalContourTree. Functions used on the Device are then implemented in the HierarchicalContourTreeDeviceData class which stores the prepared array portals we need for those functions.
vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::HierarchicalContourTree |
void vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::AddToVTKMDataSet | ( | vtkm::cont::DataSet & | ds | ) | const |
|
static |
std::string vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::DebugPrint | ( | std::string | message, |
const char * | fileName, | ||
long | lineNum | ||
) | const |
debug routine
|
static |
|
inline |
routine to create a FindRegularByGlobal object that we can use as an input for worklets to call the function
|
inline |
routine to create a FindSuperArcBetweenNodes object that we can use as an input for worklets to call the function
|
inline |
routine to create a FindSuperArcForUnknownNode object that we can use as an input for worklets to call the function
std::string vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::HyperString | ( | const vtkm::Id | hyperId | ) | const |
utility routine for the path probes
void vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::Initialize | ( | vtkm::Id | numRounds, |
vtkm::worklet::contourtree_augmented::ContourTree & | tree, | ||
vtkm::worklet::contourtree_augmented::ContourTreeMesh< FieldType > & | mesh | ||
) |
routine to initialize the hierarchical tree with the top level tree
std::string vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::PrintDotSuperStructure | ( | const char * | label | ) | const |
Outputs the Hierarchical Tree in Dot format for visualization.
std::string vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::PrintTreeStats |
Print hierarchical tree construction stats, usually used for logging.
std::string vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::ProbeHyperPath | ( | const vtkm::Id | regularId, |
const vtkm::Id | maxLength = -1 |
||
) | const |
routine to probe a given node and trace it's hyperpath to the root
std::string vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::ProbeSuperPath | ( | const vtkm::Id | regularId, |
const vtkm::Id | maxLength = -1 |
||
) | const |
routine to probe a given node and trace it's superpath to the root
std::string vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::RegularString | ( | const vtkm::Id | regularId | ) | const |
utility routines for the path probes
utility routine for the path probes
std::string vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::SuperString | ( | const vtkm::Id | superId | ) | const |
utility routine for the path probes
vtkm::cont::ArrayHandle<FieldType> vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::DataValues |
std::vector<vtkm::worklet::contourtree_augmented::IdArrayType> vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::FirstHypernodePerIteration |
std::vector<vtkm::worklet::contourtree_augmented::IdArrayType> vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::FirstSupernodePerIteration |
vectors tracking the segments used in each iteration of the hypersweep
vtkm::worklet::contourtree_augmented::IdArrayType vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::Hyperarcs |
vtkm::worklet::contourtree_augmented::IdArrayType vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::Hypernodes |
vtkm::worklet::contourtree_augmented::IdArrayType vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::Hyperparents |
|
private |
Used internally to Invoke worklets.
vtkm::worklet::contourtree_augmented::IdArrayType vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::NumHypernodesInRound |
vtkm::worklet::contourtree_augmented::IdArrayType vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::NumIterations |
how many iterations needed for the hypersweep at each level
vtkm::worklet::contourtree_augmented::IdArrayType vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::NumRegularNodesInRound |
arrays holding the logical size of the arrays at each level
vtkm::Id vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::NumRounds |
vtkm::worklet::contourtree_augmented::IdArrayType vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::NumSupernodesInRound |
vtkm::worklet::contourtree_augmented::IdArrayType vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::Regular2Supernode |
vtkm::worklet::contourtree_augmented::IdArrayType vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::RegularNodeGlobalIds |
vtkm::worklet::contourtree_augmented::IdArrayType vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::RegularNodeSortOrder |
vtkm::worklet::contourtree_augmented::IdArrayType vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::Super2Hypernode |
vtkm::worklet::contourtree_augmented::IdArrayType vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::Superarcs |
vtkm::worklet::contourtree_augmented::IdArrayType vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::Superchildren |
vtkm::worklet::contourtree_augmented::IdArrayType vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::Supernodes |
vtkm::worklet::contourtree_augmented::IdArrayType vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::Superparents |
vtkm::worklet::contourtree_augmented::IdArrayType vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::WhichIteration |
vtkm::worklet::contourtree_augmented::IdArrayType vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType >::WhichRound |