ROPO
Loading...
Searching...
No Matches
rave_fmi_image.h
Go to the documentation of this file.
1/* --------------------------------------------------------------------
2Copyright (C) 2011 Swedish Meteorological and Hydrological Institute, SMHI,
3
4This file is part of bRopo.
5
6bRopo 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
11bRopo 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 bRopo. If not, see <http://www.gnu.org/licenses/>.
18------------------------------------------------------------------------*/
19
27#ifndef RAVE_FMI_IMAGE_H
28#define RAVE_FMI_IMAGE_H
29#include "fmi_image.h"
30#include "rave_object.h"
31#include "polarvolume.h"
32#include "polarscan.h"
33#include "rave_field.h"
34
39
43extern RaveCoreObjectType RaveFmiImage_TYPE;
44
53int RaveFmiImage_initialize(RaveFmiImage_t* self, int width, int height);
54
60void RaveFmiImage_fill(RaveFmiImage_t* self, unsigned char v);
61
67void RaveFmiImage_fillOriginal(RaveFmiImage_t* self, double v);
68
75
83PolarScan_t* RaveFmiImage_toPolarScan(RaveFmiImage_t* self, const char* quantity, int datatype);
84
91RaveField_t* RaveFmiImage_toRaveField(RaveFmiImage_t* self, int datatype);
92
99int RaveFmiImage_addAttribute(RaveFmiImage_t* self, RaveAttribute_t* attribute);
100
107RaveAttribute_t* RaveFmiImage_getAttribute(RaveFmiImage_t* self, const char* name);
108
115
122void RaveFmiImage_setGain(RaveFmiImage_t* self, double gain);
123
131
139
147
153void RaveFmiImage_setNodata(RaveFmiImage_t* self, double v);
154
161
167void RaveFmiImage_setUndetect(RaveFmiImage_t* self, double v);
168
175
183
191
199
207
214
221
228
235
242RaveFmiImage_t* RaveFmiImage_new(int width, int height);
243
251RaveFmiImage_t* RaveFmiImage_fromPolarVolume(PolarVolume_t* volume, int scannr, const char* quantity);
252
259RaveFmiImage_t* RaveFmiImage_fromPolarScan(PolarScan_t* scan, const char* quantity);
260
266RaveFmiImage_t* RaveFmiImage_fromRaveField(RaveField_t* field);
267
276RaveFmiImage_t* RaveFmiImage_fromRave(RaveCoreObject* object, const char* quantity);
277
278#endif /* RAVE_FMI_IMAGE_H */
FmiImage * RaveFmiImage_getImage(RaveFmiImage_t *self)
RaveFmiImage_t * RaveFmiImage_new(int width, int height)
void RaveFmiImage_fill(RaveFmiImage_t *self, unsigned char v)
double RaveFmiImage_getOriginalUndetect(RaveFmiImage_t *self)
double RaveFmiImage_getOffset(RaveFmiImage_t *self)
int RaveFmiImage_addAttribute(RaveFmiImage_t *self, RaveAttribute_t *attribute)
RaveFmiImage_t * RaveFmiImage_fromRave(RaveCoreObject *object, const char *quantity)
RaveAttribute_t * RaveFmiImage_getAttribute(RaveFmiImage_t *self, const char *name)
void RaveFmiImage_setGain(RaveFmiImage_t *self, double gain)
void RaveFmiImage_setOriginalGain(RaveFmiImage_t *self, double gain)
void RaveFmiImage_setOriginalNodata(RaveFmiImage_t *self, double v)
RaveField_t * RaveFmiImage_toRaveField(RaveFmiImage_t *self, int datatype)
RaveCoreObjectType RaveFmiImage_TYPE
void RaveFmiImage_fillOriginal(RaveFmiImage_t *self, double v)
PolarScan_t * RaveFmiImage_toPolarScan(RaveFmiImage_t *self, const char *quantity, int datatype)
void RaveFmiImage_setOriginalUndetect(RaveFmiImage_t *self, double v)
void RaveFmiImage_setNodata(RaveFmiImage_t *self, double v)
double RaveFmiImage_getUndetect(RaveFmiImage_t *self)
double RaveFmiImage_getGain(RaveFmiImage_t *self)
RaveList_t * RaveFmiImage_getAttributeNames(RaveFmiImage_t *self)
double RaveFmiImage_getOriginalNodata(RaveFmiImage_t *self)
RaveFmiImage_t * RaveFmiImage_fromPolarVolume(PolarVolume_t *volume, int scannr, const char *quantity)
void RaveFmiImage_setOriginalOffset(RaveFmiImage_t *self, double offset)
int RaveFmiImage_initialize(RaveFmiImage_t *self, int width, int height)
double RaveFmiImage_getNodata(RaveFmiImage_t *self)
double RaveFmiImage_getOriginalGain(RaveFmiImage_t *self)
void RaveFmiImage_setUndetect(RaveFmiImage_t *self, double v)
RaveFmiImage_t * RaveFmiImage_fromRaveField(RaveField_t *field)
double RaveFmiImage_getOriginalOffset(RaveFmiImage_t *self)
RaveFmiImage_t * RaveFmiImage_fromPolarScan(PolarScan_t *scan, const char *quantity)
void RaveFmiImage_setOffset(RaveFmiImage_t *self, double offset)