TTK
Loading...
Searching...
No Matches
Public Attributes | List of all members
ttk::cta::BinaryTree Struct Reference

Basic tree data structure for a rooted contour tree of degree 2 and rooted contour tree alignments of degree 2. More...

#include <CTA_contourtree.h>

Public Attributes

std::shared_ptr< BinaryTreechild1
 
std::shared_ptr< BinaryTreechild2
 
Type_Node type
 
int vertexId
 
int id
 
int size
 
int height
 
float scalardistanceParent
 
float area
 
float volume
 
float scalarValue
 
std::vector< int > region
 
int freq
 
std::vector< std::pair< int, int > > nodeRefs
 
std::vector< std::pair< int, int > > arcRefs
 

Detailed Description

Basic tree data structure for a rooted contour tree of degree 2 and rooted contour tree alignments of degree 2.

This structure represents nodes of a rooted contour tree.

It stores the following node properties:

It stores the following edge properties (these always refer to its parent edge and are filled with dummy values for the root vertex):

It stores the following meta information for the tree structure:

It stores the following alignment node properties:

See also
ttk::ContourTreeAlignment
ttk::cta::ContourTree
ttk::cta::AlignmentTree

Definition at line 94 of file CTA_contourtree.h.

Member Data Documentation

◆ arcRefs

std::vector<std::pair<int, int> > ttk::cta::BinaryTree::arcRefs

Definition at line 111 of file CTA_contourtree.h.

◆ area

float ttk::cta::BinaryTree::area

Definition at line 103 of file CTA_contourtree.h.

◆ child1

std::shared_ptr<BinaryTree> ttk::cta::BinaryTree::child1

Definition at line 95 of file CTA_contourtree.h.

◆ child2

std::shared_ptr<BinaryTree> ttk::cta::BinaryTree::child2

Definition at line 96 of file CTA_contourtree.h.

◆ freq

int ttk::cta::BinaryTree::freq

Definition at line 109 of file CTA_contourtree.h.

◆ height

int ttk::cta::BinaryTree::height

Definition at line 101 of file CTA_contourtree.h.

◆ id

int ttk::cta::BinaryTree::id

Definition at line 99 of file CTA_contourtree.h.

◆ nodeRefs

std::vector<std::pair<int, int> > ttk::cta::BinaryTree::nodeRefs

Definition at line 110 of file CTA_contourtree.h.

◆ region

std::vector<int> ttk::cta::BinaryTree::region

Definition at line 106 of file CTA_contourtree.h.

◆ scalardistanceParent

float ttk::cta::BinaryTree::scalardistanceParent

Definition at line 102 of file CTA_contourtree.h.

◆ scalarValue

float ttk::cta::BinaryTree::scalarValue

Definition at line 105 of file CTA_contourtree.h.

◆ size

int ttk::cta::BinaryTree::size

Definition at line 100 of file CTA_contourtree.h.

◆ type

Type_Node ttk::cta::BinaryTree::type

Definition at line 97 of file CTA_contourtree.h.

◆ vertexId

int ttk::cta::BinaryTree::vertexId

Definition at line 98 of file CTA_contourtree.h.

◆ volume

float ttk::cta::BinaryTree::volume

Definition at line 104 of file CTA_contourtree.h.


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