w2kmeans::SwathRateUpdater Class Reference

Inheritance diagram for w2kmeans::SwathRateUpdater:

w2kmeans::SwathUpdater List of all members.

Detailed Description

Accumulates value at a single grid point.


Public Member Functions

 SwathRateUpdater (const std::string &filtername)
 filtername should be swath:ratesum:factor:unit:colormap The unit and colormap refer to the output swath grid.
virtual ~SwathRateUpdater ()
virtual void update (code::Image< float > *result, int x, int y, float newval, int origx, int origy, int newx, int newy, float secs, int tracklength) const
virtual std::string getUnit () const
virtual std::string getColorMap () const

Protected Attributes

std::string unit
std::string colormap


Constructor & Destructor Documentation

w2kmeans::SwathRateUpdater::SwathRateUpdater ( const std::string &  filtername  ) 

filtername should be swath:ratesum:factor:unit:colormap The unit and colormap refer to the output swath grid.

Factor is a correction factor. This class assumes that rates in the grid to be advected are per-hour. Provide a factor of 60 if the rates are actually per-minute.

virtual w2kmeans::SwathRateUpdater::~SwathRateUpdater (  )  [inline, virtual]


Member Function Documentation

virtual std::string w2kmeans::SwathUpdater::getColorMap (  )  const [inline, virtual, inherited]

virtual std::string w2kmeans::SwathUpdater::getUnit (  )  const [inline, virtual, inherited]

virtual void w2kmeans::SwathRateUpdater::update ( code::Image< float > *  result,
int  x,
int  y,
float  newval,
int  origx,
int  origy,
int  newx,
int  newy,
float  secs,
int  tracklength 
) const [virtual]

Implements w2kmeans::SwathUpdater.


Member Data Documentation

std::string w2kmeans::SwathUpdater::colormap [protected, inherited]

std::string w2kmeans::SwathUpdater::unit [protected, inherited]


Generated on Fri May 4 13:40:24 2012 for WDSS-IIw2algs by  doxygen 1.4.7