WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
UpaPlot.h
1#ifndef _WINC_UPAPLOT
2#define _WINC_UPAPLOT
3
4#include <WXP/Date.h>
5#include <WXP/DatumPlot.h>
6#include <WXP/Domain.h>
7#include <WXP/Drawing.h>
8#include <WXP/Filename.h>
9#include <WXP/GridCont.h>
10#include <WXP/GridVect.h>
11#include <WXP/Listener.h>
12#include <WXP/Plot.h>
13#include <WXP/UpaGrid.h>
14
15namespace WXP {
16 class UpaPlot : public Drawing, public Listener {
17 Filename filename;
18 String param_str;
19 String variable;
20 String level;
21 char plot_type[10];
22 Timezone tz;
23 Domain gdomain;
24 UpaGrid upagrid;
25 DatumPlot dplot;
26 GridCont gplot;
27 GridVect vplot;
28 bool map;
29 int map_fill;
30 int sync;
31
32 public:
33 UpaPlot();
34 UpaPlot( const char *param );
35 int init();
36 int setParam( const char *str );
37 int setPath( const char *path );
38 int setFile( );
39 int setInput( const char *type );
40 int setNameConv( const char *name );
41 int setHour( const char *str );
42 int setFilename( );
43 int setFilename( const char *str );
44 int setFilename( Date &date );
45 int setFilename( Date &date, const char *param );
47 inline int setForeTime( const char *fore ){ return 1; };
48 int setColorTable( const char *str );
49 int setColor( const char *str );
50 int setVariable( const char *str );
51 int setLevel( const char *str );
52 int setPlotType( const char *str );
53 int setTimezone( const char *str );
54 int setGridDomain( const char *str );
56 inline int setMap( bool val ){ map = val; return 1; };
57 int getDate( Date &date );
58 int getInitDate( Date &date );
59 int getDateOffset();
60 int getLoopType();
61 int getNumFrames();
62 int getDomain( Domain &domain );
63 inline int getSync(){ return sync; };
64 int draw( Plot &plot );
65 void callback( const char *ev_str, const char *ev_data, const void *data );
66 int print();
67 };
68}
69#endif
This class stores date and time information.
Definition Date.h:8
This class plots point data.
Definition DatumPlot.h:13
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 class plots gridpoint data.
Definition GridCont.h:17
This class plots U and V gridpoint data.
Definition GridVect.h:17
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 manipulates timezones.
Definition Timezone.h:5
This class plots surface data.
Definition UpaGrid.h:12
This class plots upper air data.
Definition UpaPlot.h:16
int getLoopType()
Definition UpaPlot.cc:300
int init()
Definition UpaPlot.cc:76
int draw(Plot &plot)
Definition UpaPlot.cc:316
int setInput(const char *type)
Definition UpaPlot.cc:205
int setTimezone(const char *str)
Definition UpaPlot.cc:789
int setPath(const char *path)
Definition UpaPlot.cc:177
int setForeTime(const char *fore)
Definition UpaPlot.h:47
int setLevel(const char *str)
Definition UpaPlot.cc:771
int getSync()
Definition UpaPlot.h:63
int setColor(const char *str)
Definition UpaPlot.cc:753
int setHour(const char *str)
Definition UpaPlot.cc:226
UpaPlot()
Definition UpaPlot.cc:60
int setVariable(const char *str)
Definition UpaPlot.cc:762
int setNameConv(const char *name)
Definition UpaPlot.cc:213
int setMap(bool val)
Definition UpaPlot.h:56
int setParam(const char *str)
Definition UpaPlot.cc:133
void callback(const char *ev_str, const char *ev_data, const void *data)
Definition UpaPlot.cc:803
int setColorTable(const char *str)
Definition UpaPlot.cc:742
int setPlotType(const char *str)
Definition UpaPlot.cc:780
int setGridDomain(const char *str)
Definition UpaPlot.cc:798
int getDomain(Domain &domain)
Definition UpaPlot.cc:110
int setFile()
Definition UpaPlot.cc:184
int setFilename()
Definition UpaPlot.cc:234
int print()
Definition UpaPlot.cc:806
int getDate(Date &date)
Definition UpaPlot.cc:272
int getInitDate(Date &date)
Definition UpaPlot.cc:281
int getNumFrames()
Definition UpaPlot.cc:308
int getDateOffset()
Definition UpaPlot.cc:292
All WXP classes fall under the WXP namespace.
Definition Angle.h:4