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

Class for grid visualisation in VTK format.

#include <TGridVis.hh>

Inherits TGridVisBase.

Public Member Functions

TVTKGridVisdraw_normal (const bool b)
 turn on/off printing of normal direction (default: off)
 
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
 

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