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.
| virtual int WXP::Drawing::draw | ( | Plot & | plot | ) | [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::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawCont, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcCont, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, and WXP::WatchPlot.
| virtual int WXP::Drawing::getDate | ( | Date & | date | ) | [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::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawCont, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcCont, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, and WXP::WatchPlot.
Referenced by WXP::Figure::callback().
| virtual int WXP::Drawing::getDateOffset | ( | ) | [pure virtual] |
Gets the offset time between frames in loop
| date | Date information |
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawCont, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcCont, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, and WXP::WatchPlot.
Referenced by WXP::Figure::endPlot().
| virtual int WXP::Drawing::getDomain | ( | Domain & | domain | ) | [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::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawCont, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcCont, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, and WXP::WatchPlot.
| virtual int WXP::Drawing::getInitDate | ( | Date & | date | ) | [pure virtual] |
Gets the initial date for a loop
| date | Date information |
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawCont, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcCont, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, and WXP::WatchPlot.
Referenced by WXP::Figure::endPlot().
| virtual int WXP::Drawing::getLoopType | ( | ) | [pure virtual] |
Gets the available loop types
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawCont, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcCont, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, and WXP::WatchPlot.
Referenced by WXP::Figure::callback(), and WXP::Figure::endPlot().
| virtual int WXP::Drawing::getNumFrames | ( | ) | [pure virtual] |
Gets the possible number of frames in a loop
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawCont, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcCont, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, and WXP::WatchPlot.
Referenced by WXP::Figure::endPlot().
| virtual int WXP::Drawing::getSync | ( | ) | [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::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, and WXP::WatchPlot.
Referenced by WXP::Figure::endPlot().
| virtual int WXP::Drawing::print | ( | ) | [pure virtual] |
Method for printing class info
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawCont, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcCont, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, and WXP::WatchPlot.
Referenced by WXP::Figure::endPlot().
| virtual int WXP::Drawing::setFile | ( | ) | [pure virtual] |
A method for setting basic file parameters
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawCont, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcCont, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, and WXP::WatchPlot.
| virtual int WXP::Drawing::setFilename | ( | Date & | date, | |
| const char * | param | |||
| ) | [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::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawCont, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcCont, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, and WXP::WatchPlot.
| virtual int WXP::Drawing::setFilename | ( | Date & | date | ) | [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::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawCont, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcCont, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, and WXP::WatchPlot.
| virtual int WXP::Drawing::setFilename | ( | const char * | file | ) | [pure virtual] |
A method for setting the default file for plotting
| file | Filename to use |
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawCont, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcCont, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, and WXP::WatchPlot.
| virtual int WXP::Drawing::setFilename | ( | ) | [pure virtual] |
A method for setting the default file for plotting
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawCont, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcCont, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, and WXP::WatchPlot.
Referenced by WXP::Figure::callback(), and WXP::Figure::endPlot().
| virtual int WXP::Drawing::setForeTime | ( | const char * | fore | ) | [pure virtual] |
Sets specific forecast time to plot
| fore | Forecast time |
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawCont, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcCont, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, and WXP::WatchPlot.
| virtual int WXP::Drawing::setInput | ( | const char * | type | ) | [pure virtual] |
A method for setting input file type
| name | Name convention to use |
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawCont, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcCont, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, and WXP::WatchPlot.
| virtual int WXP::Drawing::setNameConv | ( | const char * | name | ) | [pure virtual] |
A method for setting input file name convention
| name | Name convention to use |
Implemented in WXP::CityPlot, WXP::FrontPlot, WXP::GridCont, WXP::GridPlot, WXP::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawCont, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcCont, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, and WXP::WatchPlot.
| virtual int WXP::Drawing::setParam | ( | const char * | str | ) | [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::HodoPlot, WXP::ImagePlot, WXP::Lev2Plot, WXP::LightPlot, WXP::MapPlot, WXP::MdrPlot, WXP::MetaPlot, WXP::MeteoPlot, WXP::MiscPlot, WXP::MosPlot, WXP::NidsPlot, WXP::RadPlot, WXP::RawCont, WXP::RawPlot, WXP::RcmPlot, WXP::RedbookPlot, WXP::SatPlot, WXP::SfcCont, WXP::SfcPlot, WXP::ThermPlot, WXP::UpaPlot, WXP::UpaXSectCont, WXP::UpaXSectPlot, and WXP::WatchPlot.
1.6.1