WXP C++ Library Version 6.74.9
|
This class has tools to manipulate domains. More...
#include "../include/DomainTool.h"
Static Public Member Functions | |
static int | proj (const char *proj) |
static int | decode (DomainVal &val, const char *str) |
static int | decode (Domain &domain, const char *str) |
static int | set (Domain &domain, const char *def) |
static int | set (Domain &domain) |
This class has tools to manipulate domains.
|
static |
Sets the domain parameters given a string.
domain | Output domain class. |
str | String containing projection information. |
References decode(), and WXP::Domain::set().
|
static |
Decodes a domain string and puts appropriate information into the DomainVal structure.
val | DomainVal structure with output values |
str | String to decode |
References WXP::DomainVal::clat, WXP::DomainVal::clon, decode(), WXP::DomainVal::dx, WXP::DomainVal::dy, WXP::Strings::equal(), WXP::String::get(), WXP::Region::get(), WXP::Strings::getString(), WXP::StrLib::iequal(), WXP::Const::MISS, WXP::DomainVal::nx, WXP::DomainVal::ny, WXP::Wxp::outWarning(), WXP::DomainVal::plat, WXP::DomainVal::plon, WXP::DomainVal::proj, WXP::Domain::PSTEREO, WXP::Domain::SIZE, WXP::Domain::SKEWT, and WXP::Domain::ZOOM.
Referenced by decode(), decode(), WXP::RedbookPlot::draw(), WXP::FrontPlot::getDomain(), WXP::GridCont::getDomain(), WXP::GridPlot::getDomain(), WXP::ImagePlot::getDomain(), WXP::MapPlot::getDomain(), WXP::RedbookPlot::getDomain(), WXP::MosPlot::init(), WXP::RadMask::init(), WXP::GifFile::read(), WXP::LZWComp::read(), WXP::PngFile::read(), WXP::SatUniFile::readHeader(), WXP::ImgWxpFile::readHeader(), set(), set(), WXP::RedbookPlot::setDomain(), WXP::SfcPlot::setGridDomain(), and WXP::UpaPlot::setGridDomain().
|
static |
Returns the projection type given a descriptive string
proj | Projection string ll = Lat/Lon lat = Lat/Lon polar = Polar Stereographic ps = Polar Stereographic sat = Satellite lamb = Lambert Conformal lc = Lambert Conformal la = Lambert Azimuthal az = Lambert Azimuthal gn = Gnomic or = Orthographic mo = Mollweide me = Mercator pix = Pixel xy = X/Y xlogy = X/Log Y xlogp = X/Log P cat = Category/Y skewt = SkewT ema = Emagram teph = Tephigram rteph = Rotated Tephigram therm = SkewT stuve = Stuve hodo = Hodogram vert = X/Log P xp = X/P polar = Polar plot zoom = Zoom of unknown domain size = Size miss = Missing |
References WXP::Domain::getProj(), and proj().
Referenced by proj().
|
static |
Sets the domain parameters from resource values.
domain | Output domain class. |
def | Default domain string. |
References decode().
|
static |
Sets the domain parameters from resource values. It first checks "plot_domain" resource and then sets to default value.
domain | Output domain class. |
def | Default domain string. |
References decode().
Referenced by WXP::HurPlot::getDomain(), WXP::LightPlot::getDomain(), WXP::MdrPlot::getDomain(), WXP::MosPlot::getDomain(), WXP::RadPlot::getDomain(), WXP::RawPlot::getDomain(), WXP::RcmPlot::getDomain(), WXP::SfcPlot::getDomain(), WXP::UpaPlot::getDomain(), WXP::WarnPlot::getDomain(), and WXP::WatchPlot::getDomain().