|
HLIBpro
3.0
|
Class for grid visualisation in PostScript format.
#include <TGridVis.hh>
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 | |
| T2DGridVis & | view_dir (const T3Point &view) |
| set viewing direction (default: (1, 0, 0)) | |
| T2DGridVis & | lighting (const bool b) |
| turn on/off lighting (default: off) | |
| T2DGridVis & | draw_bbox (const bool b) |
| turn on/off printing of bounding box (default: off) | |
| T2DGridVis & | draw_axis (const bool b) |
| turn on/off printing of coord. axis (default: off) | |
| T2DGridVis & | draw_contour (const bool b) |
| turn on/off drawing of triangle contours (default: on) | |
| 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