#include <meshEPS.hh>
Public Member Functions | |
MeshEPSCell (std::ostream &os, concepts::Mesh2 &msh, const Real scale=100, const Real greyscale=1.0, const unsigned int nPoints=20) | |
MeshEPSCell (std::ostream &os, concepts::Space< F > &spc, const Real scale=100, const Real greyscale=1.0, const unsigned int nPoints=20) | |
virtual void | operator() (const concepts::Element< Real > &elm) |
virtual void | operator() (const concepts::Cell &cell) |
void | offsetMin (const concepts::Real2d &x) |
void | maxMax (const concepts::Real2d &x) |
virtual void | operator() (const Element< Real > &elm)=0 |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Draws a picture of a mesh in EPS. The application operator of this class sketches the mesh in EPS format for each cell or element.
You should not use this class directly. Instead, use the executor class MeshEPS or (even simpler) its trampoline function drawMeshEPS (which hides the template parameter of MeshEPS).
Definition at line 98 of file meshEPS.hh.
graphics::MeshEPSCell< F >::MeshEPSCell | ( | std::ostream & | os, |
concepts::Mesh2 & | msh, | ||
const Real | scale = 100 , |
||
const Real | greyscale = 1.0 , |
||
const unsigned int | nPoints = 20 |
||
) |
Constructor. First scanns the mesh for the top right and bottom left point and then prints the header of the EPS file.
os | Output stream where the data should be written to |
msh | The mesh which should be draw |
scale | Optional scaling parameter |
graphics::MeshEPSCell< F >::MeshEPSCell | ( | std::ostream & | os, |
concepts::Space< F > & | spc, | ||
const Real | scale = 100 , |
||
const Real | greyscale = 1.0 , |
||
const unsigned int | nPoints = 20 |
||
) |
Constructor. First scanns the mesh for the top right and bottom left point and then prints the header of the EPS file.
os | Output stream where the data should be written to |
spc | The space which should be drawn |
scale | Optional scaling parameter |
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in graphics::MatrixCounterCell, graphics::VertexList, hp2D::APrioriRefinement, hp3D::APrioriRefinement, concepts::CellIntegral< F >, concepts::CellFaceIntegral< F >, and concepts::CellEdgeIntegral< F >.
|
virtual |
Application operator. This application operator has to be overloaded to post process a mesh.
cell | Current cell |
Implements concepts::CellPostprocess< Real >.
|
pure virtualinherited |
Application operator. This application operator has to be overloaded to post process a space.
elm | Current element |
Implemented in concepts::CellFaceIntegral< F >, and concepts::CellEdgeIntegral< F >.