VTK-m  2.0
Namespaces | Functions | Variables
PrintGraph.h File Reference
#include <vtkm/Types.h>
#include <vtkm/cont/Algorithm.h>
#include <vtkm/filter/scalar_topology/worklet/contourtree_augmented/ContourTree.h>
#include <vtkm/filter/scalar_topology/worklet/contourtree_augmented/Types.h>
#include <vtkm/filter/scalar_topology/worklet/contourtree_augmented/meshtypes/ContourTreeMesh.h>
#include <vtkm/filter/scalar_topology/worklet/contourtree_distributed/BoundaryTree.h>
#include <vtkm/filter/scalar_topology/worklet/contourtree_distributed/HierarchicalContourTree.h>
#include <vtkm/filter/scalar_topology/worklet/contourtree_distributed/InteriorForest.h>

Go to the source code of this file.

Namespaces

 vtkm
 Groups connected points that have the same field value.
 
 vtkm::worklet
 VTK-m Worklets.
 
 vtkm::worklet::contourtree_distributed
 

Functions

template<typename T , typename StorageType , typename MeshType , typename VectorType >
VTKM_CONT std::string vtkm::worklet::contourtree_distributed::ContourTreeDotGraphPrint (const std::string &label, MeshType &mesh, const vtkm::worklet::contourtree_augmented::mesh_dem::IdRelabeler *localToGlobalIdRelabeler, const vtkm::cont::ArrayHandle< T, StorageType > &field, vtkm::worklet::contourtree_augmented::ContourTree &contourTree, const vtkm::Id showMask=SHOW_ALL_STANDARD, const VectorType &perNodeValues=VectorType())
 
template<typename FieldType >
VTKM_CONT std::string vtkm::worklet::contourtree_distributed::ContourTreeMeshDotGraphPrint (const std::string &label, vtkm::worklet::contourtree_augmented::ContourTreeMesh< FieldType > &mesh, const vtkm::Id showMask=SHOW_CONTOUR_TREE_MESH_ALL)
 
template<typename T , typename StorageType , typename MeshType , typename MeshBoundaryExecObjType >
VTKM_CONT std::string vtkm::worklet::contourtree_distributed::BoundaryTreeDotGraphPrint (const std::string &label, MeshType &mesh, MeshBoundaryExecObjType &meshBoundaryExecutionObject, vtkm::worklet::contourtree_distributed::BoundaryTree &boundaryTree, const vtkm::worklet::contourtree_augmented::mesh_dem::IdRelabeler *localToGlobalIdRelabeler, const vtkm::cont::ArrayHandle< T, StorageType > &field, const vtkm::Id showMask=vtkm::worklet::contourtree_distributed::SHOW_BOUNDARY_TREE_ALL, const bool printHeaderAndFooter=true)
 
template<typename T , typename StorageType , typename MeshType , typename MeshBoundaryExecObjType >
VTKM_CONT std::string vtkm::worklet::contourtree_distributed::InteriorForestDotGraphPrint (const std::string &label, vtkm::worklet::contourtree_distributed::InteriorForest &forest, vtkm::worklet::contourtree_augmented::ContourTree &contourTree, vtkm::worklet::contourtree_distributed::BoundaryTree &boundaryTree, MeshType &mesh, MeshBoundaryExecObjType &meshBoundaryExecutionObject, const vtkm::worklet::contourtree_augmented::mesh_dem::IdRelabeler *localToGlobalIdRelabeler, const vtkm::cont::ArrayHandle< T, StorageType > &field, const vtkm::Id &showMask=vtkm::worklet::contourtree_distributed::SHOW_INTERIOR_FOREST_ALL)
 
template<typename FieldType >
VTKM_CONT std::string vtkm::worklet::contourtree_distributed::HierarchicalContourTreeDotGraphPrint (const std::string &label, const vtkm::worklet::contourtree_distributed::HierarchicalContourTree< FieldType > &hierarchicalTree, const vtkm::Id showMask=vtkm::worklet::contourtree_distributed::SHOW_HIERARCHICAL_STANDARD)
 

Variables

constexpr vtkm::Id vtkm::worklet::contourtree_distributed::INDEX_WIDTH = 6
 Routines for printing various tree data structures in graphviz .dot format. More...
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::NO_PER_NODE_VALUES = 0
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::PER_REGULAR_NODE_VALUES = 1
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::PER_REGULAR_NODE_BOUNDARY_FLAGS = 2
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::PER_SUPER_NODE_VALUES = 3
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::PER_SUPER_NODE_BOUNDARY_FLAGS = 4
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::PER_HYPER_NODE_VALUES = 5
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::BAD_PER_NODE_VALUES = 6
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::NODE_TYPE_REGULAR = 0
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::NODE_TYPE_SUPER = 1
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::NODE_TYPE_HYPER = 2
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_REGULAR_STRUCTURE = 0x00000001
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_SUPER_STRUCTURE = 0x00000002
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_HYPER_STRUCTURE = 0x00000004
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_BOUNDARY_NODES = 0x00000010
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_CRITICAL_BOUNDARY_NODES = 0x00000020
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_NECESSARY_SUPERNODES = 0x00000040
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_GLOBAL_ID = 0x00000100
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_DATA_VALUE = 0x00000200
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_MESH_REGULAR_ID = 0x00000400
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_MESH_SORT_ID = 0x00000800
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_NODE_ID = 0x00001000
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_SUPERPARENT = 0x00002000
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_ARC_ID = 0x00004000
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_EXTRA_DATA = 0x00008000
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_SUPERNODE_ID = 0x00010000
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_HYPERPARENT = 0x00020000
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_SUPERARC_ID = 0x0004000
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_ITERATION = 0x00080000
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_HYPERNODE_ID = 0x00100000
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_HYPERARC_ID = 0x00200000
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_BOUNDARY_TREE_VERTEX_ID = SHOW_NODE_ID
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_BOUNDARY_TREE_GLOBAL_ID = SHOW_GLOBAL_ID
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_BOUNDARY_TREE_DATA_VALUE = SHOW_DATA_VALUE
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_BOUNDARY_TREE_MESH_REGULAR_ID = SHOW_MESH_REGULAR_ID
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_BOUNDARY_TREE_MESH_SORT_ID = SHOW_MESH_SORT_ID
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_BOUNDARY_TREE_ARC_ID = SHOW_ARC_ID
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_BOUNDARY_TREE_ALL
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_CONTOUR_TREE_MESH_VERTEX_ID = SHOW_NODE_ID
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_CONTOUR_TREE_MESH_GLOBAL_ID = SHOW_GLOBAL_ID
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_CONTOUR_TREE_MESH_DATA_VALUE = SHOW_DATA_VALUE
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_CONTOUR_TREE_MESH_ALL
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_INTERIOR_FOREST_VERTEX_ID = SHOW_SUPERNODE_ID
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_INTERIOR_FOREST_GLOBAL_ID = SHOW_BOUNDARY_TREE_GLOBAL_ID
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_INTERIOR_FOREST_DATA_VALUE = SHOW_BOUNDARY_TREE_DATA_VALUE
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_INTERIOR_FOREST_MESH_REGULAR_ID = SHOW_BOUNDARY_TREE_MESH_REGULAR_ID
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_INTERIOR_FOREST_MESH_SORT_ID = SHOW_BOUNDARY_TREE_MESH_SORT_ID
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_INTERIOR_FOREST_ALL
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_ALL_STRUCTURE
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_BASIC_IDS = (SHOW_DATA_VALUE | SHOW_MESH_SORT_ID)
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_ALL_IDS
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_BASIC_SUPERIDS = (SHOW_SUPERNODE_ID | SHOW_ITERATION)
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_ALL_SUPERIDS
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_BASIC_HYPERIDS = SHOW_HYPERNODE_ID
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_ALL_HYPERIDS = (SHOW_HYPERNODE_ID | SHOW_HYPERARC_ID)
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_REGULAR_SIMPLE = (SHOW_REGULAR_STRUCTURE | SHOW_BASIC_IDS)
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_REGULAR_BOUNDARY
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_REGULAR_CRITICAL_BOUNDARY
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_SUPER_SIMPLE
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_BOUNDARY_INTERIOR_DIVISION
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_SUPER_AND_HYPER_SIMPLE
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_ALL_STANDARD
 
constexpr vtkm::Id vtkm::worklet::contourtree_distributed::SHOW_HIERARCHICAL_STANDARD