HLIBpro  2.3.1
Public Member Functions | List of all members
T2DGridVis Class Referenceabstract

Base class for 2D grid visualisation (by projection).

#include <TGridVis.hh>

Inheritance diagram for T2DGridVis:
TGridVis TPDFGridVis TPSGridVis

Public Member Functions

T2DGridVisview_dir (const T3Point &view)
 set viewing direction (default: (1, 0, 0))
 
T2DGridVislighting (const bool b)
 turn on/off lighting (default: off)
 
T2DGridVisdraw_bbox (const bool b)
 turn on/off printing of bounding box (default: off)
 
T2DGridVisdraw_axis (const bool b)
 turn on/off printing of coord. axis (default: off)
 
T2DGridVisdraw_contour (const bool b)
 turn on/off drawing of triangle contours (default: on)
 
virtual void print (const TGrid *grid, const std::string &filename) const
 print grid to file filename
 
virtual void print (const TGrid *grid, const TFnSpace *fnspace, const TVector *vec, const std::string &filename) const
 
- Public Member Functions inherited from TGridVis
void set_func_value_interval (const double minval, const double maxval)
 
double min_func_value () const
 access function value interval
 
void set_colourmap (const std::string &cmap)
 set colour map
 
std::string colourmap () const
 return name of colourmap
 

Member Function Documentation

virtual void print ( const TGrid *  grid,
const TFnSpace *  fnspace,
const TVector vec,
const std::string &  filename 
) const
virtual

print grid to file filename with colours according to values in vector vec which holds coefficients for function in fnspace

Implements TGridVis.