#include <OutFile.h>
|
| enum | ColorType { Grayscale,
ColorIndex,
RGB
} |
| |
| enum | ScaleType { Linear,
Log,
ArcTan
} |
| |
| enum | DataStorage {
ByteDS,
UByteDS,
ShortDS,
UShortDS,
IntDS,
UIntDS,
FloatDS,
DoubleDS
} |
| |
| enum | PixValues { landPix = 254,
fillPix = 255
} |
| |
| enum | LatLonType { LatLonOff,
LatLon1D,
LatLon2D
} |
| |
|
| virtual | ~OutFile () |
| |
| virtual void | setSize (int32_t width, int32_t height) |
| |
| virtual int32_t | getWidth () const |
| |
| virtual int32_t | getHeight () const |
| |
| virtual void | setFileName (std::string fileName) |
| |
| virtual std::string | getFileName () |
| |
| virtual bool | open ()=0 |
| |
| virtual bool | close ()=0 |
| |
| virtual double | getMinValue (int32_t prod=0) |
| |
| virtual double | getMaxValue (int32_t prod=0) |
| |
| virtual std::string | getScaleTypeString (int32_t prod=0) |
| |
| virtual void | setPixel (int32_t x, double val, int32_t prod=0) |
| |
| virtual void | setPixelRGB (int32_t x, float red, float green, float blue) |
| |
| virtual void | setTransparency () |
| |
| virtual void | setQuality (int32_t x, uint8_t val) |
| |
| virtual void | landPixel (int32_t x) |
| |
| virtual void | fillPixel (int32_t x) |
| |
| virtual void | missingPixel (int32_t x) |
| |
| virtual void | setLatLon (double *lat, double *lon) |
| |
| virtual void | writeLine ()=0 |
| |
| virtual bool | setPalette (const char *paletteName, bool applyMask) |
| |
| virtual void | setLandRGB (const char *rgb_land_string) |
| |
| virtual void | setMetaData (meta_l3bType *metaData) |
| |
| virtual meta_l3bType * | getMetadata () |
| |
| virtual int32_t | addProduct (productInfo_t *productInfo) |
| |
| virtual int32_t | getNumProducts () |
| |
| virtual void | setMapProjection (std::string projection) |
| |
| virtual void | setNumFilledPixels (int32_t num) |
| |
| virtual int32_t | getNumFilledPixels () |
| |
| virtual float | getPercentFilledPixels () |
| |
| virtual void | resetFileMinMax () |
| |
| virtual double | getFileMinVal () |
| |
| virtual double | getFileMaxVal () |
| |
| virtual void | setResolution (std::string resolutionStr) |
| |
| virtual void | setResolution (double resolution) |
| |
| virtual double | getResolution () |
| |
| virtual void | setQualityName (std::string qualName) |
| |
| std::string | getQualityName () |
| |
| virtual void | setQualityProcessing (bool val) |
| |
| virtual bool | getQualityProcessing () |
| |
| virtual void | setDeflate (int val) |
| |
| virtual int | getDeflate () |
| |
| void | setFullLatLon (bool val) |
| |
| void | setProj4Info (std::string projStr, double minX, double maxY) |
| |
Definition at line 45 of file OutFile.h.
◆ ColorType
| Enumerator |
|---|
| Grayscale | |
| ColorIndex | |
| RGB | |
Definition at line 48 of file OutFile.h.
◆ DataStorage
| Enumerator |
|---|
| ByteDS | |
| UByteDS | |
| ShortDS | |
| UShortDS | |
| IntDS | |
| UIntDS | |
| FloatDS | |
| DoubleDS | |
Definition at line 56 of file OutFile.h.
◆ LatLonType
| Enumerator |
|---|
| LatLonOff | |
| LatLon1D | |
| LatLon2D | |
Definition at line 64 of file OutFile.h.
◆ PixValues
| Enumerator |
|---|
| landPix | |
| fillPix | |
Definition at line 60 of file OutFile.h.
◆ ScaleType
| Enumerator |
|---|
| Linear | |
| Log | |
| ArcTan | |
Definition at line 52 of file OutFile.h.
◆ OutFile()
◆ ~OutFile()
◆ addProduct()
| int32_t addProduct |
( |
productInfo_t * |
productInfo | ) |
|
|
virtual |
Add a product for display type output files
- Parameters
-
| productInfo | info structure to copy |
- Returns
- the index for the new product
Reimplemented in OutFile_netcdf4, and OutFile_hdf4.
Definition at line 512 of file OutFile.cpp.
◆ addProductNonDisplay()
| int32_t addProductNonDisplay |
( |
productInfo_t * |
productInfo | ) |
|
|
protectedvirtual |
◆ close()
◆ fillPixel()
| void fillPixel |
( |
int32_t |
x | ) |
|
|
virtual |
◆ getDeflate()
| virtual int getDeflate |
( |
| ) |
|
|
inlinevirtual |
◆ getFileMaxVal()
| virtual double getFileMaxVal |
( |
| ) |
|
|
inlinevirtual |
◆ getFileMinVal()
| virtual double getFileMinVal |
( |
| ) |
|
|
inlinevirtual |
◆ getFileName()
◆ getHeight()
| int32_t getHeight |
( |
| ) |
const |
|
virtual |
◆ getMaxValue()
| virtual double getMaxValue |
( |
int32_t |
prod = 0 | ) |
|
|
inlinevirtual |
◆ getMetadata()
◆ getMinValue()
| virtual double getMinValue |
( |
int32_t |
prod = 0 | ) |
|
|
inlinevirtual |
◆ getNumFilledPixels()
| int32_t getNumFilledPixels |
( |
| ) |
|
|
virtual |
◆ getNumProducts()
| virtual int32_t getNumProducts |
( |
| ) |
|
|
inlinevirtual |
◆ getPercentFilledPixels()
| float getPercentFilledPixels |
( |
| ) |
|
|
virtual |
◆ getQualityName()
◆ getQualityProcessing()
| bool getQualityProcessing |
( |
| ) |
|
|
virtual |
◆ getResolution()
| virtual double getResolution |
( |
| ) |
|
|
inlinevirtual |
◆ getScaleTypeString()
◆ getWidth()
| int32_t getWidth |
( |
| ) |
const |
|
virtual |
◆ landPixel()
| void landPixel |
( |
int32_t |
x | ) |
|
|
virtual |
◆ missingPixel()
| void missingPixel |
( |
int32_t |
x | ) |
|
|
virtual |
◆ open()
Open the output file. Make sure you have set these functions first: setSize, setScale, setPalette, setMetaData, setProductInfo, setQualityProcessing.
- Parameters
-
- Returns
- true if successful.
Implemented in OutFile_netcdf4, OutFile_hdf4, OutFile_tiff, OutFile_png_rgb, OutFile_png, OutFile_ppm_rgb, OutFile_ppm, and OutFile_pgm.
◆ resetFileMinMax()
◆ setDeflate()
| virtual void setDeflate |
( |
int |
val | ) |
|
|
inlinevirtual |
◆ setFileName()
◆ setFullLatLon()
| void setFullLatLon |
( |
bool |
val | ) |
|
|
inline |
◆ setLandRGB()
| void setLandRGB |
( |
const char * |
rgb_land_string | ) |
|
|
virtual |
◆ setLatLon()
| void setLatLon |
( |
double * |
lat, |
|
|
double * |
lon |
|
) |
| |
|
virtual |
◆ setMapProjection()
◆ setMetaData()
◆ setNumFilledPixels()
| void setNumFilledPixels |
( |
int32_t |
num | ) |
|
|
virtual |
◆ setPalette()
◆ setPixel()
| void setPixel |
( |
int32_t |
x, |
|
|
double |
val, |
|
|
int32_t |
prod = 0 |
|
) |
| |
|
virtual |
◆ setPixelRGB()
| void setPixelRGB |
( |
int32_t |
x, |
|
|
float |
red, |
|
|
float |
green, |
|
|
float |
blue |
|
) |
| |
|
virtual |
◆ setProj4Info()
| void setProj4Info |
( |
std::string |
projStr, |
|
|
double |
minX, |
|
|
double |
maxY |
|
) |
| |
◆ setQuality()
| void setQuality |
( |
int32_t |
x, |
|
|
uint8_t |
val |
|
) |
| |
|
virtual |
◆ setQualityName()
◆ setQualityProcessing()
| void setQualityProcessing |
( |
bool |
val | ) |
|
|
virtual |
◆ setResolution() [1/2]
| virtual void setResolution |
( |
double |
resolution | ) |
|
|
inlinevirtual |
◆ setResolution() [2/2]
| virtual void setResolution |
( |
std::string |
resolutionStr | ) |
|
|
virtual |
◆ setSize()
| void setSize |
( |
int32_t |
width, |
|
|
int32_t |
height |
|
) |
| |
|
virtual |
◆ setTransparency()
◆ writeLine()
| virtual void writeLine |
( |
| ) |
|
|
pure virtual |
◆ badPixelValue
| constexpr double badPixelValue = BAD_FLT |
|
staticconstexprprotected |
◆ blue
◆ colorType
◆ currentLine
◆ deflate
◆ fileMaxVal
◆ fileMinVal
◆ fileName
◆ fullLatLon
◆ green
◆ height
◆ index_2d_3d
| std::unordered_map<size_t, size_t> index_2d_3d |
|
protected |
◆ landPixelValue
◆ latData
◆ lonData
◆ mapProjection
◆ metaData
◆ pixscale
◆ prod2d_indexes_last_index
| std::unordered_map<std::string, size_t> prod2d_indexes_last_index |
|
protected |
◆ product_3d_already_set
| std::unordered_map<std::string, size_t> product_3d_already_set |
|
protected |
◆ productStuff
◆ proj4String
◆ qualityData
◆ qualityName
◆ qualityUnused
| constexpr uint8_t qualityUnused = 255 |
|
staticconstexprprotected |
◆ red
◆ resolution
◆ rgb_land
◆ samplesperpixel
◆ slice_2d_in_wv3d
| std::unordered_map<size_t, size_t> slice_2d_in_wv3d |
|
protected |
◆ tiepoints
◆ transparent
◆ width
The documentation for this class was generated from the following files:
- /gfs-oceanweb/web/ocssw/ocssw_src/src/l3mapgen/OutFile.h
- /gfs-oceanweb/web/ocssw/ocssw_src/src/l3mapgen/OutFile.cpp