Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Private Attributes
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>

Collaboration diagram for graphics::MeshEPS< F >:
Collaboration graph
[legend]

List of all members.

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.
 MeshEPS (concepts::Space< F > &spc, std::string filename, const Real scale=100, const Real greyscale=1.0, const unsigned int nPoints=20)
 Constructor.

Private Attributes

concepts::Meshmsh_
 The mesh.
concepts::Space< F > * spc_
 The space.

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 37 of file meshEPS.hh.


Constructor & Destructor Documentation

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.

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

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

The mesh.

Definition at line 57 of file meshEPS.hh.

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

The space.

Definition at line 54 of file meshEPS.hh.


The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)