Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.4
   Version 1.0.4dev
      Class Index
      File List
Publications


Hosted by Get Ion Beam Simulator at SourceForge.net. Fast, secure and Free Open Source software downloads

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. The graph should be able to handle any range values. Also min > max.

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


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


Reference manual for Ion Beam Simulator 1.0.4dev
Generated by Doxygen 1.7.1 on Wed May 18 2011 23:03:51.