HLIBpro  1.2
Public Member Functions | List of all members
TVTKCoordVis Class Reference

Coordinate visualisation in VTK format.

#include <TCoordVis.hh>

Public Member Functions

virtual void print (const TCoordinate *coord, const String &filename) const
 print coord to file filename
virtual void print (const TCoordinate *coord, const std::vector< uint > &label, const String &filename) const
virtual void print (const TCoordinate *coord, const TSparseMatrix *S, const String &filename, const coltype_t col_type=TVTKCoordVis::NO_COLOUR) const

Member Function Documentation

virtual void print ( const TCoordinate coord,
const std::vector< uint > &  label,
const String &  filename 
) const
virtual

print coordinates coord and colour coordinates with same label with same colour; the labels are defined by label and must begin with 0

virtual void print ( const TCoordinate coord,
const TSparseMatrix S,
const String &  filename,
const coltype_t  col_type = TVTKCoordVis::NO_COLOUR 
) const
virtual

print coordinates coord and the connections between them as defined by the coefficients of the sparse matrix S

  • the ordering of S is assumed to be equal to coord
  • if log_scale is true, coefficient scaling is logarithmic