WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
LightPlot.h
1#ifndef _WINC_LIGHTPLOT
2#define _WINC_LIGHTPLOT
3
4#include <WXP/Date.h>
5#include <WXP/Domain.h>
6#include <WXP/Drawing.h>
7#include <WXP/Filename.h>
8#include <WXP/Listener.h>
9#include <WXP/Plot.h>
10#include <WXP/Timezone.h>
11
12namespace WXP {
13 class LightPlot : public Drawing, public Listener {
14 int type;
15 Date vdate;
16 bool vdate_fix;
17 Timezone tz;
18 float scale;
19 int mark;
20 int length; // Number of minutes to plot all frames
21 int min; // Number of minutes to plot each frame
22 int var;
23 int bar;
24 bool map;
25 int sync;
26 Filename filename;
27 String color_table;
28 String color;
29 String color_fill;
30
31 public:
32 LightPlot();
33 LightPlot( const char *param);
34 int init();
35 int setParam( const char *str );
36 int setPath( const char *path );
37 int setFile();
38 int setInput( const char *str );
39 int setNameConv( const char *name );
40 int setHour( const char *str );
41 int setFilename();
42 int setFilename( const char *name );
43 int setFilename( Date &date );
44 int setFilename( Date &date, const char *param );
45 inline int setForeTime( const char *fore ){ return 1; };
46 int getDate( Date &date );
47 int getInitDate( Date &date );
48 int setValidDate( const char *str );
49 int setValidDate( Date &date );
50 int getDateOffset();
51 int getLoopType();
52 int getNumFrames();
53 int getDomain( Domain &domain );
54 inline int getSync(){ return sync; };
55 int setColorTable( const char *str );
56 int setColor( const char *str );
57 int setColorFill( const char *str );
58 int setScale( float val );
59 int setTimezone( const char *str );
61 inline int setMap( bool val ){ map = val; return 1; };
62 int draw( Plot &plot );
63 void callback( const char *ev_str, const char *ev_data, const void *data );
64 int print();
65 };
66}
67#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 lightning data.
Definition LightPlot.h:13
int print()
Definition LightPlot.cc:558
int draw(Plot &plot)
Definition LightPlot.cc:343
int setScale(float val)
Definition LightPlot.cc:307
int setHour(const char *str)
Definition LightPlot.cc:192
int getNumFrames()
Definition LightPlot.cc:269
LightPlot()
Definition LightPlot.cc:37
int setMap(bool val)
Definition LightPlot.h:61
int setValidDate(const char *str)
Definition LightPlot.cc:239
int setColorTable(const char *str)
Definition LightPlot.cc:279
int getDateOffset()
Definition LightPlot.cc:257
int setFilename()
Definition LightPlot.cc:197
int setColor(const char *str)
Definition LightPlot.cc:288
int setNameConv(const char *name)
Definition LightPlot.cc:174
int getLoopType()
Definition LightPlot.cc:261
int getDomain(Domain &domain)
Definition LightPlot.cc:334
int getInitDate(Date &date)
Definition LightPlot.cc:228
int setInput(const char *str)
Definition LightPlot.cc:160
int getDate(Date &date)
Definition LightPlot.cc:223
int setPath(const char *path)
Definition LightPlot.cc:169
int setFile()
Definition LightPlot.cc:141
int init()
Definition LightPlot.cc:53
void callback(const char *ev_str, const char *ev_data, const void *data)
Definition LightPlot.cc:327
int setTimezone(const char *str)
Definition LightPlot.cc:316
int getSync()
Definition LightPlot.h:54
int setParam(const char *str)
Definition LightPlot.cc:101
int setForeTime(const char *fore)
Definition LightPlot.h:45
int setColorFill(const char *str)
Definition LightPlot.cc:298
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