WXP C++ Library Version 6.74.9
|
This class plots thermodynamic diagrams (no soundings) More...
#include "../include/ThermPlot.h"
Public Types | |
enum | Type { SKEWT , STUVE , EMA , TEPH , RTEPH , HODO } |
Public Member Functions | |
ThermPlot (const char *str) | |
int | init () |
int | setType (int rtype) |
int | setType (const char *str) |
int | getType () |
int | getDomain (Domain &domain) |
int | setParam (const char *str) |
int | setFile () |
int | setInput (const char *str) |
int | setNameConv (const char *name) |
int | setFilename () |
int | setFilename (const char *name) |
int | setFilename (Date &date) |
int | setFilename (Date &date, const char *param) |
int | setForeTime (const char *fore) |
int | getDate (Date &date) |
int | getInitDate (Date &date) |
int | getDateOffset () |
int | getLoopType () |
int | getNumFrames () |
int | getSync () |
int | setGridColor (const char *str) |
int | setLabelColor (const char *str) |
int | setVertAxis (float rmin, float rmax, float rinc) |
int | setHorAxis (float rmin, float rmax, float rinc) |
int | draw (Plot &plot) |
int | print () |
virtual int | init ()=0 |
virtual int | getDomain (Domain &domain)=0 |
virtual int | setFile ()=0 |
virtual int | setInput (const char *type)=0 |
virtual int | setNameConv (const char *name)=0 |
virtual int | setFilename ()=0 |
virtual int | setFilename (const char *file)=0 |
virtual int | setFilename (Date &date)=0 |
virtual int | setFilename (Date &date, const char *param)=0 |
virtual int | setForeTime (const char *fore)=0 |
virtual int | setParam (const char *str)=0 |
virtual int | getDate (Date &date)=0 |
virtual int | getLoopType ()=0 |
virtual int | getInitDate (Date &date)=0 |
virtual int | getDateOffset ()=0 |
virtual int | getNumFrames ()=0 |
virtual int | getSync ()=0 |
virtual int | draw (Plot &plot)=0 |
virtual int | print ()=0 |
Static Public Member Functions | |
static DomainVal | getDomain (int type) |
static int | getType (const char *str) |
Additional Inherited Members | |
Static Public Attributes inherited from WXP::Drawing | |
static const int | LOOP_NONE = 0 |
static const int | LOOP_DATE = 1 |
static const int | LOOP_FORE = 2 |
This class plots thermodynamic diagrams (no soundings)
|
virtual |
Method for plotting the actual data
plot | The plot class specifying window and parameters for plotting |
Implements WXP::Drawing.
References WXP::Plot::drawLine(), WXP::Plot::drawRect(), WXP::Plot::drawText(), WXP::String::get(), WXP::Strings::getFloat(), WXP::Strings::getNum(), WXP::Strings::getString(), WXP::Convert::KtoC(), WXP::EarthPoint::lat, WXP::EarthPoint::lon, WXP::EarthPoint::set(), WXP::Strings::set(), WXP::Plot::setLine(), WXP::Plot::setText(), WXP::Calc::tempOnDryAd(), WXP::Calc::tempOnMixRat(), WXP::Calc::tempOnSatAd(), WXP::Calc::thetaeOnSatAd(), WXP::Point::x, WXP::Rect::xmax, WXP::Rect::xmin, WXP::Point::y, WXP::Rect::ymax, and WXP::Rect::ymin.
|
virtual |
|
virtual |
Returns the date offset (unused)
Implements WXP::Drawing.
|
virtual |
A method for getting a default domain from the data. This is handy for data types that are for a specific domain like NIDS data.
domain | Default domain |
Implements WXP::Drawing.
References getDomain(), and WXP::Domain::set().
Referenced by WXP::SoundPlot::getDomain(), and getDomain().
|
virtual |
Gets the initial date (unused)
date | The date |
Implements WXP::Drawing.
References WXP::Date::init().
|
virtual |
|
virtual |
Gets the number of frames (unused)
Implements WXP::Drawing.
|
inlinevirtual |
Returns whether object is time sync (unused)
Implements WXP::Drawing.
|
virtual |
|
virtual |
Method for printing class info
Implements WXP::Drawing.
|
virtual |
Sets the file name (unused)
Implements WXP::Drawing.
|
virtual |
Sets the file name (unused)
Implements WXP::Drawing.
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Sets forecast time (ignored)
Implements WXP::Drawing.
|
virtual |
|
virtual |
|
virtual |
Sets specific parameters for the plot given a string
str | String specifying parameters |
Implements WXP::Drawing.
References WXP::Strings::equal(), WXP::Strings::getNum(), and WXP::Strings::getStringAfter().