WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
ThermPlot.h
1#ifndef _WINC_THERMPLOT
2#define _WINC_THERMPLOT
3
4#include <WXP/DomainVal.h>
5#include <WXP/Drawing.h>
6#include <WXP/Listener.h>
7#include <WXP/Plot.h>
8#include <WXP/Rect.h>
9#include <WXP/String.h>
10
11namespace WXP {
12 class ThermPlot : public Drawing {
13 int type;
14 String color_grid;
15 String color_label;
16 String mixrat;
17 float tmin, tmax, tinc;
18 float pmin, pmax, pinc;
19
20 public:
21 ThermPlot();
22 ThermPlot( const char *str );
23 int init();
24 int setType( int rtype );
25 int setType( const char *str );
26 int getType();
27 int getDomain( Domain &domain );
28 int setParam( const char *str );
29 int setFile();
30 int setInput( const char *str );
31 int setNameConv( const char *name );
32 int setFilename();
33 int setFilename( const char *name );
34 int setFilename( Date &date );
35 int setFilename( Date &date, const char *param );
37 inline int setForeTime( const char *fore ){ return 1; };
38 int getDate( Date &date );
39 int getInitDate( Date &date );
40 int getDateOffset();
41 int getLoopType();
42 int getNumFrames();
44 inline int getSync(){ return 0; };
45
46 int setGridColor( const char *str );
47 int setLabelColor( const char *str );
48 int setVertAxis( float rmin, float rmax, float rinc );
49 int setHorAxis( float rmin, float rmax, float rinc );
50
51 int draw( Plot &plot );
52 int print();
53
54 static DomainVal getDomain( int type );
55 static int getType( const char *str );
56
57 enum Type { SKEWT, STUVE, EMA, TEPH, RTEPH, HODO };
58 };
59}
60#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 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 plots thermodynamic diagrams (no soundings)
Definition ThermPlot.h:12
int getDateOffset()
Definition ThermPlot.cc:164
int setFile()
Definition ThermPlot.cc:89
int setForeTime(const char *fore)
Definition ThermPlot.h:37
int getInitDate(Date &date)
Definition ThermPlot.cc:156
int print()
Definition ThermPlot.cc:411
int setNameConv(const char *name)
Definition ThermPlot.cc:101
int init()
Definition ThermPlot.cc:36
int getSync()
Definition ThermPlot.h:44
int getNumFrames()
Definition ThermPlot.cc:148
int setInput(const char *str)
Definition ThermPlot.cc:93
int draw(Plot &plot)
Definition ThermPlot.cc:199
int getLoopType()
Definition ThermPlot.cc:171
int setParam(const char *str)
Definition ThermPlot.cc:54
int setFilename()
Definition ThermPlot.cc:108
int getDomain(Domain &domain)
Definition ThermPlot.cc:79
int getDate(Date &date)
Definition ThermPlot.cc:141
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines basic domain parameters.
Definition DomainVal.h:5