Go to the documentation of this file.00001
00002
00003
00004 #ifndef elGraphics_hh
00005 #define elGraphics_hh
00006
00007 #include "basics/outputOperator.hh"
00008
00009 namespace concepts {
00010
00011
00012 template<class F>
00013 class Element;
00014
00015 template<class F>
00016 class CellPostprocess;
00017
00018
00019
00023 class ElementGraphicsBase : public OutputOperator {
00024 public:
00025 enum graphicsType { DATA_DX_COUNTS, DATA_DX_COORDINATES,
00026 DATA_DX_CONNECTIONS, DATA_DX_DATA,
00027 MESH_GNUPLOT, DATA_GNUPLOT,
00028 MESH_EPS, MESH_EPS_INIT,
00029 MESH_MATLAB, MESH_DX,
00030 VERTEX_LIST, TOPOLOGY_DOTTY,
00031 DATA_MATLAB, MATLAB, TECPLOT, DENSEMATRIX, MESH_DENSEMATRIX};
00032 };
00033
00034
00035
00051 template<typename F = int>
00052 class ElementGraphics : public ElementGraphicsBase {
00053 public:
00067 virtual void operator()(const Element<F>& elm,
00068 enum graphicsType type,
00069 CellPostprocess<F>& post) const = 0;
00070 };
00071
00133 }
00134
00135 #endif // elGraphics_hh