WXP C++ Library Version 6.74.9
|
This is a virtual class defining drawing routines. More...
#include "../include/Drawing.h"
Public Member Functions | |
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 Attributes | |
static const int | LOOP_NONE = 0 |
static const int | LOOP_DATE = 1 |
static const int | LOOP_FORE = 2 |
This is a virtual class defining drawing routines.
|
pure virtual |
Method for plotting the actual data
plot | The plot class specifying window and parameters for plotting |
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::HurPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, WXP::WarnPlot, WXP::WatchPlot, and WXP::XSectionPlot.
|
pure virtual |
Gets the current date of the data in the file
date | Date information |
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::HurPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, WXP::WarnPlot, WXP::WatchPlot, and WXP::XSectionPlot.
Referenced by WXP::Figure::callback().
|
pure virtual |
Gets the offset time between frames in loop
date | Date information |
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::HurPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, WXP::WarnPlot, WXP::WatchPlot, and WXP::XSectionPlot.
Referenced by WXP::Figure::endPlot().
|
pure 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 |
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::HurPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RawPlot, WXP::RcmPlot, WXP::SatPlot, WXP::SfcPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, WXP::WarnPlot, WXP::WatchPlot, WXP::XSectionPlot, and WXP::RedbookPlot.
|
pure virtual |
Gets the initial date for a loop
date | Date information |
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::HurPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, WXP::WarnPlot, WXP::WatchPlot, and WXP::XSectionPlot.
Referenced by WXP::Figure::endPlot().
|
pure virtual |
Gets the available loop types
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::HurPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, WXP::WarnPlot, WXP::WatchPlot, and WXP::XSectionPlot.
Referenced by WXP::Figure::callback(), and WXP::Figure::endPlot().
|
pure virtual |
Gets the possible number of frames in a loop
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::HurPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, WXP::WarnPlot, WXP::WatchPlot, and WXP::XSectionPlot.
Referenced by WXP::Figure::endPlot().
|
pure virtual |
Tells whether an object should be used to sync other to it
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::HurPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectPlot, WXP::WarnPlot, WXP::WatchPlot, and WXP::XSectionPlot.
Referenced by WXP::Figure::endPlot().
|
pure virtual |
Initializes object
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::HurPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectPlot, WXP::WarnPlot, WXP::WatchPlot, and WXP::XSectionPlot.
|
pure virtual |
Method for printing class info
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::HurPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, WXP::WarnPlot, WXP::WatchPlot, and WXP::XSectionPlot.
Referenced by WXP::Figure::endPlot().
|
pure virtual |
A method for setting basic file parameters
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::HurPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, WXP::WarnPlot, WXP::WatchPlot, and WXP::XSectionPlot.
|
pure virtual |
A method for setting the default file for plotting
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::HurPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, WXP::WarnPlot, WXP::WatchPlot, and WXP::XSectionPlot.
Referenced by WXP::Figure::callback(), and WXP::Figure::endPlot().
|
pure virtual |
A method for setting the default file for plotting
file | Filename to use |
Implemented in WXP::CityPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::NidsPlot, WXP::RawPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::HodoPlot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MeteoPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RcmPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, WXP::XSectionPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HurPlot, WXP::MetaPlot, WXP::MiscPlot, WXP::MosPlot, WXP::SfcPlot, WXP::UpaPlot, WXP::WarnPlot, and WXP::WatchPlot.
|
pure virtual |
Sets the filename to use based on a specific date
date | Date to use |
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::HurPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, WXP::WarnPlot, WXP::WatchPlot, and WXP::XSectionPlot.
|
pure virtual |
Sets the filename to use based on a specific date and parameters
date | Date to use |
param | Parameters to use for offset to date |
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::HurPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, WXP::WarnPlot, WXP::WatchPlot, and WXP::XSectionPlot.
|
pure virtual |
Sets specific forecast time to plot
fore | Forecast time |
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::HurPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, WXP::WarnPlot, WXP::WatchPlot, and WXP::XSectionPlot.
|
pure virtual |
A method for setting input file type
name | Name convention to use |
Implemented in WXP::RedbookPlot, WXP::MdrPlot, WXP::RadPlot, WXP::RcmPlot, WXP::SatPlot, WXP::LightPlot, WXP::MapPlot, WXP::MetaPlot, WXP::MiscPlot, WXP::MosPlot, WXP::RawPlot, WXP::SfcPlot, WXP::ThermPlot, WXP::XSectionPlot, WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::HurPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::MeteoPlot, WXP::NidsPlot, WXP::ProfPlot, WXP::SoundPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, WXP::WarnPlot, and WXP::WatchPlot.
|
pure virtual |
A method for setting input file name convention
name | Name convention to use |
Implemented in WXP::RedbookPlot, WXP::CityPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RcmPlot, WXP::SatPlot, WXP::SfcPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, WXP::XSectionPlot, WXP::FrontPlot, WXP::HurPlot, WXP::ImagePlot, WXP::NidsPlot, WXP::RawPlot, WXP::WarnPlot, and WXP::WatchPlot.
|
pure virtual |
Sets specific parameters for the plot given a string
str | String specifying parameters |
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::GridVect, WXP::HodoPlot, WXP::HurPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::ProfPlot, WXP::RadPlot, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcPlot, WXP::SoundPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, WXP::WarnPlot, WXP::WatchPlot, and WXP::XSectionPlot.
|
static |
Loop on date
Referenced by WXP::Figure::callback(), WXP::FrontPlot::getLoopType(), WXP::GridCont::getLoopType(), WXP::GridPlot::getLoopType(), WXP::GridVect::getLoopType(), WXP::HodoPlot::getLoopType(), WXP::HurPlot::getLoopType(), WXP::ImagePlot::getLoopType(), WXP::Lev2Plot::getLoopType(), WXP::LightPlot::getLoopType(), WXP::MdrPlot::getLoopType(), WXP::MetaPlot::getLoopType(), WXP::MeteoPlot::getLoopType(), WXP::MiscPlot::getLoopType(), WXP::MosPlot::getLoopType(), WXP::NidsPlot::getLoopType(), WXP::ProfPlot::getLoopType(), WXP::RadPlot::getLoopType(), WXP::RawPlot::getLoopType(), WXP::RcmPlot::getLoopType(), WXP::RedbookPlot::getLoopType(), WXP::SatPlot::getLoopType(), WXP::SfcPlot::getLoopType(), WXP::SoundPlot::getLoopType(), WXP::UpaPlot::getLoopType(), WXP::UpaXSectCont::getLoopType(), WXP::UpaXSectPlot::getLoopType(), WXP::WarnPlot::getLoopType(), WXP::WatchPlot::getLoopType(), and WXP::Figure::init().
|
static |
Loop on forecast time
Referenced by WXP::Figure::endPlot(), WXP::FrontPlot::getLoopType(), WXP::GridPlot::getLoopType(), WXP::ImagePlot::getLoopType(), and WXP::SoundPlot::getLoopType().
|
static |