Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

vectorial/graphics.hh
Go to the documentation of this file.
00001 // graphics for vector valued elements
00002 
00003 #ifndef vectorGraphics_hh
00004 #define vectorGraphics_hh
00005 
00006 #include "toolbox/elementGraphics.hh"
00007 
00008 namespace vectorial {
00009 
00010   // ************************************************************** Graphics **
00011 
00015   template<typename F>
00016   class Graphics : public concepts::ElementGraphics<F> {
00017   public:
00018     Graphics() : idx_(0) {}
00023     void choose(uint idx) { idx_ = idx; }
00025     uint chosen() const { return idx_; }
00026     virtual void operator()
00027       (const concepts::Element<F>& elm,
00028        typename concepts::ElementGraphics<F>::graphicsType type,
00029        concepts::CellPostprocess<F>& post) const;
00030   protected:
00031     virtual std::ostream& info(std::ostream& os) const;
00032   private:
00034     uint idx_;
00035   };
00036 
00037 } // namespace vectorial
00038 
00039 #endif // vectorGraphics_hh

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)