25#ifndef POO_COMPOSITE_ALGORITHM_H
26#define POO_COMPOSITE_ALGORITHM_H
Interface for defining your own compositing algorithm.
struct _CompositeAlgorithm_t CompositeAlgorithm_t
The basic composite algorithm that can be cast into a subclassed processor.
RaveCoreObjectType PooCompositeAlgorithm_TYPE
Type definition to use when creating a rave object.
Definition poo_composite_algorithm.c:286
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
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
struct _PooCompositeAlgorithm_t PooCompositeAlgorithm_t
Defines a Composite generator.
Definition poo_composite_algorithm.h:32
struct _RaveField_t RaveField_t
Defines a Rave field.
Definition rave_field.h:38
struct _raveobject RaveCoreObject
The basic raveobject that contains the header information for all rave objects.
struct _raveobjecttype RaveCoreObjectType
The rave object type definition.
RaveValueType
Different value types.
Definition rave_types.h:72
Provides user with navigation information.
Definition rave_types.h:160
Represents the cartesian product.
Definition composite.c:45
Represents the cartesian product.
Definition poo_composite_algorithm.c:44