IBSimu 1.0.4
|
Class for drawing mesh. More...
#include <meshgraph.hpp>
Public Member Functions | |
MeshGraph (const Geometry &g) | |
Constructor for mesh plotter. | |
virtual | ~MeshGraph () |
Destructor. | |
virtual void | plot (cairo_t *cairo, const Coordmapper *cm, const double range[4]) |
Plot graph with cairo. | |
virtual void | get_bbox (double bbox[4]) |
Get bounding box of graph. |
Class for drawing mesh.
Implementation of Graph3D.
MeshGraph::MeshGraph | ( | const Geometry & | g | ) |
Constructor for mesh plotter.
virtual MeshGraph::~MeshGraph | ( | ) | [virtual] |
Destructor.
virtual void MeshGraph::get_bbox | ( | double | bbox[4] | ) | [virtual] |
Get bounding box of graph.
Returns the bounding box of the graph in array bbox in order xmin, ymin, xmax, ymax.
Implements Graph3D.
virtual void MeshGraph::plot | ( | cairo_t * | cairo, |
const Coordmapper * | cm, | ||
const double | range[4] | ||
) | [virtual] |
Plot graph with cairo.
Plot the graph using cairo and coordinate mapper cm. The visible range of plot is given in array range in order xmin, ymin, xmax, ymax.
Implements Graph3D.