WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
SatPlot.h
1#ifndef _WINC_SATPLOT
2#define _WINC_SATPLOT
3
4#include <WXP/Date.h>
5#include <WXP/Domain.h>
6#include <WXP/Drawing.h>
7#include <WXP/Filename.h>
8#include <WXP/Image.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 SatPlot : public Drawing, public Listener {
16 char label[20];
17 int type;
18 int over;
19 int fill;
20 int map;
21 int bar;
22 float zoom;
23 String color_table;
24 String color_fill;
25 String model_mask;
26 String calib;
27 int tran_sat;
28 int map_rem;
29 int remap_inc;
30 int pix_off;
31 int pix_ave;
32 char cutoff[20];
33 float min_lon, max_lon;
34 int datim;
35 int sync;
36 Timezone tz;
37 Filename filename;
38 String image_dom;
39 String output;
40 Image image;
41
42 public:
43 SatPlot();
44 SatPlot( const char *param );
45 int init();
46 int setParam( const char *str );
47 int setPath( const char *path );
48 int setFile( );
49 int setInput( const char *rtype );
50 int setOutput( const char *str );
51 int setNameConv( const char *name );
52 int setHour( const char *str );
53 int setTimezone( const char *str );
54 int setFilename( );
55 int setFilename( const char *file );
56 int setFilename( Date &date );
57 int setFilename( Date &date, const char *param );
58 inline int setForeTime( const char *fore ){ return 1; };
59 int getDate( Date &date );
60 int getNumFrames();
61 int getInitDate( Date &date );
62 int getDateOffset();
63 int getLoopType();
64 int getDomain( Domain &domain );
65 int setColorTable( const char *str );
66 int setColorFill( const char *str );
67 int setModelMask( const char *str );
68 int setCalibration( const char *str );
69 inline int setMap( bool val ){ map = val; return 1; };
70 inline int getSync(){ return sync; };
71 int maskModel( Image &image, Date &date );
72 int saveImage( Image &image );
73 int draw( Plot &plot, Image &bimage );
74 int draw( Plot &plot );
75 void callback( const char *ev_str, const char *ev_data, const void *data );
76 int print();
77 };
78}
79#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 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 plots satellite imagery.
Definition SatPlot.h:15
int setInput(const char *rtype)
Definition SatPlot.cc:241
int setColorFill(const char *str)
Definition SatPlot.cc:611
SatPlot()
Definition SatPlot.cc:64
int setForeTime(const char *fore)
Definition SatPlot.h:58
int setFilename()
Definition SatPlot.cc:276
void callback(const char *ev_str, const char *ev_data, const void *data)
Definition SatPlot.cc:616
int getInitDate(Date &date)
Definition SatPlot.cc:307
int getDomain(Domain &domain)
Definition SatPlot.cc:127
int setTimezone(const char *str)
Definition SatPlot.cc:318
int getSync()
Definition SatPlot.h:70
int getDateOffset()
Definition SatPlot.cc:323
int setParam(const char *str)
Definition SatPlot.cc:152
int setNameConv(const char *name)
Definition SatPlot.cc:258
int setColorTable(const char *str)
Definition SatPlot.cc:602
int setFile()
Definition SatPlot.cc:222
int getNumFrames()
Definition SatPlot.cc:335
int getLoopType()
Definition SatPlot.cc:327
int getDate(Date &date)
Definition SatPlot.cc:302
int init()
Definition SatPlot.cc:80
int print()
Definition SatPlot.cc:629
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