MeshGraph Class Reference
Class for drawing mesh. More...
#include <meshgraph.hpp>
Inheritance diagram for MeshGraph:

Public Member Functions | |
MeshGraph (const Geometry &geom) | |
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 | plot_sample (cairo_t *cairo, double x, double y, double width, double height) |
Plot sample for legend. | |
virtual void | get_bbox (double bbox[4]) |
Get bounding box of graph. |
Detailed Description
Class for drawing mesh.
Implementation of Graph3D.
Constructor & Destructor Documentation
MeshGraph::MeshGraph | ( | const Geometry & | geom | ) |
Constructor for mesh plotter.
virtual MeshGraph::~MeshGraph | ( | ) | [virtual] |
Destructor.
Member Function Documentation
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] |
virtual void MeshGraph::plot_sample | ( | cairo_t * | cairo, | |
double | x, | |||
double | y, | |||
double | width, | |||
double | height | |||
) | [virtual] |
The documentation for this class was generated from the following file: