RAVE
|
Defines the functions available when creating composites from cartesian products. More...
#include "rave_proj.h"
#include "projection.h"
#include "area.h"
#include "rave_object.h"
#include "rave_types.h"
#include "rave_list.h"
#include "raveobject_list.h"
#include "rave_attribute.h"
#include "rave_field.h"
#include "cartesianparam.h"
#include "cartesian.h"
#include "composite.h"
Go to the source code of this file.
Typedefs | |
typedef enum CartesianCompositeSelectionMethod_t | CartesianCompositeSelectionMethod_t |
What type of selection variant to use. | |
typedef struct _CartesianComposite_t | CartesianComposite_t |
Defines a Cartesian composite generator. | |
Enumerations | |
enum | CartesianCompositeSelectionMethod_t { CartesianCompositeSelectionMethod_FIRST = 0 , CartesianCompositeSelectionMethod_MINVALUE , CartesianCompositeSelectionMethod_MAXVALUE , CartesianCompositeSelectionMethod_AVGVALUE , CartesianCompositeSelectionMethod_DISTANCE } |
What type of selection variant to use. More... | |
Functions | |
int | CartesianComposite_add (CartesianComposite_t *self, Cartesian_t *object) |
Adds a cartesian product to the cartesian composite generator. | |
int | CartesianComposite_getNumberOfObjects (CartesianComposite_t *self) |
Returns the number of objects this composite will process. | |
Cartesian_t * | CartesianComposite_get (CartesianComposite_t *self, int index) |
Return the object at position index. | |
int | CartesianComposite_setMethod (CartesianComposite_t *self, CartesianCompositeSelectionMethod_t method) |
Sets the selection method to use. | |
CartesianCompositeSelectionMethod_t | CartesianComposite_getMethod (CartesianComposite_t *self) |
Returns the currently selection method. | |
int | CartesianComposite_setDistanceField (CartesianComposite_t *self, const char *fieldname) |
Sets the distance field to use when executing the DISTANCE selection method. | |
const char * | CartesianComposite_getDistanceField (CartesianComposite_t *self) |
Returns the quality field name (how/task) for the distance field to use when executing the DISTANCE selection method. | |
int | CartesianComposite_setTime (CartesianComposite_t *self, const char *value) |
Sets the nominal time. | |
const char * | CartesianComposite_getTime (CartesianComposite_t *self) |
Returns the nominal time. | |
int | CartesianComposite_setDate (CartesianComposite_t *self, const char *value) |
Sets the nominal date. | |
const char * | CartesianComposite_getDate (CartesianComposite_t *self) |
Returns the nominal date. | |
int | CartesianComposite_setQuantity (CartesianComposite_t *self, const char *quantity) |
Sets the quantity. | |
const char * | CartesianComposite_getQuantity (CartesianComposite_t *self) |
Returns the quantity (default DBZH) | |
void | CartesianComposite_setGain (CartesianComposite_t *self, double gain) |
Sets the gain. | |
double | CartesianComposite_getGain (CartesianComposite_t *self) |
Returns the gain. | |
void | CartesianComposite_setOffset (CartesianComposite_t *self, double offset) |
Sets the offset. | |
double | CartesianComposite_getOffset (CartesianComposite_t *self) |
Returns the offset. | |
void | CartesianComposite_setNodata (CartesianComposite_t *self, double nodata) |
Sets the nodata. | |
double | CartesianComposite_getNodata (CartesianComposite_t *self) |
Returns the nodata. | |
void | CartesianComposite_setUndetect (CartesianComposite_t *self, double undetect) |
Sets the undetect. | |
double | CartesianComposite_getUndetect (CartesianComposite_t *self) |
Returns the undetect. | |
Cartesian_t * | CartesianComposite_nearest (CartesianComposite_t *self, Area_t *area) |
Generates a composite according to the nearest radar principle. | |
Variables | |
RaveCoreObjectType | CartesianComposite_TYPE |
Type definition to use when creating a rave object. | |
Defines the functions available when creating composites from cartesian products.
This object supports RAVE_OBJECT_CLONE.
typedef struct _CartesianComposite_t CartesianComposite_t |
Defines a Cartesian composite generator.
What type of selection variant to use.
What type of selection variant to use.
int CartesianComposite_add | ( | CartesianComposite_t * | self, |
Cartesian_t * | object ) |
Adds a cartesian product to the cartesian composite generator.
[in] | self | - self |
[in] | object | - the item to be added to the composite |
Cartesian_t * CartesianComposite_get | ( | CartesianComposite_t * | self, |
int | index ) |
Return the object at position index.
[in] | self | - self |
[in] | index | - the index, should be >= 0 and < getNumberOfObjects |
const char * CartesianComposite_getDate | ( | CartesianComposite_t * | self | ) |
Returns the nominal date.
[in] | self | - self |
const char * CartesianComposite_getDistanceField | ( | CartesianComposite_t * | self | ) |
Returns the quality field name (how/task) for the distance field to use when executing the DISTANCE selection method.
[in] | self | - self |
double CartesianComposite_getGain | ( | CartesianComposite_t * | self | ) |
Returns the gain.
[in] | self | - self |
CartesianCompositeSelectionMethod_t CartesianComposite_getMethod | ( | CartesianComposite_t * | self | ) |
Returns the currently selection method.
Default is CartesianCompositeSelectionMethod_FIRST.
[in] | self | - self |
double CartesianComposite_getNodata | ( | CartesianComposite_t * | self | ) |
Returns the nodata.
[in] | self | - self |
int CartesianComposite_getNumberOfObjects | ( | CartesianComposite_t * | self | ) |
Returns the number of objects this composite will process.
[in] | self | - self |
double CartesianComposite_getOffset | ( | CartesianComposite_t * | self | ) |
Returns the offset.
[in] | self | - self |
const char * CartesianComposite_getQuantity | ( | CartesianComposite_t * | self | ) |
Returns the quantity (default DBZH)
[in] | self | - self |
const char * CartesianComposite_getTime | ( | CartesianComposite_t * | self | ) |
Returns the nominal time.
[in] | self | - self |
double CartesianComposite_getUndetect | ( | CartesianComposite_t * | self | ) |
Returns the undetect.
[in] | self | - self |
Cartesian_t * CartesianComposite_nearest | ( | CartesianComposite_t * | self, |
Area_t * | area ) |
Generates a composite according to the nearest radar principle.
[in] | self | - self |
[in] | area | - the area that should be used for defining the composite. |
int CartesianComposite_setDate | ( | CartesianComposite_t * | self, |
const char * | value ) |
Sets the nominal date.
[in] | self | - self |
[in] | value | - the date in the format YYYYMMDD |
int CartesianComposite_setDistanceField | ( | CartesianComposite_t * | self, |
const char * | fieldname ) |
Sets the distance field to use when executing the DISTANCE selection method.
(MAY NOT BE NULL)
[in] | self | - self |
[in] | fieldname | - the how/task name for the quality field with the distance information |
void CartesianComposite_setGain | ( | CartesianComposite_t * | self, |
double | gain ) |
Sets the gain.
[in] | self | - self |
[in] | gain | - the gain (MAY NOT BE 0.0) |
int CartesianComposite_setMethod | ( | CartesianComposite_t * | self, |
CartesianCompositeSelectionMethod_t | method ) |
Sets the selection method to use.
[in] | self | - self |
[in] | method | - the selection method |
void CartesianComposite_setNodata | ( | CartesianComposite_t * | self, |
double | nodata ) |
Sets the nodata.
[in] | self | - self |
[in] | nodata | - the nodata |
void CartesianComposite_setOffset | ( | CartesianComposite_t * | self, |
double | offset ) |
Sets the offset.
[in] | self | - self |
[in] | offset | - the offset |
int CartesianComposite_setQuantity | ( | CartesianComposite_t * | self, |
const char * | quantity ) |
Sets the quantity.
[in] | self | - self |
[in] | quantity | - the quantity, e.g. DBZH |
int CartesianComposite_setTime | ( | CartesianComposite_t * | self, |
const char * | value ) |
Sets the nominal time.
[in] | self | - self |
[in] | value | - the time in the format HHmmss |
void CartesianComposite_setUndetect | ( | CartesianComposite_t * | self, |
double | undetect ) |
Sets the undetect.
[in] | self | - self |
[in] | undetect | - the undetect |
|
extern |
Type definition to use when creating a rave object.