Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Teem::SVGPlotter Class Reference

#include <SVGPlotter.h>

List of all members.

Detailed Description

A plotter that can draw trajectories in SVG.

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 > > 
 Last point for each trajectory.

The documentation for this class was generated from the following files:
Generated on Mon Oct 24 17:38:29 2005 for Teem by  doxygen 1.4.2