WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
MetaPlot.h
1#ifndef _WINC_METAPLOT
2#define _WINC_METAPLOT
3
4#include <WXP/Date.h>
5#include <WXP/Domain.h>
6#include <WXP/Drawing.h>
7#include <WXP/Filename.h>
8#include <WXP/Listener.h>
9#include <WXP/Plot.h>
10
11namespace WXP {
12 class MetaPlot : public Drawing, public Listener {
13 Filename filename;
14 int sync;
15
16 public:
17 MetaPlot();
18 MetaPlot( const char *str );
19 int init();
20 int setParam( const char *str );
21 int setFile();
22 int setInput( const char *str );
23 int setNameConv( const char *name );
24 int setFilename();
25 int setFilename( const char *str );
26 int setFilename( Date &date );
27 int setFilename( Date &date, const char *param );
28 inline int setForeTime( const char *fore ){ return 1; };
29 int getDate( Date &date );
30 int setPlot( Plot &plot );
31 int getDomain( Domain &domain );
32 int getInitDate( Date &date );
33 int getDateOffset();
34 int getLoopType();
35 int getNumFrames();
36 inline int getSync(){ return sync; };
37 int draw( Plot &plot );
38 int draw( Plot &plot, const char *filename );
39 void callback( const char *ev_str, const char *ev_data, const void *data );
40 int print();
41 };
42}
43#endif
This class stores date and time information.
Definition Date.h:8
This class stores and manipulates domain data.
Definition Domain.h:19
This is a virtual class defining drawing routines.
Definition Drawing.h:16
This class creates filenames.
Definition Filename.h:11
This virtual class defines the callback method for use with plotting.
Definition Listener.h:11
This class plots graphics metafiles.
Definition MetaPlot.h:12
int getSync()
Definition MetaPlot.h:36
int init()
Definition MetaPlot.cc:32
int getInitDate(Date &date)
Definition MetaPlot.cc:113
int setForeTime(const char *fore)
Definition MetaPlot.h:28
int setInput(const char *str)
Definition MetaPlot.cc:64
int getLoopType()
Definition MetaPlot.cc:124
int print()
Definition MetaPlot.cc:262
int getDate(Date &date)
Definition MetaPlot.cc:98
int setParam(const char *str)
Definition MetaPlot.cc:37
int setNameConv(const char *name)
Definition MetaPlot.cc:72
int setFilename()
Definition MetaPlot.cc:77
int getDomain(Domain &domain)
Definition MetaPlot.cc:106
int draw(Plot &plot)
Definition MetaPlot.cc:136
void callback(const char *ev_str, const char *ev_data, const void *data)
Definition MetaPlot.cc:103
int setFile()
Definition MetaPlot.cc:50
int getDateOffset()
Definition MetaPlot.cc:120
int getNumFrames()
Definition MetaPlot.cc:132
This class defines mid-level graphics commands. Calls the Graph object for actual graphics output.
Definition Plot.h:26
All WXP classes fall under the WXP namespace.
Definition Angle.h:4