Handles graphics for vector valued elements. More...
#include <graphics.hh>


Public Types | |
| enum | graphicsType { DATA_DX_COUNTS, DATA_DX_COORDINATES, DATA_DX_CONNECTIONS, DATA_DX_DATA, MESH_GNUPLOT, DATA_GNUPLOT, MESH_EPS, MESH_EPS_INIT, MESH_MATLAB, MESH_DX, VERTEX_LIST, TOPOLOGY_DOTTY, DATA_MATLAB, MATLAB, TECPLOT, DENSEMATRIX, MESH_DENSEMATRIX } |
Public Member Functions | |
| void | choose (uint idx) |
| Choose component to be plotted. | |
| uint | chosen () const |
| Returns index of chosen component. | |
| Graphics () | |
| virtual void | operator() (const Element< F > &elm, enum graphicsType type, CellPostprocess< F > &post) const =0 |
| Writes necessary data to a file for graphics. | |
| virtual void | operator() (const concepts::Element< F > &elm, typename concepts::ElementGraphics< F >::graphicsType type, concepts::CellPostprocess< F > &post) const |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Private Attributes | |
| uint | idx_ |
| Component which should be visualized. | |
Handles graphics for vector valued elements.
Definition at line 16 of file graphics.hh.
enum concepts::ElementGraphicsBase::graphicsType [inherited] |
Definition at line 25 of file elementGraphics.hh.
| vectorial::Graphics< F >::Graphics | ( | ) | [inline] |
Definition at line 18 of file graphics.hh.
| void vectorial::Graphics< F >::choose | ( | uint | idx | ) | [inline] |
Choose component to be plotted.
| idx | Chooses the component idx of the vector valued elements to be visualized |
Definition at line 23 of file graphics.hh.
| uint vectorial::Graphics< F >::chosen | ( | ) | const [inline] |
Returns index of chosen component.
Definition at line 25 of file graphics.hh.
| virtual std::ostream& vectorial::Graphics< F >::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
| virtual void vectorial::Graphics< F >::operator() | ( | const concepts::Element< F > & | elm, |
| typename concepts::ElementGraphics< F >::graphicsType | type, | ||
| concepts::CellPostprocess< F > & | post | ||
| ) | const [virtual] |
| virtual void concepts::ElementGraphics< F >::operator() | ( | const Element< F > & | elm, |
| enum graphicsType | type, | ||
| CellPostprocess< F > & | post | ||
| ) | const [pure virtual, inherited] |
Writes necessary data to a file for graphics.
This method is called by the application operator of the object which should create the graphics file. Such an object is a specialization of CellPostprocess. It is best if an element returns an object of this type.
| elm | Element which should be depicted |
| type | Type of graphics |
| post | Calling CellPostprocess specialization, might be necessary to get some data |
Implemented in hp2D::BaseQuadGraphics< F >, hp2D::QuadGraphics< F >, and hp2Dedge::QuadGraphics< F >.
uint vectorial::Graphics< F >::idx_ [private] |
Component which should be visualized.
Definition at line 34 of file graphics.hh.