HLIBpro  2.8.1
TPSClusterBasisVis< T > Class Template Reference

cluster basis visualisation in PostScript format

#include <TClusterBasisVis.hh>

Inheritance diagram for TPSClusterBasisVis< T >:
TClusterBasisVis< T >

Public Member Functions

 TPSClusterBasisVis ()
 
 TPSClusterBasisVis (std::ostream &output)
 
TPSClusterBasisVis< T > & basis_rank (const bool b)
 turn on/off printing of rank of cluster bases
 
TPSClusterBasisVis< T > & colourise (const bool b)
 turn on/off colourising tree according to rank compared to full rank
 
TPSClusterBasisVis< T > & legend (const bool b)
 turn on/off showing of legend (with colourmap)
 
virtual void visualise (const TClusterBasis< T > *cb) const
 
virtual void visualise (const TClusterBasis< T > *cb, std::ostream &output) const
 
virtual void print (const TClusterBasis< T > *cb, const std::string &filename) const
 
- Public Member Functions inherited from TClusterBasisVis< T >
virtual void print (const TClusterBasis< T > *cb) const
 

Constructor & Destructor Documentation

◆ TPSClusterBasisVis() [1/2]

construct visualisation

◆ TPSClusterBasisVis() [2/2]

TPSClusterBasisVis ( std::ostream &  output)

construct visualisation to stream output

Member Function Documentation

◆ print()

virtual void print ( const TClusterBasis< T > *  cb,
const std::string &  filename 
) const
virtual

write visualisation of cluster basis cl to file filename

◆ visualise() [1/2]

virtual void visualise ( const TClusterBasis< T > *  cb) const
virtual

visualise cluster basis cl

Implements TClusterBasisVis< T >.

◆ visualise() [2/2]

virtual void visualise ( const TClusterBasis< T > *  cb,
std::ostream &  output 
) const
virtual

visualise cluster basis cl to stream output