elec-1.00
 All Classes Namespaces Files Functions Variables Macros
Public Member Functions | Public Attributes | List of all members
elec::plot::Figure Class Reference

#include <elecPlot.hpp>

Public Member Functions

 Figure (const std::string &title, const elec::Point &min, const elec::Point &max)
 
void begin_frame (const std::string &prefix, const std::string &suffix)
 
void end_frame ()
 
void set_view (double elev, double azim)
 
void __plot_focus (const elec::Point &pos)
 
template<typename Iter >
void __plot_particles (const Iter &begin, const Iter &end)
 
template<typename PosIter , typename ValIter >
void __plot_field (const PosIter &pbegin, const PosIter &pend, const ValIter &vbegin, const ValIter &vend, double scale, double max_norm)
 
template<typename PosIter , typename ValIter >
void __plot_potential (const PosIter &pbegin, const PosIter &pend, const ValIter &vbegin, const ValIter &vend, double vmin, double vmax, unsigned int nb_contours)
 
 ~Figure ()
 

Public Attributes

unsigned int frame_id
 

Constructor & Destructor Documentation

elec::plot::Figure::Figure ( const std::string &  title,
const elec::Point min,
const elec::Point max 
)
inline
elec::plot::Figure::~Figure ( )
inline

Member Function Documentation

template<typename PosIter , typename ValIter >
void elec::plot::Figure::__plot_field ( const PosIter &  pbegin,
const PosIter &  pend,
const ValIter &  vbegin,
const ValIter &  vend,
double  scale,
double  max_norm 
)
inline
void elec::plot::Figure::__plot_focus ( const elec::Point pos)
inline
template<typename Iter >
void elec::plot::Figure::__plot_particles ( const Iter &  begin,
const Iter &  end 
)
inline
template<typename PosIter , typename ValIter >
void elec::plot::Figure::__plot_potential ( const PosIter &  pbegin,
const PosIter &  pend,
const ValIter &  vbegin,
const ValIter &  vend,
double  vmin,
double  vmax,
unsigned int  nb_contours 
)
inline
void elec::plot::Figure::begin_frame ( const std::string &  prefix,
const std::string &  suffix 
)
inline
void elec::plot::Figure::end_frame ( )
inline
void elec::plot::Figure::set_view ( double  elev,
double  azim 
)
inline

Member Data Documentation

unsigned int elec::plot::Figure::frame_id

The documentation for this class was generated from the following file: