Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

GraphBasics2mtv Class Reference

exports the GraphBasics format to Plotmtv format. More...

#include <GraphBasics2mtv.h>

Inheritance diagram for GraphBasics2mtv::

GraphBasicsExport List of all members.

Public Methods

 GraphBasics2mtv ()
virtual ~GraphBasics2mtv ()
virtual void usage ()
virtual void processFormatSpecificOptions (VecSimple(String) &arguments, GBPlotSpecifications &plotspec)
virtual bool conversionSupported (GBPlotSpecifications &plotspec)
virtual void gbHeader (GBPlotSpecifications &plotspec)
virtual void gbFooter (GBPlotSpecifications &plotspec)
virtual void gbLine (GBPlotSpecifications &plotspec, VecSimple(Ptv(real)) &points)
virtual void gbPoint (GBPlotSpecifications &plotspec, VecSimple(Ptv(real)) &points)
virtual void gbPolygon (GBPlotSpecifications &plotspec, VecSimple(Ptv(real)) &points)
virtual void gbArrow (GBPlotSpecifications &plotspec, VecSimple(Ptv(real)) &points)
virtual void gbText (GBPlotSpecifications &plotspec, String &text, VecSimple(Ptv(real)) &points)

Public Attributes

int current_color
String current_plot_type
String options

Detailed Description

exports the GraphBasics format to Plotmtv format.

NAME: GraphBasics2mtv - exports the GraphBasics format to Plotmtv format

DESCRIPTION:

This class implements an export filter from the device independent "GraphBasics" format to the format used by the visualization program Plotmtv (public domain software for Unix/X11 environments). The class adheres to the common interface posed by the parent class "GraphBasicsExport" and also relies on functionality therein for the communication with "GraphBasics" data files.


Constructor & Destructor Documentation

GraphBasics2mtv::GraphBasics2mtv ( )
 

There is only one, default constructor in this class. Using the entry point "driver" implemented in the base class "GraphBasicsExport", the proper initialization will be done automatically.

GraphBasics2mtv::~GraphBasics2mtv ( ) [inline, virtual]
 


Member Function Documentation

bool GraphBasics2mtv::conversionSupported ( GBPlotSpecifications & plotspec ) [virtual]
 

checks the "GBPlotSpecifications" object to ensure that the chosen visualization format covers the type of data that we are dealing with. If it is accepted the function returns true, otherwise false. This is a pure virtual function that needs to be tailored for each format in question.

Reimplemented from GraphBasicsExport.

void GraphBasics2mtv::gbArrow ( GBPlotSpecifications & plotspec,
VecSimple(Ptv(real)) & points ) [virtual]
 

writes commands to standard output for drawing an arrow using the points in the array "points", which is a collection of "Ptv(real)" objects. This is a pure virtual function that needs to be tailored for each format in question.

Reimplemented from GraphBasicsExport.

void GraphBasics2mtv::gbFooter ( GBPlotSpecifications & plotspec ) [virtual]
 

writes the file header for the chosen export format to standard output. This is a pure virtual function that needs to be tailored for each format in question.

Reimplemented from GraphBasicsExport.

void GraphBasics2mtv::gbHeader ( GBPlotSpecifications & plotspec ) [virtual]
 

writes the file header for the chosen export format to standard output. This is a pure virtual function that needs to be tailored for each format in question.

Reimplemented from GraphBasicsExport.

void GraphBasics2mtv::gbLine ( GBPlotSpecifications & plotspec,
VecSimple(Ptv(real)) & points ) [virtual]
 

writes commands to standard output for drawing lines between the points in the array "points". This is a pure virtual function that needs to be tailored for each format in question.

Reimplemented from GraphBasicsExport.

void GraphBasics2mtv::gbPoint ( GBPlotSpecifications & plotspec,
VecSimple(Ptv(real)) & points ) [virtual]
 

writes commands to standard output for marking the points in the array "points". This is a pure virtual function that needs to be tailored for each format in question.

Reimplemented from GraphBasicsExport.

void GraphBasics2mtv::gbPolygon ( GBPlotSpecifications & plotspec,
VecSimple(Ptv(real)) & points ) [virtual]
 

writes commands to standard output for drawing a polygon between the points in the array "points", which is a collection of "Ptv(real)" objects. This is a pure virtual function that needs to be tailored for each format in question.

Reimplemented from GraphBasicsExport.

void GraphBasics2mtv::gbText ( GBPlotSpecifications & plotspec,
String & text,
VecSimple(Ptv(real)) & points ) [virtual]
 

writes the specified text at the position given by "points". This is a pure virtual function that needs to be tailored for each format in question.

Reimplemented from GraphBasicsExport.

void GraphBasics2mtv::processFormatSpecificOptions ( VecSimple(String) & arguments,
GBPlotSpecifications & plotspec ) [virtual]
 

processes options delivered in the input array "arguments" (in command line fashion) that are specific to a particular visualization format. This is a pure virtual function that needs to be tailored for each format in question.

Reimplemented from GraphBasicsExport.

void GraphBasics2mtv::usage ( ) [virtual]
 

prints the usage message telling the user how the filter should be used (when run in command-line mode).

Reimplemented from GraphBasicsExport.


Member Data Documentation

int GraphBasics2mtv::current_color
 

String GraphBasics2mtv::current_plot_type
 

String GraphBasics2mtv::options
 


The documentation for this class was generated from the following file:
Copyright © 2003 inuTech GmbH. All rights reserved.