14 #ifndef ossimKakaduJp2Reader_HEADER 15 #define ossimKakaduJp2Reader_HEADER 1 27 #include <kdu_compressed.h> 39 class kdu_compressed_source;
41 class kdu_thread_queue;
46 struct kdu_channel_mapping;
174 virtual bool isOpen()
const;
183 virtual void closeEntry();
188 SIGNATURE_BOX_SIZE = 12,
189 GEOTIFF_UUID_SIZE = 16
264 void initializeTile();
275 bool loadTileFromCache(
const ossimIpt& origin,
285 bool loadTile(
const ossimIpt& origin);
292 bool configureChannelMapping();
virtual bool open()=0
Pure virtual open.
kdu_core::kdu_compressed_source * theJp2Source
ossimRefPtr< ossimImageData > theTile
ossimKakaduJp2Reader class for reading images with JPEG2000 (J2K) compressed blocks using kakadu libr...
Represents serializable keyword/value map.
virtual ossim_uint32 getNumberOfOutputBands() const
Returns the number of bands in a tile returned from this TileSource.
kdu_core::kdu_thread_queue * theOpenTileThreadQueue
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
virtual ossim_uint32 getNumberOfLines(ossim_uint32 resLevel=0) const =0
Pure virtual, derived classes must implement.
kdu_core::kdu_codestream theCodestream
virtual ossimString getClassName() const
std::vector< ossimIrect > theJp2TileDims
Tile dimensions for each level.
virtual ossimString getShortName() const
virtual ossim_uint32 getNumberOfDecimationLevels() const
This returns the total number of decimation levels.
virtual bool isOpen() const =0
Derived classes must implement this method to be concrete.
kdu_core::kdu_thread_env * theThreadEnv
virtual bool getOverviewTile(ossim_uint32 resLevel, ossimImageData *result)
Method to get an overview tile.
ossimRefPtr< ossimImageData > theCacheTile
kdu_supp::jp2_family_src * theJp2FamilySrc
virtual ossimRefPtr< ossimImageGeometry > getImageGeometry()
Returns the image geometry object associated with this tile source or NULL if non defined...
virtual ossim_uint32 getImageTileHeight() const =0
Returns the tile width of the image or 0 if the image is not tiled.
unsigned int ossim_uint32
ossimScalarType theScalarType
virtual ossimString getLongName() const
#define OSSIM_PLUGINS_DLL
virtual ossimRefPtr< ossimImageGeometry > getInternalImageGeometry() const
ossim_int32 ossimAppFixedCacheId
virtual ossim_uint32 getImageTileWidth() const =0
Returns the tile width of the image or 0 if the image is not tiled.
virtual ossimScalarType getOutputScalarType() const
This will be used to query the output pixel type of the tile source.
This class defines an abstract Handler which all image handlers(loaders) should derive from...
std::vector< ossimIrect > theJp2Dims
Has sub image offset.
virtual ossim_uint32 getNumberOfSamples(ossim_uint32 resLevel=0) const =0
Pure virtual, derived classes must implement.
virtual ossim_uint32 getNumberOfInputBands() const =0
ossimAppFixedTileCache::ossimAppFixedCacheId theCacheId
Cache initialized to image rect with sub image offset.
virtual ossimRefPtr< ossimImageData > getTile(const ossimIpt &origin, ossim_uint32 resLevel=0)
ossim_uint32 theMinDwtLevels
kdu_supp::kdu_channel_mapping * theChannels
ossim_uint32 theNumberOfBands