WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
RcmPlot.h
1#ifndef _WINC_RCMPLOT
2#define _WINC_RCMPLOT
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/Grid.h>
10#include <WXP/GridPlot.h>
11#include <WXP/Image.h>
12#include <WXP/ImagePlot.h>
13#include <WXP/Lev2Plot.h>
14#include <WXP/Listener.h>
15#include <WXP/NidsPlot.h>
16#include <WXP/Plot.h>
17#include <WXP/RcmData.h>
18#include <WXP/RcmDomain.h>
19#include <WXP/String.h>
20#include <WXP/Timezone.h>
21#include <WXP/Unit.h>
22#include <WXP/VarList.h>
23
24namespace WXP {
25 class RcmPlot : public Drawing, public Listener {
26 Filename filename;
27 Date date;
28 int type;
29 int fill;
30 bool draw_plot;
31 bool draw_data;
32 String color_table;
33 String color_fill;
34 String color;
35 String variable;
36 char id[5];
37 RcmDomain rdom;
38 DatumPlot dplot;
39 GridCont gcont;
40 ImagePlot img;
41 int plt_site;
42 float plt_dist[5];
43 char cutoff[20];
44 int ramp_prec_cut;
45 int ramp_prec_len;
46 int ramp_clar_cut;
47 int ramp_clar_len;
48 int clutter;
49 int filter;
50 int min_hgt;
51 int num_plt;
52 int no_clair;
53 Timezone tz;
54 VarList vars;
55 Unit unit;
56 int num;
57 int sync;
58
59 public:
60 RcmPlot();
61 RcmPlot( const char *str );
62 int init();
63 int setParam( const char *str );
64 int setPath( const char *path );
65 int setFile();
66 int setInput( const char *rtype );
67 int getType( const char *rtype );
68 int setNameConv( const char *name );
69 int setHour( const char *str );
70 int setFilename();
71 int setFilename( const char *name );
72 int setFilename( Date &date );
73 int setFilename( Date &date, const char *param );
74 inline int setForeTime( const char *fore ){ return 1; };
75 int setColorTable( const char *str );
76 int setColor( const char *str );
77 int setColorFill( const char *str );
78 int setVariable( const char *str );
79 int setMap( bool val );
80 int setId( const char *str );
81 int getDate( Date &date );
82 int getInitDate( Date &date );
83 int getDateOffset();
84 int getLoopType();
85 int getNumFrames();
86 int getDomain( Domain &domain );
87 inline int getSync(){ return sync; };
88 int draw( Plot &plot, Grid &grid );
89 int draw( Plot &plot, Image &image );
90 int draw( Plot &plot );
91 const char *getUnits( const char *name );
92 int toImage( RcmData &rdata, Image &image );
93 int getData( RcmData &storm, VarSpec &spec, Datum &datum );
94 int drawData( Plot &plot, RcmData &rdata );
95 void callback( const char *ev_str, const char *ev_data, const void *data );
96 int print();
97
98 enum Type {
99 SITE,
100 MOS,
101 MOSG
102 };
103 };
104}
105#endif
This class stores date and time information.
Definition Date.h:8
This class plots point data.
Definition DatumPlot.h:13
This class stores raw point data.
Definition Datum.h:7
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 defines a grid.
Definition Grid.h:20
This class plot satellite imagery.
Definition ImagePlot.h:17
This class defines an image.
Definition Image.h:19
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 manages RCM (Radar Coded Messages) data.
Definition RcmData.h:8
This class does transforms on RCM data grid.
Definition RcmDomain.h:9
This class plots RCM data.
Definition RcmPlot.h:25
int getDomain(Domain &domain)
Definition RcmPlot.cc:104
int getType(const char *rtype)
Definition RcmPlot.cc:287
int setColor(const char *str)
Definition RcmPlot.cc:1032
int getSync()
Definition RcmPlot.h:87
int print()
Definition RcmPlot.cc:1058
int setNameConv(const char *name)
Definition RcmPlot.cc:305
int setForeTime(const char *fore)
Definition RcmPlot.h:74
int setFile()
Definition RcmPlot.cc:237
void callback(const char *ev_str, const char *ev_data, const void *data)
Definition RcmPlot.cc:1055
int getDate(Date &date)
Definition RcmPlot.cc:347
int getInitDate(Date &date)
Definition RcmPlot.cc:360
int setColorFill(const char *str)
Definition RcmPlot.cc:1041
int getDateOffset()
Definition RcmPlot.cc:374
int setFilename()
Definition RcmPlot.cc:323
int setColorTable(const char *str)
Definition RcmPlot.cc:1023
int init()
Definition RcmPlot.cc:57
int setParam(const char *str)
Definition RcmPlot.cc:129
int getLoopType()
Definition RcmPlot.cc:378
int setInput(const char *rtype)
Definition RcmPlot.cc:258
int getNumFrames()
Definition RcmPlot.cc:386
int setVariable(const char *str)
Definition RcmPlot.cc:1050
This is a variable length string class.
Definition String.h:5
This class manipulates timezones.
Definition Timezone.h:5
This class converts units.
Definition Unit.h:8
This class specifies a list of variables.
Definition VarList.h:11
This class specifies variable information.
Definition VarSpec.h:13
All WXP classes fall under the WXP namespace.
Definition Angle.h:4