WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
ProfPlot.h
1#ifndef _WINC_PROFPLOT
2#define _WINC_PROFPLOT
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 ProfPlot : public Drawing, public Listener {
13 int type;
14 int refresh;
15 int sync;
16 Filename filename;
17
18 public:
19 ProfPlot();
20 int init();
21 int setParam( const char *str );
22 int setFile();
23 int setInput( const char *type );
24 int setNameConv( const char *name );
25 int setFilename();
26 int setFilename( const char *name );
27 int setFilename( Date &date );
28 int setFilename( Date &date, const char *param );
29 inline int setForeTime( const char *fore ){ return 1; };
30 int getDate( Date &date );
31 int getInitDate( Date &date );
32 int getDateOffset();
33 int getLoopType();
34 int getNumFrames();
35 int getDomain( Domain &domain );
37 inline int getSync(){ return sync; };
38 int draw( Plot &plot );
39 void callback( const char *ev_str, const char *ev_data, const void *data );
40 int print();
41
42 enum Type { SPATIAL, TIME };
43 };
44}
45#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 defines mid-level graphics commands. Calls the Graph object for actual graphics output.
Definition Plot.h:26
This class plots cross sections.
Definition ProfPlot.h:12
int setForeTime(const char *fore)
Definition ProfPlot.h:29
int getInitDate(Date &date)
Definition ProfPlot.cc:109
int init()
Definition ProfPlot.cc:46
int print()
Definition ProfPlot.cc:299
int setParam(const char *str)
Definition ProfPlot.cc:52
int getDate(Date &date)
Definition ProfPlot.cc:104
int getNumFrames()
Definition ProfPlot.cc:128
int getSync()
Definition ProfPlot.h:37
int setInput(const char *type)
Definition ProfPlot.cc:75
int draw(Plot &plot)
Definition ProfPlot.cc:140
int getLoopType()
Definition ProfPlot.cc:120
int setFile()
Definition ProfPlot.cc:64
int setFilename()
Definition ProfPlot.cc:84
void callback(const char *ev_str, const char *ev_data, const void *data)
Definition ProfPlot.cc:132
int setNameConv(const char *name)
Definition ProfPlot.cc:79
int getDateOffset()
Definition ProfPlot.cc:116
int getDomain(Domain &domain)
Definition ProfPlot.cc:135
All WXP classes fall under the WXP namespace.
Definition Angle.h:4