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::Meshmsh_
 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
Author
Philipp Frauenfelder, 2001

Definition at line 39 of file meshEPS.hh.

Constructor & Destructor Documentation

◆ MeshEPS() [1/2]

template<class F = Real>
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]

template<class F = Real>
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_

template<class F = Real>
concepts::Mesh* graphics::MeshEPS< F >::msh_
private

The mesh.

Definition at line 59 of file meshEPS.hh.

◆ spc_

template<class F = Real>
concepts::Space<F>* graphics::MeshEPS< F >::spc_
private

The space.

Definition at line 56 of file meshEPS.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich