WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
CityPlot.h
1#ifndef _WINC_CITYPLOT
2#define _WINC_CITYPLOT
3
4#include <WXP/Date.h>
5#include <WXP/Domain.h>
6#include <WXP/Drawing.h>
7#include <WXP/Listener.h>
8#include <WXP/Plot.h>
9#include <WXP/String.h>
10
11namespace WXP {
12 class CityPlot : public Drawing, public Listener {
13 int marker;
14 int fill;
15 int output;
16 int nzero;
17 int sync;
18 String filename;
19
20 public:
21 CityPlot();
22 int init();
23 int setParam( const char *str );
24
25 int setFile();
26 int setInput( const char *type );
27 int setNameConv( const char *name );
28 int setFilename();
29 int setFilename( const char *file );
30 int setFilename( Date &date );
31 int setFilename( Date &date, const char *param );
33 inline int setForeTime( const char *fore ){ return 1; };
34 int getDate( Date &date );
35 int getDomain( Domain &domain );
36 int getInitDate( Date &date );
37 int getDateOffset();
38 int getLoopType();
39 int getNumFrames();
40 inline int getSync(){ return sync; };
41 int draw( Plot &plot );
42 void callback( const char *ev_str, const char *ev_data, const void *data );
43 int print();
44 };
45}
46
47#endif
This class plots city database data on a map.
Definition CityPlot.h:12
int setParam(const char *str)
Definition CityPlot.cc:56
int setInput(const char *type)
Definition CityPlot.cc:90
int setFilename()
Definition CityPlot.cc:101
int getDomain(Domain &domain)
Definition CityPlot.cc:143
int setNameConv(const char *name)
Definition CityPlot.cc:94
int init()
Definition CityPlot.cc:42
int draw(Plot &plot)
Definition CityPlot.cc:178
int getLoopType()
Definition CityPlot.cc:156
int getDate(Date &date)
Definition CityPlot.cc:134
int print()
Definition CityPlot.cc:279
int getInitDate(Date &date)
Definition CityPlot.cc:147
CityPlot()
Definition CityPlot.cc:35
int setForeTime(const char *fore)
Definition CityPlot.h:33
int getDateOffset()
Definition CityPlot.cc:152
int getSync()
Definition CityPlot.h:40
int setFile()
Definition CityPlot.cc:86
void callback(const char *ev_str, const char *ev_data, const void *data)
Definition CityPlot.cc:171
int getNumFrames()
Definition CityPlot.cc:164
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 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
All WXP classes fall under the WXP namespace.
Definition Angle.h:4