RAVE
poo_composite_algorithm.h
Go to the documentation of this file.
1/* --------------------------------------------------------------------
2Copyright (C) 2011 Swedish Meteorological and Hydrological Institute, SMHI,
3
4This file is part of RAVE.
5
6RAVE is free software: you can redistribute it and/or modify
7it under the terms of the GNU Lesser General Public License as published by
8the Free Software Foundation, either version 3 of the License, or
9(at your option) any later version.
10
11RAVE is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU Lesser General Public License for more details.
15
16You should have received a copy of the GNU Lesser General Public License
17along with RAVE. If not, see <http://www.gnu.org/licenses/>.
18------------------------------------------------------------------------*/
25#ifndef POO_COMPOSITE_ALGORITHM_H
26#define POO_COMPOSITE_ALGORITHM_H
27#include "composite_algorithm.h"
28
33
38
45
53
59
77 RaveCoreObject* obj, const char* quantity, double olon, double olat, double dist, RaveValueType* otype, double* ovalue, \
78 PolarNavigationInfo* navinfo);
79
87
93
106int PooCompositeAlgorithm_fillQualityInformation(CompositeAlgorithm_t* self, RaveCoreObject* obj,const char* howtask,const char* quantity,RaveField_t* field,long x, long y, PolarNavigationInfo* navinfo, double gain, double offset);
107
108#endif /* POO_COMPOSITE_ALGORITHM_H */
Interface for defining your own compositing algorithm.
int PooCompositeAlgorithm_fillQualityInformation(CompositeAlgorithm_t *self, RaveCoreObject *obj, const char *howtask, const char *quantity, RaveField_t *field, long x, long y, PolarNavigationInfo *navinfo, double gain, double offset)
Fills the quality information in field for howtask values = se.smhi.detector.poo.
Definition poo_composite_algorithm.c:232
void PooCompositeAlgorithm_reset(CompositeAlgorithm_t *self, int x, int y)
Resets the internals to be able to handle one pixel in the composite.
Definition poo_composite_algorithm.c:183
int PooCompositeAlgorithm_supportsProcess(CompositeAlgorithm_t *self)
Indicates if this algorithm supports process.
Definition poo_composite_algorithm.c:192
int PooCompositeAlgorithm_supportsFillQualityInformation(CompositeAlgorithm_t *self, const char *howtask)
Returns that this object supports the fillQualityInformation method for howtask = se....
Definition poo_composite_algorithm.c:223
RaveCoreObjectType PooCompositeAlgorithm_TYPE
Type definition to use when creating a rave object.
Definition poo_composite_algorithm.c:287
int PooCompositeAlgorithm_process(CompositeAlgorithm_t *self, RaveCoreObject *obj, const char *quantity, double olon, double olat, double dist, RaveValueType *otype, double *ovalue, PolarNavigationInfo *navinfo)
Implements the processing part of the poo composite algorithm.
Definition poo_composite_algorithm.c:197
int PooCompositeAlgorithm_initialize(CompositeAlgorithm_t *self, struct _Composite_t *composite)
Initializes self.
Definition poo_composite_algorithm.c:204
const char * PooCompositeAlgorithm_getName(CompositeAlgorithm_t *self)
Implements the name part of the poo composite algorithm.
Definition poo_composite_algorithm.c:178
RaveValueType
Different value types.
Definition rave_types.h:72
Provides user with navigation information.
Definition rave_types.h:160
The basic composite algorithm that can be cast into a subclassed processor.
Definition composite_algorithm.h:127
Represents the cartesian product.
Definition composite.c:45
Represents the cartesian product.
Definition poo_composite_algorithm.c:44
Represents the cartesian volume.
Definition rave_field.c:36
The basic raveobject that contains the header information for all rave objects.
Definition rave_object.h:42
The rave object type definition.
Definition rave_object.h:52