TTK
Loading...
Searching...
No Matches
ttk::cta::Tree Struct Reference

Basic tree data structure for a rooted contour tree of unbounded degree. More...

#include <CTA_contourtree.h>

Public Attributes

std::vector< std::shared_ptr< Tree > > children
 
Type_Node type
 
int vertexId
 
int id
 
int size
 
int height
 
float scalardistanceParent
 
float volume
 

Detailed Description

Basic tree data structure for a rooted contour tree of unbounded degree.

This structure represents nodes of a rooted contour tree. It stores the following node properties:

  • critical type
  • vertex id

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

  • persistence
  • volume

It stores the following meta information for the tree structure:

  • height of the subtree rooted in this node
  • size of the subtree rooted in this node
  • node id
  • a vector of pointers to its child nodes.
See also
ttk::ContourTreeAlignment
ttk::cta::ContourTree

Definition at line 48 of file CTA_contourtree.h.

Member Data Documentation

◆ children

std::vector<std::shared_ptr<Tree> > ttk::cta::Tree::children

Definition at line 49 of file CTA_contourtree.h.

◆ height

int ttk::cta::Tree::height

Definition at line 54 of file CTA_contourtree.h.

◆ id

int ttk::cta::Tree::id

Definition at line 52 of file CTA_contourtree.h.

◆ scalardistanceParent

float ttk::cta::Tree::scalardistanceParent

Definition at line 55 of file CTA_contourtree.h.

◆ size

int ttk::cta::Tree::size

Definition at line 53 of file CTA_contourtree.h.

◆ type

Type_Node ttk::cta::Tree::type

Definition at line 50 of file CTA_contourtree.h.

◆ vertexId

int ttk::cta::Tree::vertexId

Definition at line 51 of file CTA_contourtree.h.

◆ volume

float ttk::cta::Tree::volume

Definition at line 56 of file CTA_contourtree.h.


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