WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
GridTool.h
1#ifndef _WINC_GRIDTOOL
2#define _WINC_GRIDTOOL
3
4#include <WXP/Date.h>
5#include <WXP/Filename.h>
6#include <WXP/FloatArray.h>
7#include <WXP/Grid.h>
8#include <WXP/Grids.h>
9#include <WXP/GridSpec.h>
10#include <WXP/GridStats.h>
11#include <WXP/Image.h>
12#include <WXP/ModelSpec.h>
13#include <WXP/String.h>
14
15namespace WXP {
16 class GridTool {
17 public:
18 static int valueGrid( Grid &grid, float value );
19 static int updateSpec( GridSpec &gs, ForeTime &f, Level &l, VarNameItem &v );
20 static int updateSpec( GridSpec &gs, ForeTime &f, Level &l );
21 static int updateSpec( GridSpec &gs, ForeTime &f );
22 static int updateSpec( GridSpec &gs, Level &l );
23 static int toImage( Image &image, Grid &grid, FloatArray &thres );
24 static int toImage( Image &image, Grid &grid );
25 static int getStats( Grid &grid, GridPoints &gpts, GridStats &stats );
26 static float getCoverage( Grid &grid, GridPoints &gpts, float min, float max );
27 };
28}
29#endif
This class creates an integer array.
Definition FloatArray.h:7
This class defines forecast time parameters.
Definition ForeTime.h:9
This class creates an array a 2D points (x, y)
Definition GridPoints.h:9
This class defines vertical level parameters.
Definition GridSpec.h:7
This class contains a set of tools to work with grid data.
Definition GridTool.h:16
This class defines a grid.
Definition Grid.h:20
This class defines an image.
Definition Image.h:19
This class defines vertical level parameters.
Definition Level.h:8
This class manages each item in the variable list.
Definition VarNameItem.h:5
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct contains statistics from a grid.
Definition GridStats.h:5