WXP C++ Library Version 6.74.6
Loading...
Searching...
No Matches
MapPlot.h
1#ifndef _WINC_MAPPLOT
2#define _WINC_MAPPLOT
3
4#include <WXP/Date.h>
5#include <WXP/Drawing.h>
6#include <WXP/Plot.h>
7#include <WXP/Points.h>
8#include <WXP/String.h>
9
10namespace WXP {
11 class MapPlot : public Drawing {
12 int def;
13 int type;
14 int in_region;
15 int fill_cont;
16 int fill;
17 int fline;
18 int map_in;
19 int index;
20 float la, lo;
21 String color_table;
22 String color;
23 String color_latlon;
24 String color_line;
25 String filenames;
26
27 int process( Plot &plot, const char *str, int flag );
28 public:
29 MapPlot();
30 MapPlot( const char *param );
31 ~MapPlot();
32 int init();
33 int getDomain (Domain &domain);
34 int setMapFiles( const char *str );
35 int setFile();
36 int setInput( const char *str );
37 int setNameConv( const char *name );
38 int setFilename();
39 int setFilename( const char *name );
40 int setFilename( Date &date );
41 int setFilename( Date &date, const char *param );
43 inline int setForeTime( const char *fore ){ return 1; };
44 int getDate( Date &date );
45 int getInitDate( Date &date );
46 int getDateOffset();
47 int getLoopType();
48 int getNumFrames();
50 inline int setFillCont( bool v ){ fill_cont = v; return 1; };
51 int setColorTable( const char *str );
52 int setColor( const char *name );
53 int setColorLatLon( const char *name );
54 int setColorLine( const char *str );
55 int setParam( const char *str );
57 inline int getSync(){ return 0; };
58 int drawSegment( Plot &plot, Points &pts );
59 int draw( Plot &plot, const char *file );
60 int drawLatLon( Plot &plot, float dlat, float dlon );
61 int draw( Plot &plot );
62 int print();
63
64 static const int UNDER = 1;
65 static const int OVER = 2;
66 };
67}
68#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 plots a set of maps.
Definition: MapPlot.h:11
MapPlot()
Definition: MapPlot.cc:40
int setFilename()
Definition: MapPlot.cc:198
int getInitDate(Date &date)
Definition: MapPlot.cc:247
int setFile()
Definition: MapPlot.cc:179
int print()
Definition: MapPlot.cc:1118
int getLoopType()
Definition: MapPlot.cc:262
int getNumFrames()
Definition: MapPlot.cc:239
int setFillCont(bool v)
Definition: MapPlot.h:50
int setColorLine(const char *str)
Definition: MapPlot.cc:288
int drawSegment(Plot &plot, Points &pts)
Definition: MapPlot.cc:307
int setColorTable(const char *str)
Definition: MapPlot.cc:270
int setNameConv(const char *name)
Definition: MapPlot.cc:191
int setColorLatLon(const char *name)
Definition: MapPlot.cc:297
int setParam(const char *str)
Definition: MapPlot.cc:116
int draw(Plot &plot, const char *file)
Definition: MapPlot.cc:325
int init()
Definition: MapPlot.cc:63
int setForeTime(const char *fore)
Definition: MapPlot.h:43
int getDate(Date &date)
Definition: MapPlot.cc:232
int setMapFiles(const char *str)
Definition: MapPlot.cc:171
~MapPlot()
Definition: MapPlot.cc:56
int getDomain(Domain &domain)
Definition: MapPlot.cc:93
int setInput(const char *str)
Definition: MapPlot.cc:183
int getDateOffset()
Definition: MapPlot.cc:255
int getSync()
Definition: MapPlot.h:57
int drawLatLon(Plot &plot, float dlat, float dlon)
Definition: MapPlot.cc:940
int setColor(const char *name)
Definition: MapPlot.cc:279
This class defines mid-level graphics commands. Calls the Graph object for actual graphics output.
Definition: Plot.h:26
This class creates an array a 2D points (x, y)
Definition: Points.h:8
This is a variable length string class.
Definition: String.h:5
All WXP classes fall under the WXP namespace.
Definition: Angle.h:4