HLIBpro 3.1
Loading...
Searching...
No Matches
TPDFGridVis Class Reference

Class for grid visualisation in PDF format.

#include <TGridVis.hh>

Inheritance diagram for TPDFGridVis:
T2DGridVis

Public Member Functions

void print (const TGrid *grid, const std::string &filename) const
 print grid to file filename
 
template<typename fnspace_t , typename value_t >
void print (const TGrid *grid, const fnspace_t *fnspace, const TVector< value_t > *vec, const std::string &filename) const
 
- Public Member Functions inherited from T2DGridVis
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)
 

Member Function Documentation

◆ print()

template<typename fnspace_t , typename value_t >
void print ( const TGrid *  grid,
const fnspace_t *  fnspace,
const TVector< value_t > *  vec,
const std::string &  filename 
) const

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