RAVE
bitmap_generator.h File Reference

Provides functionallity for creating a surrounding bitmap on a composite. More...

#include "rave_object.h"
#include "cartesian.h"
#include "cartesianparam.h"
#include "rave_field.h"

Go to the source code of this file.

Typedefs

typedef struct _BitmapGenerator_t BitmapGenerator_t
 Defines an object for creating bitmaps.
 

Functions

RaveField_tBitmapGenerator_create_surrounding (BitmapGenerator_t *self, CartesianParam_t *param)
 Creates a bitmask that surrounds all radars.
 
RaveField_tBitmapGenerator_create_intersect (BitmapGenerator_t *self, CartesianParam_t *param, const char *qualityFieldName)
 Creates a bitmask that shows the intersection between the radars.
 

Variables

RaveCoreObjectType BitmapGenerator_TYPE
 Type definition to use when creating a rave object.
 

Detailed Description

Provides functionallity for creating a surrounding bitmap on a composite.

Author
Anders Henja (Swedish Meteorological and Hydrological Institute, SMHI)
Date
2016-12-20

Typedef Documentation

◆ BitmapGenerator_t

Defines an object for creating bitmaps.

Function Documentation

◆ BitmapGenerator_create_intersect()

RaveField_t * BitmapGenerator_create_intersect ( BitmapGenerator_t * self,
CartesianParam_t * param,
const char * qualityFieldName )

Creates a bitmask that shows the intersection between the radars.

Parameters
[in]self- self
[in]param- the cartesian parameter
[in]qualityFieldName- the name of the quality field in the parameter that consists of the radar index
Returns
a field with the intersections defined.

First we work from left to right

And then from up and downwards

◆ BitmapGenerator_create_surrounding()

RaveField_t * BitmapGenerator_create_surrounding ( BitmapGenerator_t * self,
CartesianParam_t * param )

Creates a bitmask that surrounds all radars.

Parameters
[in]self- self
[in]param- the cartesian parameter
Returns
a field with the surrounding bitmask

First we work from left to right

And then up to down

Variable Documentation

◆ BitmapGenerator_TYPE

RaveCoreObjectType BitmapGenerator_TYPE
extern

Type definition to use when creating a rave object.