OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimOpjNitfReader.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: David Burken
6 //
7 // Description: Class declaration for NITF reader for j2k images using
8 // OpenJPEG library.
9 //
10 // $Id$
11 //----------------------------------------------------------------------------
12 #ifndef ossimOpjNitfReader_HEADER
13 #define ossimOpjNitfReader_HEADER 1
14 
17 // #include <ossimJ2kSizRecord.h>
18 // #include <ossimJ2kSotRecord.h>
19 
21 {
22 public:
23 
26 
28  virtual ~ossimOpjNitfReader();
29 
30 protected:
31 
36  virtual bool canUncompress(const ossimNitfImageHeader* hdr) const;
37 
41  virtual void initializeReadMode();
42 
46  virtual void initializeCompressedBuf();
47 
54  virtual bool scanForJpegBlockOffsets();
55 
63 
64 private:
65 
66 TYPE_DATA
67 };
68 
69 #endif /* #ifndef ossimOpjNitfReader_HEADER */
ossim_uint32 x
virtual bool uncompressJpegBlock(ossim_uint32 x, ossim_uint32 y)
Uncompresses a jpeg block using the jpeg-6b library.
ossim_uint32 y
virtual bool canUncompress(const ossimNitfImageHeader *hdr) const
#define TYPE_DATA
Definition: ossimRtti.h:339
unsigned int ossim_uint32
#define OSSIM_PLUGINS_DLL
virtual void initializeCompressedBuf()
Initializes the data member theCompressedBuf.
virtual bool scanForJpegBlockOffsets()
scans the file storing in offsets in "theNitfBlockOffset" and block sizes in "theNitfBlockSize".
virtual void initializeReadMode()
Initializes the data member "theReadMode" from the current entry.