IBSimu 1.0.4
Public Member Functions

Graph Class Reference

Abstract base class for drawable plots. More...

#include <graph.hpp>

Inheritance diagram for Graph:
Colormap Graph3D XYGraph EqPotGraph FieldGraph MeshGraph ParticleGraph SolidGraph

List of all members.

Public Member Functions

virtual ~Graph ()
 Virtual destructor.
virtual void plot (cairo_t *cairo, const Coordmapper *cm, const double range[4])=0
 Plot graph with cairo.
virtual void get_bbox (double bbox[4])=0
 Get bounding box of graph.

Detailed Description

Abstract base class for drawable plots.


Constructor & Destructor Documentation

virtual Graph::~Graph ( ) [inline, virtual]

Virtual destructor.


Member Function Documentation

virtual void Graph::get_bbox ( double  bbox[4]) [pure virtual]

Get bounding box of graph.

Returns the bounding box of the graph in array bbox in order xmin, ymin, xmax, ymax.

Implemented in Colormap, EqPotGraph, FieldGraph, Graph3D, MeshGraph, ParticleGraph, SolidGraph, and XYGraph.

virtual void Graph::plot ( cairo_t *  cairo,
const Coordmapper cm,
const double  range[4] 
) [pure 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.

Implemented in Colormap, EqPotGraph, FieldGraph, Graph3D, MeshGraph, ParticleGraph, SolidGraph, and XYGraph.


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