WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
UpaXSectPlot.h
1#ifndef _WINC_UPAXSECTPLOT
2#define _WINC_UPAXSECTPLOT
3
4#include <WXP/ContPlot.h>
5#include <WXP/Date.h>
6#include <WXP/Domain.h>
7#include <WXP/Drawing.h>
8#include <WXP/Filename.h>
9#include <WXP/Listener.h>
10#include <WXP/Plot.h>
11
12namespace WXP {
13 class UpaXSectPlot : public Drawing, public Listener {
14 int type;
15 int refresh;
16 int sync;
17 Filename filename;
18 char plot_type[10];
19 String variable;
20 ContPlot cplot;
21
22 public:
24 int init();
25 int setParam( const char *str );
26 int setFile();
27 int setInput( const char *type );
28 int setNameConv( const char *name );
29 int setFilename();
30 int setFilename( const char *name );
31 int setFilename( Date &date );
32 int setFilename( Date &date, const char *param );
33 inline int setForeTime( const char *fore ){ return 1; };
34 int getDate( Date &date );
35 int getInitDate( Date &date );
36 int getDateOffset();
37 int getLoopType();
38 int getNumFrames();
39 int getDomain( Domain &domain );
40 int setVariable( const char *str );
41 int setPlotType( const char *str );
43 inline int getSync(){ return sync; };
44 int draw( Plot &plot );
45 void callback( const char *ev_str, const char *ev_data, const void *data );
46 int print();
47
48 enum Type { SPATIAL, TIME };
49 };
50}
51#endif
This class contours a grid.
Definition ContPlot.h:15
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 is a variable length string class.
Definition String.h:5
This class plots cross sections.
Definition UpaXSectPlot.h:13
void callback(const char *ev_str, const char *ev_data, const void *data)
Definition UpaXSectPlot.cc:141
int getInitDate(Date &date)
Definition UpaXSectPlot.cc:118
int getNumFrames()
Definition UpaXSectPlot.cc:137
int setFilename()
Definition UpaXSectPlot.cc:93
int getSync()
Definition UpaXSectPlot.h:43
int init()
Definition UpaXSectPlot.cc:48
int getDate(Date &date)
Definition UpaXSectPlot.cc:113
int getLoopType()
Definition UpaXSectPlot.cc:129
int setForeTime(const char *fore)
Definition UpaXSectPlot.h:33
int setInput(const char *type)
Definition UpaXSectPlot.cc:84
int setParam(const char *str)
Definition UpaXSectPlot.cc:61
int setNameConv(const char *name)
Definition UpaXSectPlot.cc:88
int getDateOffset()
Definition UpaXSectPlot.cc:125
int print()
Definition UpaXSectPlot.cc:370
int draw(Plot &plot)
Definition UpaXSectPlot.cc:159
int setFile()
Definition UpaXSectPlot.cc:73
int getDomain(Domain &domain)
Definition UpaXSectPlot.cc:144
All WXP classes fall under the WXP namespace.
Definition Angle.h:4