WXP C++ Library Version 6.74.9
|
This class merges MDR data into an Image. More...
#include "../include/MdrImage.h"
Public Member Functions | |
MdrImage () | |
int | init () |
int | setParam (const char *str) |
int | addSite (Image &image, MdrData &data) |
int | readFile (Filename &filename, Image &image) |
This class merges MDR data into an Image.
MdrImage::MdrImage | ( | ) |
Constructor
References init().
Adds a site to the image
image | The MDR image |
data | The MDR data to incorporate into the image |
References WXP::Image::allocData(), WXP::Image::getPixel(), WXP::Const::MISS, WXP::Domain::set(), WXP::Image::set(), and WXP::Image::setPixel().
Referenced by readFile().
int MdrImage::init | ( | ) |
Initializes the class
Referenced by MdrImage().
Reads MDR data and incorporates it into an image
filename | The filename |
image | The output image |
References addSite(), WXP::DateTool::createLabel(), WXP::CityHash::get(), WXP::Filename::getDate(), WXP::CityHashData::getLat(), WXP::CityHashData::getLon(), WXP::DateRange::set(), WXP::MdrData::setLoc(), WXP::Date::setMinute(), and WXP::DateRange::valid().
int MdrImage::setParam | ( | const char * | str | ) |