WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
LritFile.h
1#ifndef _WINC_LRITFILE
2#define _WINC_LRITFILE
3
4#include <WXP/Date.h>
5#include <WXP/File.h>
6#include <WXP/Image.h>
7
8namespace WXP {
9 /*
10 Product description information
11 */
12 class LritFile {
13 File file;
14 bool opened;
15 Date date;
16
17 int type;
18 int len;
19 int hdr_len;
20 int bytes;
21 // Product description
22 int data_type;
23 int bits_pixel;
24 int ncol;
25 int nrow;
26 int nseg;
27 int seg;
28 int compress;
29 // Projection data
30 char pname[33];
31 char info[100];
32 int cfac, lfac;
33 int coff, loff;
34 int lseg;
35
36 int xdir;
37 int ydir;
38
39 public:
40 LritFile();
41 LritFile( const char *filename );
42 ~LritFile();
43 int init();
44 int open( const char *filename );
45 int close();
46 bool isOpen();
47 int getHeader();
48 int read( Image &image );
49 int readHeader( Image &image );
50 int readData( Image &image );
51
52 };
53}
54#endif
This class stores date and time information.
Definition Date.h:8
This class accesses files.
Definition File.h:15
This class defines an image.
Definition Image.h:19
This class reads and decodes LRIT satellite data from file.
Definition LritFile.h:12
int read(Image &image)
Definition LritFile.cc:254
~LritFile()
Definition LritFile.cc:45
int getHeader()
Definition LritFile.cc:93
int open(const char *filename)
Definition LritFile.cc:64
bool isOpen()
Definition LritFile.cc:77
int readHeader(Image &image)
Definition LritFile.cc:189
int close()
Definition LritFile.cc:84
LritFile()
Definition LritFile.cc:29
int init()
Definition LritFile.cc:52
All WXP classes fall under the WXP namespace.
Definition Angle.h:4