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 | 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. | |
Public Member Functions inherited from Graph3D | |
| Graph3D () | |
| Constructor. | |
| virtual | ~Graph3D () |
| Virtual destructor. | |
| void | set_view (view_e view, int level) |
| Set the view of 3D drawable. | |
Public Member Functions inherited from Graph | |
| virtual | ~Graph () |
| Virtual destructor. | |
Additional Inherited Members | |
Protected Attributes inherited from Graph3D | |
| view_e | _view |
| Geometry view direction. | |
| int | _vb [3] |
| Coordinate index for first, second and third axes. | |
| int | _level |
| Level of slice in mesh units. | |
Class for drawing mesh.
Implementation of Graph3D.
| MeshGraph::MeshGraph | ( | const Geometry & | g | ) |
Constructor for mesh plotter.
|
virtual |
Destructor.
|
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 |
|
virtual |