SolidGraph Class Reference
A 2D cut view of the geometry solids. More...
#include <solidgraph.hpp>
Inheritance diagram for SolidGraph:

Public Member Functions | |
SolidGraph (const Geometry &geom) | |
Constructor for SolidGraph drawable from geometry g. More... | |
virtual | ~SolidGraph () |
Destructor. More... | |
void | disable_cache (void) |
Disable internal cache. More... | |
virtual void | plot (cairo_t *cairo, const Coordmapper *cm, const double range[4]) |
Plot graph with cairo. More... | |
virtual void | plot_sample (cairo_t *cairo, double x, double y, double width, double height) |
Plot sample for legend. More... | |
virtual void | get_bbox (double bbox[4]) |
Get bounding box of drawable. More... | |
![]() | |
Graph3D (const Mesh &mesh) | |
Constructor. More... | |
virtual | ~Graph3D () |
Virtual destructor. More... | |
void | set_view (view_e view, int level) |
Set the view of 3D drawable. More... | |
![]() | |
virtual | ~Graph () |
Virtual destructor. More... | |
Additional Inherited Members | |
![]() | |
const Mesh & | _mesh |
Mesh of simulation. More... | |
view_e | _view |
Geometry view direction. More... | |
int | _vb [3] |
Coordinate index for first, second and third axes. More... | |
int | _level |
Level of slice in mesh units. More... | |
double | _level_si |
Level in meters. More... | |
Detailed Description
A 2D cut view of the geometry solids.
Class for constructing and plotting a view of the geometry solids. The view data is stored inside the object in a cache to speed up frequent use (in interactive plotter).
Constructor & Destructor Documentation
◆ SolidGraph()
SolidGraph::SolidGraph | ( | const Geometry & | geom | ) |
Constructor for SolidGraph drawable from geometry g.
◆ ~SolidGraph()
|
virtual |
Destructor.
Member Function Documentation
◆ disable_cache()
void SolidGraph::disable_cache | ( | void | ) |
Disable internal cache.
Makes solid boundaries to be calculated at every plot().
◆ get_bbox()
|
virtual |
Get bounding box of drawable.
Returns the bounding box of the drawable in array bbox in order xmin, ymin, xmax, ymax.
Implements Graph3D.
◆ plot()
|
virtual |
◆ plot_sample()
|
virtual |
The documentation for this class was generated from the following files: