ARB
Classes | Macros | Functions | Variables
NT_branchAnalysis.cxx File Reference
#include "NT_local.h"
#include <TreeCallbacks.hxx>
#include <aw_awar.hxx>
#include <awt_canvas.hxx>
#include <aw_msg.hxx>
#include <aw_root.hxx>
#include <awt_config_manager.hxx>
Include dependency graph for NT_branchAnalysis.cxx:

Go to the source code of this file.

Classes

class  BranchWindow
 

Macros

#define AWAR_BRANCH_ANALYSIS   "branch_analysis"
 
#define AWAR_BRANCH_ANALYSIS_TMP   "tmp/" AWAR_BRANCH_ANALYSIS
 
#define AWAR_BA_MIN_REL_DIFF   AWAR_BRANCH_ANALYSIS "/min_rel_diff"
 
#define AWAR_BA_MIN_ABS_DIFF   AWAR_BRANCH_ANALYSIS "/min_abs_diff"
 
#define AWAR_BA_MIN_DEPTH   AWAR_BRANCH_ANALYSIS "/min_depth"
 
#define AWAR_BA_MIN_ROOTDIST   AWAR_BRANCH_ANALYSIS "/min_rootdist"
 
#define AWAR_BA_DEGENERATION   AWAR_BRANCH_ANALYSIS "/degeneration"
 
#define AWAR_BA_AUTOMARK_FORMAT   AWAR_BRANCH_ANALYSIS_TMP "/auto_%s"
 

Functions

static void mark_long_branches_cb (AW_window *, BranchWindow *bw)
 
static void mark_deep_leafs_cb (AW_window *, BranchWindow *bw)
 
static void mark_degenerated_branches_cb (AW_window *, BranchWindow *bw)
 
static void unmark_branches_cb (AW_window *, BranchWindow *bw)
 
static void distance_analysis_cb (AW_window *, BranchWindow *bw)
 
static void tree_changed_cb (AW_root *, BranchWindow *bw)
 
static BranchWindowfindAutomarkingBranchWindow ()
 
static void mark_long_branches_automark_cb ()
 
static void mark_deep_leafs_automark_cb ()
 
static void mark_degenerated_branches_automark_cb ()
 
static void automark_changed_cb (AW_root *, BranchWindow *bw)
 
AW_windowNT_create_branch_analysis_window (AW_root *aw_root, TREE_canvas *ntw)
 

Variables

static BranchWindowexistingBranchWindow [MAX_NT_WINDOWS] = { MAX_NT_WINDOWS_NULLINIT }
 
static AWT_config_mapping_def branch_analysis_config_mapping []
 

Macro Definition Documentation

#define AWAR_BRANCH_ANALYSIS   "branch_analysis"

Definition at line 20 of file NT_branchAnalysis.cxx.

#define AWAR_BRANCH_ANALYSIS_TMP   "tmp/" AWAR_BRANCH_ANALYSIS

Definition at line 21 of file NT_branchAnalysis.cxx.

#define AWAR_BA_MIN_REL_DIFF   AWAR_BRANCH_ANALYSIS "/min_rel_diff"

Definition at line 23 of file NT_branchAnalysis.cxx.

Referenced by BranchWindow::markLongBranches().

#define AWAR_BA_MIN_ABS_DIFF   AWAR_BRANCH_ANALYSIS "/min_abs_diff"

Definition at line 24 of file NT_branchAnalysis.cxx.

Referenced by BranchWindow::markLongBranches().

#define AWAR_BA_MIN_DEPTH   AWAR_BRANCH_ANALYSIS "/min_depth"

Definition at line 25 of file NT_branchAnalysis.cxx.

Referenced by BranchWindow::markDeepLeafs().

#define AWAR_BA_MIN_ROOTDIST   AWAR_BRANCH_ANALYSIS "/min_rootdist"

Definition at line 26 of file NT_branchAnalysis.cxx.

Referenced by BranchWindow::markDeepLeafs().

#define AWAR_BA_DEGENERATION   AWAR_BRANCH_ANALYSIS "/degeneration"

Definition at line 27 of file NT_branchAnalysis.cxx.

Referenced by BranchWindow::markDegeneratedBranches().

#define AWAR_BA_AUTOMARK_FORMAT   AWAR_BRANCH_ANALYSIS_TMP "/auto_%s"

Definition at line 29 of file NT_branchAnalysis.cxx.

Function Documentation

static void mark_long_branches_cb ( AW_window ,
BranchWindow bw 
)
static

Definition at line 172 of file NT_branchAnalysis.cxx.

References BranchWindow::markLongBranches().

static void mark_deep_leafs_cb ( AW_window ,
BranchWindow bw 
)
static

Definition at line 173 of file NT_branchAnalysis.cxx.

References BranchWindow::markDeepLeafs().

static void mark_degenerated_branches_cb ( AW_window ,
BranchWindow bw 
)
static

Definition at line 174 of file NT_branchAnalysis.cxx.

References BranchWindow::markDegeneratedBranches().

static void unmark_branches_cb ( AW_window ,
BranchWindow bw 
)
static

Definition at line 175 of file NT_branchAnalysis.cxx.

References BranchWindow::unmark_all().

static void distance_analysis_cb ( AW_window ,
BranchWindow bw 
)
static

Definition at line 176 of file NT_branchAnalysis.cxx.

References BranchWindow::analyseDistances().

static void tree_changed_cb ( AW_root ,
BranchWindow bw 
)
static

Definition at line 178 of file NT_branchAnalysis.cxx.

References BranchWindow::set_info().

Referenced by AWT_graphic_tree::set_logical_root_to().

static BranchWindow* findAutomarkingBranchWindow ( )
static
static void mark_long_branches_automark_cb ( )
static
static void mark_deep_leafs_automark_cb ( )
static
static void mark_degenerated_branches_automark_cb ( )
static
static void automark_changed_cb ( AW_root ,
BranchWindow bw 
)
static
AW_window* NT_create_branch_analysis_window ( AW_root aw_root,
TREE_canvas ntw 
)

Variable Documentation

BranchWindow* existingBranchWindow[MAX_NT_WINDOWS] = { MAX_NT_WINDOWS_NULLINIT }
static

Definition at line 168 of file NT_branchAnalysis.cxx.

AWT_config_mapping_def branch_analysis_config_mapping[]
static
Initial value:
= {
{ AWAR_BA_MIN_REL_DIFF, "minreldiff" },
{ AWAR_BA_MIN_ABS_DIFF, "minabsdiff" },
{ AWAR_BA_MIN_DEPTH, "mindepth" },
{ AWAR_BA_MIN_ROOTDIST, "minrootdist" },
{ AWAR_BA_DEGENERATION, "degeneration" },
{ NULp, NULp }
}
#define AWAR_BA_MIN_ROOTDIST
#define AWAR_BA_MIN_REL_DIFF
#define AWAR_BA_MIN_DEPTH
#define NULp
Definition: cxxforward.h:116
#define AWAR_BA_DEGENERATION
#define AWAR_BA_MIN_ABS_DIFF

Definition at line 231 of file NT_branchAnalysis.cxx.