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

FieldGraph Class Reference

Class for drawing fields with colormap. More...

#include <fieldgraph.hpp>

Inheritance diagram for FieldGraph:
Graph3D Graph

List of all members.

Public Member Functions

 FieldGraph (const ScalarField *field)
 Constructor for plotting ScalarField.
 FieldGraph (const Geometry *geom, const VectorField *field, field_type_e field_type)
 Constructor for plotting a VectorField field in geometry geom.
virtual ~FieldGraph ()
 Destructor.
void enable (bool enable)
 Enable/disable plot.
void set_logscale (bool enable)
 Set logarithmic scale.
virtual void plot (cairo_t *cairo, const Coordmapper *cm, const double range[4])
 Plot drawable with cairo.
virtual void get_bbox (double bbox[4])
 Get bounding box of drawable.

Detailed Description

Class for drawing fields with colormap.

Implementation of Graph3D.


Constructor & Destructor Documentation

FieldGraph::FieldGraph ( const ScalarField field  ) 

Constructor for plotting ScalarField.

FieldGraph::FieldGraph ( const Geometry geom,
const VectorField field,
field_type_e  field_type 
)

Constructor for plotting a VectorField field in geometry geom.

virtual FieldGraph::~FieldGraph (  )  [virtual]

Destructor.


Member Function Documentation

void FieldGraph::enable ( bool  enable  ) 

Enable/disable plot.

virtual void FieldGraph::get_bbox ( double  bbox[4]  )  [virtual]

Get bounding box of drawable.

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

Implements Graph3D.

virtual void FieldGraph::plot ( cairo_t *  cairo,
const Coordmapper cm,
const double  range[4] 
) [virtual]

Plot drawable with cairo.

Plot drawable using cairo and coordinate mapper cm. The visible range of plot is given in array range in order xmin, ymin, xmax, ymax.

Implements Graph3D.

void FieldGraph::set_logscale ( bool  enable  )  [inline]

Set logarithmic scale.


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.