10 #ifndef ossimJpipHandler_HEADER 11 #define ossimJpipHandler_HEADER 19 #include <kdu_cache.h> 20 #include <kdu_region_decompressor.h> 21 #include <kdu_client.h> 22 #include <kdu_compressed.h> 38 typedef std::vector<ossimAppFixedTileCache::ossimAppFixedCacheId>
RLevelCacheList;
44 virtual bool isOpen()
const;
75 void showBoxes(kdu_supp::jp2_input_box* pParentBox=0);
82 bool loadClient(kdu_supp::kdu_client* client, kdu_supp::kdu_window& window);
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
virtual bool isImageTiled() const
Indicates whether or not the image is tiled internally.
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
ossimRefPtr< ossimImageData > getTileAtRes(const ossimIrect &rect, ossim_uint32 resLevel=0)
RLevelCacheList m_rlevelBlockCache
void performRlevelSetup(kdu_core::kdu_codestream &codestream)
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
Represents serializable keyword/value map.
virtual bool isOpen() const
Derived classes must implement this method to be concrete.
std::vector< ossimIrect > RectList
void showBoxes(kdu_supp::jp2_input_box *pParentBox=0)
virtual void extractBoxes(BoxList &boxList)
kdu_supp::kdu_client * m_client
ossimRefPtr< ossimHttpRequest > m_request
std::vector< Box > BoxList
virtual ossim_uint32 getImageTileHeight() const
Returns the tile width of the image or 0 if the image is not tiled.
RLevelBlockSizeList m_rlevelTileSize
virtual ossimScalarType getOutputScalarType() const
This will be used to query the output pixel type of the tile source.
virtual ossim_uint32 getNumberOfInputBands() const
unsigned short ossim_uint16
virtual ossim_uint32 getImageTileWidth() const
Returns the tile width of the image or 0 if the image is not tiled.
virtual void close()
Deletes the overview and clears the valid image vertices.
kdu_supp::jp2_family_src m_jp2Family
std::vector< ossimIpt > RLevelBlockSizeList
std::vector< ossimString > StringList
virtual ossimRefPtr< ossimImageGeometry > getImageGeometry()
Returns the image geometry object associated with this tile source or NULL if non defined...
unsigned int ossim_uint32
ossimRefPtr< ossimImageData > m_tile
void initializeRlevelCache()
std::vector< kdu_core::kdu_byte > ByteBuffer
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
ossim_uint32 m_nInputBands
virtual ~ossimKakaduJpipHandler()
ossim_uint32 m_nQualityLayers
virtual bool open()
Pure virtual open.
This class defines an abstract Handler which all image handlers(loaders) should derive from...
virtual ossim_uint32 getNumberOfSamples(ossim_uint32 resLevel=0) const
Pure virtual, derived classes must implement.
bool loadClient(kdu_supp::kdu_client *client, kdu_supp::kdu_window &window)
virtual ossim_uint32 getNumberOfOutputBands() const
Returns the number of bands in a tile returned from this TileSource.
ossim_uint32 m_nOutputBands
RectList m_overviewDimensions
bool makeConnectionIfNeeded(kdu_supp::kdu_client *client)
int convertClassIdToKdu(int id)
virtual ossim_uint32 getNumberOfDecimationLevels() const
This returns the total number of decimation levels.
kdu_supp::kdu_client * m_headerClient
virtual void setProperty(ossimRefPtr< ossimProperty > property)
virtual ossim_uint32 getNumberOfLines(ossim_uint32 resLevel=0) const
Pure virtual, derived classes must implement.
virtual ossimRefPtr< ossimImageData > getTile(const ossimIrect &rect, ossim_uint32 resLevel=0)
std::vector< ossimAppFixedTileCache::ossimAppFixedCacheId > RLevelCacheList