00001 // graphics for elements 00002 00003 #ifndef bemElementGraphics_hh 00004 #define bemElementGraphics_hh 00005 00006 #include "basics/typedefs.hh" 00007 #include "toolbox/elementGraphics.hh" 00008 00009 namespace bem { 00010 00011 using concepts::Real; 00012 00013 // ******************************************************** LinTriGraphics ** 00014 00018 class LinTriGraphics : public concepts::ElementGraphics<Real> { 00019 public: 00020 virtual void operator()(const concepts::Element<Real>& elm, 00021 concepts::ElementGraphics<Real>::graphicsType type, 00022 concepts::CellPostprocess<Real>& post) const; 00023 protected: 00024 virtual std::ostream& info(std::ostream& os) const; 00025 }; 00026 00027 // ****************************************************** ConstTriGraphics ** 00028 00032 class ConstTriGraphics : public concepts::ElementGraphics<Real> { 00033 public: 00034 virtual void operator()(const concepts::Element<Real>& elm, 00035 concepts::ElementGraphics<Real>::graphicsType type, 00036 concepts::CellPostprocess<Real>& post) const; 00037 protected: 00038 virtual std::ostream& info(std::ostream& os) const; 00039 }; 00040 00041 } // namespace bem 00042 00043 #endif // bemElementGraphics_hh