43 #ifndef FIELDGRAPH_HPP
44 #define FIELDGRAPH_HPP 1
75 void build_scalarfield_plot(
void );
76 void build_vectorfield_plot(
void );
117 virtual void plot( cairo_t *cairo,
const Coordmapper *cm,
const double range[4] );
123 virtual void plot_sample( cairo_t *cairo,
double x,
double y,
double width,
double height );
130 virtual void get_bbox(
double bbox[4] );
Abstract base class for vector field.
Definition: vectorfield.hpp:53
void set_stepped_palette(int steps)
Set logarithmic scale.
view_e
View types.
Definition: graph3d.hpp:53
Class for drawing fields with colormap.
Definition: fieldgraph.hpp:60
Geometry defining class.
Definition: geometry.hpp:131
Class for colormap type plots.
Definition: colormap.hpp:74
Linear-linear 2D coordinate mapper.
Definition: coordmapper.hpp:119
virtual void plot(cairo_t *cairo, const Coordmapper *cm, const double range[4])
Plot graph with cairo.
Abstract base class for geometry slice plots.
Definition: graph3d.hpp:78
FieldGraph(const ScalarField *field)
Constructor for plotting ScalarField.
field_type_e
Field type.
Definition: types.hpp:88
void enable(bool enable)
Enable/disable plot.
virtual void plot_sample(cairo_t *cairo, double x, double y, double width, double height)
Plot sample for legend.
Colormap graph for plotting
Base for three dimensional plottable graphs.
virtual void get_bbox(double bbox[4])
Get bounding box of drawable.
virtual ~FieldGraph()
Destructor.
Scalar field class.
Definition: scalarfield.hpp:70