WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
RadPlot.h
1#ifndef _WINC_RADPLOT
2#define _WINC_RADPLOT
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/Image.h>
11#include <WXP/ImagePlot.h>
12#include <WXP/Lev2Plot.h>
13#include <WXP/Listener.h>
14#include <WXP/MdrPlot.h>
15#include <WXP/NidsPlot.h>
16#include <WXP/RcmPlot.h>
17#include <WXP/Plot.h>
18#include <WXP/String.h>
19#include <WXP/Timezone.h>
20
21namespace WXP {
22 class RadPlot : public Drawing, public Listener {
23 int type;
24 char subtype[15];
25 Filename filename;
26 String color_table;
27 String color_fill;
28 ImagePlot img;
29 NidsPlot nids;
30 Lev2Plot lev2;
31 MdrPlot mdr;
32 RcmPlot rcm;
33 int sync;
34
35 public:
36 RadPlot();
37 RadPlot( const char *str );
38 int init();
39 int setParam( const char *str );
40 int setPath( const char *path );
41 int setFile();
42 int setInput( const char *rtype );
43 int getType( const char *rtype );
44 int setSubType( const char *str );
45 int setNameConv( const char *name );
46 int setHour( const char *str );
47 int setFilename();
48 int setFilename( const char *name );
49 int setFilename( Date &date );
50 int setFilename( Date &date, const char *param );
51 inline int setForeTime( const char *fore ){ return 1; };
52 int setColorTable( const char *str );
53 int setColor( const char *str );
54 int setColorFill( const char *str );
55 int setVariable( const char *str );
56 int setMap( bool val );
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, Image &image );
65 int draw( Plot &plot );
66 void callback( const char *ev_str, const char *ev_data, const void *data );
67 int print();
68
69 enum Type {
70 UNK,
71 MDR,
72 MDRSITE,
73 RCM,
74 RCMSITE,
75 IMG,
76 NIDS,
77 LEV2,
78 NOWRAD,
79 KAVRAD,
80 GRIB,
81 GINIP
82 };
83 };
84}
85#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 class plot satellite imagery.
Definition ImagePlot.h:17
This class defines an image.
Definition Image.h:19
This class plots NIDS data.
Definition Lev2Plot.h:15
This virtual class defines the callback method for use with plotting.
Definition Listener.h:11
This class plots MDR radar data.
Definition MdrPlot.h:24
This class plots NIDS data.
Definition NidsPlot.h:21
This class defines mid-level graphics commands. Calls the Graph object for actual graphics output.
Definition Plot.h:26
This class plots surface data.
Definition RadPlot.h:22
int getType(const char *rtype)
Definition RadPlot.cc:226
int getInitDate(Date &date)
Definition RadPlot.cc:371
int print()
Definition RadPlot.cc:570
int setParam(const char *str)
Definition RadPlot.cc:96
int getDomain(Domain &domain)
Definition RadPlot.cc:82
void callback(const char *ev_str, const char *ev_data, const void *data)
Definition RadPlot.cc:567
int setFilename()
Definition RadPlot.cc:297
int setColorFill(const char *str)
Definition RadPlot.cc:546
int getDateOffset()
Definition RadPlot.cc:387
int getLoopType()
Definition RadPlot.cc:399
int setColor(const char *str)
Definition RadPlot.cc:535
int getDate(Date &date)
Definition RadPlot.cc:357
int getNumFrames()
Definition RadPlot.cc:407
int setVariable(const char *str)
Definition RadPlot.cc:560
int setColorTable(const char *str)
Definition RadPlot.cc:521
int init()
Definition RadPlot.cc:62
int setSubType(const char *str)
Definition RadPlot.cc:132
int setNameConv(const char *name)
Definition RadPlot.cc:260
int setInput(const char *rtype)
Definition RadPlot.cc:162
int setFile()
Definition RadPlot.cc:141
int getSync()
Definition RadPlot.h:63
int setForeTime(const char *fore)
Definition RadPlot.h:51
This class plots RCM data.
Definition RcmPlot.h:25
This is a variable length string class.
Definition String.h:5
All WXP classes fall under the WXP namespace.
Definition Angle.h:4