HLIBpro  2.2
Public Member Functions | List of all members
T2DBlockClusterVis Class Referenceabstract

base class for block cluster tree visualisation in 2D

#include <TClusterVis.hh>

Inheritance diagram for T2DBlockClusterVis:
TBlockClusterVis TPDFBlockClusterVis TPSBlockClusterVis

Public Member Functions

 T2DBlockClusterVis ()
 default ctor
 
T2DBlockClusterVisprn_border (const bool b)
 turn on/off printing of border around nodes (default: on)
 
T2DBlockClusterVisall_nodes (const bool b)
 turn on/off showing of all nodes in tree, even inner nodes (default: on)
 
T2DBlockClusterVisloc_is (const bool b)
 turn on/off printing local index sets (default: off)
 
T2DBlockClusterVisprn_id (const bool b)
 turn on/off printing local cluster ID (default: off)
 
T2DBlockClusterVisprn_procs (const bool b)
 turn on/off printing tree for one processor (default: off)
 
T2DBlockClusterVissingle_proc (const bool b)
 turn on/off printing tree for one processor (default: off)
 
T2DBlockClusterVispid (const uint p)
 
T2DBlockClusterVislegend (const bool b)
 turn on/off printing of legend (default: off)
 
T2DBlockClusterVismax_size_ratio (const double r)
 
virtual void print (const TBlockCluster *c, const std::string &filename) const
 

Member Function Documentation

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 void print ( const TBlockCluster cl,
const std::string &  filename 
) const
virtual

visualise block cluster tree

Parameters
clblock cluster tree to visualise
filenamename of file to write to

Implements TBlockClusterVis.