HLIBpro 3.1
Loading...
Searching...
No Matches
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]

template<typename T >
TPSClusterBasisVis ( )

construct visualisation

◆ TPSClusterBasisVis() [2/2]

template<typename T >
TPSClusterBasisVis ( std::ostream &  output)

construct visualisation to stream output

Member Function Documentation

◆ print()

template<typename T >
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]

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

visualise cluster basis cl

Implements TClusterBasisVis< T >.

◆ visualise() [2/2]

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

visualise cluster basis cl to stream output