HLIBpro
2.8.1
|
base class for block cluster tree visualisation in 2D
#include <TClusterVis.hh>
Public Member Functions | |
T2DBlockClusterVis () | |
default ctor | |
T2DBlockClusterVis & | border (const bool b) |
turn on/off printing of border around nodes (default: on) | |
T2DBlockClusterVis & | background (const bool b) |
turn on/off printing of background of nodes (default: on) | |
T2DBlockClusterVis & | all_nodes (const bool b) |
turn on/off showing of all nodes in tree, even inner nodes (default: on) | |
T2DBlockClusterVis & | loc_is (const bool b) |
turn on/off printing local index sets (default: off) | |
T2DBlockClusterVis & | id (const bool b) |
turn on/off printing local cluster ID (default: off) | |
T2DBlockClusterVis & | procs (const bool b) |
turn on/off printing tree for one processor (default: off) | |
T2DBlockClusterVis & | single_proc (const bool b) |
turn on/off printing tree for one processor (default: off) | |
T2DBlockClusterVis & | pid (const uint p) |
T2DBlockClusterVis & | legend (const bool b) |
turn on/off printing of legend (default: off) | |
T2DBlockClusterVis & | max_size_ratio (const double r) |
T2DBlockClusterVis & | adaptive_lw (const bool b) |
T2DBlockClusterVis & | base_line_width (const double lw) |
set base line width for either constant or adaptive lw (default: 1.0) | |
virtual void | print (const TBlockCluster *c, const std::string &filename) const |
T2DBlockClusterVis& adaptive_lw | ( | const bool | b | ) |
switch on/off adaptive line width, e.g. multiply lw by distance from leaf; if off, constant lw = base lw is used (default: off)
T2DBlockClusterVis& max_size_ratio | ( | const double | r | ) |
set maximal allowed ratio of block size compared to largest block size (default: 1000); if ratio is exceeded, block will not be printed to limit file size for very large block cluster trees
T2DBlockClusterVis& pid | ( | const uint | p | ) |
set processor to restrict visualisation to (default: none); also activates "single_proc"
|
virtual |
visualise block cluster tree
cl | block cluster tree to visualise |
filename | name of file to write to |
Implements TBlockClusterVis.