graphics::MeshEPS< F > Class Template Reference
Draws a picture of a mesh in EPS format and stores the result in a file. More...
#include <meshEPS.hh>
Public Member Functions | |
MeshEPS (concepts::Mesh &msh, std::string filename, const Real scale=100, const Real greyscale=1.0, const unsigned int nPoints=20) | |
Constructor. More... | |
MeshEPS (concepts::Space< F > &spc, std::string filename, const Real scale=100, const Real greyscale=1.0, const unsigned int nPoints=20) | |
Constructor. More... | |
Private Attributes | |
concepts::Mesh * | msh_ |
The mesh. More... | |
concepts::Space< F > * | spc_ |
The space. More... | |
Detailed Description
template<class F = Real>
class graphics::MeshEPS< F >
Draws a picture of a mesh in EPS format and stores the result in a file.
This class is just an executor class for MeshEPSCell, the real work to draw the picture is done there.
The class has a template parameter which is not very handy. For this purpose, there are two trampoline functions drawMeshEPS which create this class and handle the template parameter corretctly.
- See also
- drawMeshEPS the trampoline function of this class
- MeshEPSCell the class which does the real work
Definition at line 39 of file meshEPS.hh.
Constructor & Destructor Documentation
◆ MeshEPS() [1/2]
graphics::MeshEPS< F >::MeshEPS | ( | concepts::Mesh & | msh, |
std::string | filename, | ||
const Real | scale = 100 , |
||
const Real | greyscale = 1.0 , |
||
const unsigned int | nPoints = 20 |
||
) |
Constructor.
The coarsest grid will be depicted. To store the results, a new file is created.
◆ MeshEPS() [2/2]
graphics::MeshEPS< F >::MeshEPS | ( | concepts::Space< F > & | spc, |
std::string | filename, | ||
const Real | scale = 100 , |
||
const Real | greyscale = 1.0 , |
||
const unsigned int | nPoints = 20 |
||
) |
Constructor.
The currently used grid in the space will be depicted. To store the results, a new file is created.
Member Data Documentation
◆ msh_
|
private |
The mesh.
Definition at line 59 of file meshEPS.hh.
◆ spc_
|
private |
The space.
Definition at line 56 of file meshEPS.hh.
The documentation for this class was generated from the following file:
- graphics/meshEPS.hh