WXP C++ Library Version 6.74.6
Loading...
Searching...
No Matches
Lev2Plot.h
1#ifndef _WINC_LEV2PLOT
2#define _WINC_LEV2PLOT
3
4#include <WXP/Date.h>
5#include <WXP/Domain.h>
6#include <WXP/Drawing.h>
7#include <WXP/EarthPoint.h>
8#include <WXP/Filename.h>
9#include <WXP/Listener.h>
10#include <WXP/Plot.h>
11#include <WXP/String.h>
12#include <WXP/Timezone.h>
13
14namespace WXP {
15 class Lev2Plot : public Drawing, public Listener {
16 char id[5];
17 char datim[40];
18 char title[40];
19 char misc[40];
20 int file_type;
21 int plt_site;
22 int plt_graph;
23 float plt_dist[10];
24 float plt_azimuth;
25 String color_table;
26 String color_fill;
27 int range;
28 int clutter_rad;
29 int scan_num;
30 int scan_type;
31 bool map;
32 int sync;
33 Filename filename;
34 Timezone tz;
35
36 public:
37 Lev2Plot();
38 Lev2Plot( const char *str );
39 int init();
40 int setParam( const char *str );
41 int setFile();
42 int setInput( const char *type );
43 int setId( const char *str );
44 int setNameConv( const char *name );
45 int setHour( const char *str );
46 int setFilename();
47 int setFilename( const char *file );
48 int setFilename( Date &date );
49 int setFilename( Date &date, const char *param );
50 inline int setForeTime( const char *fore ){ return 1; };
51 int getDate( Date &date );
52 int getInitDate( Date &date );
53 int getDateOffset();
54 int getLoopType();
55 int getNumFrames();
56 int getDomain( EarthPoint ept, Domain &domain );
57 int getDomain( Domain &domain );
58 int setVariable( const char *variable );
59 int setColorTable( const char *str );
60 int setColorFill( const char *str );
61 inline int setMap( bool val ){ map = val; return 1; };
62 inline int getSync(){ return sync; };
63 int draw( Plot &plot );
64 void callback( const char *ev_str, const char *ev_data, const void *data );
65 int print();
66
67 enum Type { RAW, COMP };
68 };
69}
70#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 plots NIDS data.
Definition: Lev2Plot.h:15
int getLoopType()
Definition: Lev2Plot.cc:247
int draw(Plot &plot)
Definition: Lev2Plot.cc:354
int getInitDate(Date &date)
Definition: Lev2Plot.cc:236
int getDate(Date &date)
Definition: Lev2Plot.cc:231
int getDateOffset()
Definition: Lev2Plot.cc:243
int setInput(const char *type)
Definition: Lev2Plot.cc:161
int getNumFrames()
Definition: Lev2Plot.cc:255
int print()
Definition: Lev2Plot.cc:591
int setFile()
Definition: Lev2Plot.cc:141
int init()
Definition: Lev2Plot.cc:50
int setId(const char *str)
Definition: Lev2Plot.cc:326
int setNameConv(const char *name)
Definition: Lev2Plot.cc:175
void callback(const char *ev_str, const char *ev_data, const void *data)
Definition: Lev2Plot.cc:262
Lev2Plot()
Definition: Lev2Plot.cc:41
int setColorFill(const char *str)
Definition: Lev2Plot.cc:317
int setColorTable(const char *str)
Definition: Lev2Plot.cc:308
int setFilename()
Definition: Lev2Plot.cc:197
int setForeTime(const char *fore)
Definition: Lev2Plot.h:50
int getSync()
Definition: Lev2Plot.h:62
int setParam(const char *str)
Definition: Lev2Plot.cc:80
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
All WXP classes fall under the WXP namespace.
Definition: Angle.h:4
This struct defines earth point values (lat, lon, elev)
Definition: EarthPoint.h:5