RAVE
nearestcompositegeneratorfactory.h
Go to the documentation of this file.
1/* --------------------------------------------------------------------
2Copyright (C) 2025 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------------------------------------------------------------------------*/
26#ifndef NEAREST_COMPOSITE_GENERATOR_FACTORY_H
27#define NEAREST_COMPOSITE_GENERATOR_FACTORY_H
28
29#include "compositearguments.h"
31#include "compositegenerator.h"
32#include "cartesian.h"
33#include "rave_object.h"
34#include "rave_types.h"
35#include "raveobject_list.h"
36#include "rave_field.h"
37
42
47
52
57
62
69
76
81
87
88#endif /* NEAREST_COMPOSITE_GENERATOR_FACTORY_H */
Defines the functions available when working with cartesian products.
struct _Cartesian_t Cartesian_t
Defines a Cartesian product.
Definition cartesian.h:43
The arguments that should be passed on to the composite generator.
struct _CompositeArguments_t CompositeArguments_t
Defines a Geographical Area.
Definition compositearguments.h:41
Generator for generating composites using various approaches.
Interface for defining your own compositing factory.
struct _CompositeGeneratorFactory_t CompositeGeneratorFactory_t
The basic composite algorithm that can be cast into a subclassed processor.
RaveCoreObjectType NearestCompositeGeneratorFactory_TYPE
Type definition to use when creating a rave object.
Definition nearestcompositegeneratorfactory.c:358
struct _NearestCompositeGeneratorFactory_t NearestCompositeGeneratorFactory_t
Nearest composite generator factory that can handle PPI, CAPPI, PCAPPI, MAX and PMAX using nearest ne...
const char * NearestCompositeGeneratorFactory_getName(CompositeGeneratorFactory_t *self)
Definition nearestcompositegeneratorfactory.c:271
RaveProperties_t * NearestCompositeGeneratorFactory_getProperties(CompositeGeneratorFactory_t *self)
Returns properties from the factory.
Definition nearestcompositegeneratorfactory.c:326
int NearestCompositeGeneratorFactory_canHandle(CompositeGeneratorFactory_t *self, CompositeArguments_t *arguments)
Definition nearestcompositegeneratorfactory.c:287
Cartesian_t * NearestCompositeGeneratorFactory_generate(CompositeGeneratorFactory_t *self, CompositeArguments_t *arguments)
Definition nearestcompositegeneratorfactory.c:336
const char * NearestCompositeGeneratorFactory_getDefaultId(CompositeGeneratorFactory_t *self)
Definition nearestcompositegeneratorfactory.c:279
int NearestCompositeGeneratorFactory_setProperties(CompositeGeneratorFactory_t *self, RaveProperties_t *properties)
Sets the factory with properties.
Definition nearestcompositegeneratorfactory.c:318
CompositeGeneratorFactory_t * NearestCompositeGeneratorFactory_create(CompositeGeneratorFactory_t *self)
The factory creation method.
Definition nearestcompositegeneratorfactory.c:346
Generic field that only provides a 2-dim data field and a number of dynamic attributes.
Generic implementation of an object that is used within rave.
struct _raveobjecttype RaveCoreObjectType
The rave object type definition.
struct _RaveProperties_t RaveProperties_t
Defines the area registry.
Definition rave_properties.h:35
Type definitions for RAVE.
Implementation of a rave object list that ensures that the objects contained within the list are rele...
Nearest composite generator factory that can handle PPI, CAPPI, PCAPPI, MAX and PMAX using nearest ne...
Definition nearestcompositegeneratorfactory.c:53