WXP C++ Library Version 6.74.9
|
This class plots cross section grid. More...
#include "../include/XSectionPlot.h"
Public Member Functions | |
XSectionPlot (const char *str) | |
int | init () |
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 | setVertAxis (float rmin, float rmax, float rinc) |
int | setHorAxis (float rmin, float rmax) |
int | setLabels (Strings &labs) |
int | setHorDist (int i, float val) |
float | pcoord (float p) |
float | getX (float x) |
float | getX (int ind) |
float | getY (float y) |
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 |
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 cross section grid.
|
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::Strings::getNum(), WXP::Strings::getString(), WXP::Plot::setLine(), WXP::Plot::setText(), WXP::Point::x, WXP::Rect::xmax, WXP::Rect::xmin, WXP::Point::y, WXP::Rect::ymax, and WXP::Rect::ymin.
Referenced by WXP::ProfPlot::draw(), WXP::UpaXSectCont::draw(), and WXP::UpaXSectPlot::draw().
|
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 WXP::DomainVal::clat, WXP::DomainVal::clon, WXP::DomainVal::dx, WXP::DomainVal::dy, WXP::DomainVal::nx, WXP::DomainVal::ny, WXP::Domain::print(), WXP::DomainVal::proj, WXP::Domain::set(), and WXP::Domain::XLOGP.
|
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::getNum().