WXP C++ Library Version 6.74.6
Loading...
Searching...
No Matches
RawPlot.h
1#ifndef _WINC_RAWPLOT
2#define _WINC_RAWPLOT
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/Listener.h>
11#include <WXP/Plot.h>
12#include <WXP/RawGrid.h>
13#include <WXP/Timezone.h>
14
15namespace WXP {
16 class RawPlot : public Drawing, public Listener {
17 Filename filename;
18 Domain gdomain;
19 RawGrid rgrid;
20 GridCont gplot;
21 DatumPlot dplot;
22 String variable;
23 Timezone tz;
24 char ptype[10];
25 int map;
26 int sync;
27 float min, max;
28
29 public:
30 RawPlot();
31 RawPlot( const char *param );
32 int init();
33 int setParam( const char *str );
34 int setPath( const char *path );
35 int setFile();
36 int setNameConv( const char *type );
37 int setHour( const char *str );
38 int setInput( const char *str );
39 int setFilename();
40 int setFilename( const char *file );
41 int setFilename( Date &date );
42 int setFilename( Date &date, const char *param );
43 inline int setForeTime( const char *fore ){ return 1; };
44 inline int setMap( bool val ){ map = val; return 1; };
45 int getDate( Date &date );
46 int getInitDate( Date &date );
47 int getDateOffset();
48 int getLoopType();
49 int getNumFrames();
50 int getDomain( Domain &domain );
51 inline int getSync(){ return sync; };
52 int setColor( const char *str );
53 int setVariable( const char *str );
54 int setPlotType( const char *type );
55 int setTimezone( const char *zone );
56 int draw( Plot &plot );
57 int draw( Plot &plot, const char *filename, const char *field, const char *param );
58 int draw( Plot &plot, const char *filename );
59 void callback( const char *ev_str, const char *ev_data, const void *data );
60 int print();
61 };
62}
63#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 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 fits raw data to a grid.
Definition: RawGrid.h:13
This class plots raw data from file.
Definition: RawPlot.h:16
int setFilename()
Definition: RawPlot.cc:148
void callback(const char *ev_str, const char *ev_data, const void *data)
Definition: RawPlot.cc:411
int getSync()
Definition: RawPlot.h:51
int setParam(const char *str)
Definition: RawPlot.cc:77
int setInput(const char *str)
Definition: RawPlot.cc:126
int getDate(Date &date)
Definition: RawPlot.cc:172
int getDateOffset()
Definition: RawPlot.cc:184
int setFile()
Definition: RawPlot.cc:109
int getDomain(Domain &domain)
Definition: RawPlot.cc:59
int getNumFrames()
Definition: RawPlot.cc:196
int getInitDate(Date &date)
Definition: RawPlot.cc:177
int print()
Definition: RawPlot.cc:414
int getLoopType()
Definition: RawPlot.cc:188
int init()
Definition: RawPlot.cc:38
int setForeTime(const char *fore)
Definition: RawPlot.h:43
int draw(Plot &plot)
Definition: RawPlot.cc:220
int setNameConv(const char *type)
Definition: RawPlot.cc:134
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