WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
ThermDiag.h
1#ifndef _WINC_THERMDIAG
2#define _WINC_THERMDIAG
3
4#include <WXP/DomainVal.h>
5#include <WXP/Plot.h>
6#include <WXP/Rect.h>
7#include <WXP/String.h>
8
9namespace WXP {
10 class ThermDiag {
11 int type;
12 String mixrat;
13 Rect view;
14 float tmin, tmax, tinc;
15 float pmin, pmax, pinc;
16
17 public:
18 ThermDiag();
19 int init();
20 int setType( int rtype );
21 int getType();
22 int setView( Rect view );
23 int setVertAxis( float rmin, float rmax, float rinc );
24 int setHorAxis( float rmin, float rmax, float rinc );
25 float pcoord( float p );
26 float getX( float x );
27 float getX( int ind );
28 float getY( float y );
29
30 enum Type { SKEWT, STUVE, EMA, TEPH, RTEPH, HODO };
31
32 int draw( Plot &plot );
33
34 static DomainVal getDomain( int type );
35 };
36}
37#endif
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 ThermDiag.h:10
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines basic domain parameters.
Definition DomainVal.h:5
This structure defines rectangle coordinates.
Definition Rect.h:5