#include <SVGPlotter.h>
Public Member Functions | |
| SVGPlotter (const std::string &filename, double width, double height) | |
| Create the plotter. Plot to file. | |
| virtual | ~SVGPlotter () |
| Destructor, close file. | |
| size_t | createTrajectory (double x, double y) |
| Create a trajectory starting from point (x,y). Returns the trajectory id. | |
| void | drawLine (size_t trajectory, double x, double y, double r, double g, double b) |
| Draw a new line for a given trajectory. | |
Protected Attributes | |
| std::ofstream | outputFile |
| File on which to export the SVG. | |
|
std::vector< std::pair< double, double > > | trajectories |
| Last point for each trajectory. | |
1.4.2