00001 // graphics for triangles 00002 00003 #ifndef bemTriangleGraphics_hh 00004 #define bemTriangleGraphics_hh 00005 00006 #include "basics/typedefs.hh" 00007 #include "toolbox/elementGraphics.hh" 00008 00009 namespace bem { 00010 00011 using concepts::Real; 00012 00013 // ****************************************************** TriangleGraphics ** 00014 00018 template <typename F = concepts::Real> 00019 class TriangleGraphics : public concepts::ElementGraphics<F> { 00020 public: 00021 virtual void operator()(const concepts::Element<F>& elm, 00022 typename concepts::ElementGraphics<F>::graphicsType type, 00023 concepts::CellPostprocess<F>& post) const; 00024 protected: 00025 virtual std::ostream& info(std::ostream& os) const; 00026 }; 00027 00028 } // namespace bem 00029 00030 #endif // bemTriangleGraphics_hh