OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimTiledImagePatch.h
Go to the documentation of this file.
1 //---
2 // License: MIT
3 //
4 // Author: David Burken
5 //
6 // Description: See class declaration below.
7 //
8 //---
9 // $Id$
10 
11 #ifndef ossimTiledImagePatch_HEADER
12 #define ossimTiledImagePatch_HEADER 1
13 
16 #include <ossim/base/ossimIpt.h>
18 #include <vector>
19 
20 class ossimIrect;
21 
30 {
31 public:
32 
35 
39  virtual void initialize();
40 
46  virtual ossimRefPtr<ossimImageData> getTile(const ossimIrect& tileRect,
47  ossim_uint32 resLevel=0);
48 
60  virtual bool getTile(ossimImageData* result, ossim_uint32 resLevel=0);
61 
63  virtual ossimString getClassName() const;
64 
66  virtual ossimString getLongName() const;
67 
69  virtual ossimString getShortName() const;
70 
72  const ossimIpt& getInputTileSize() const;
73 
80  bool setInputTileSize( const ossimIpt& tileSize );
81 
88  virtual bool loadState(const ossimKeywordlist& kwl,
89  const char* prefix=0);
96  virtual bool saveState(ossimKeywordlist& kwl,
97  const char* prefix=0)const;
98 
99 protected:
100 
102  virtual ~ossimTiledImagePatch();
103 
104 private:
105 
107  void allocateTile();
108 
110  bool isValidRLevel(ossim_uint32 resLevel) const;
111 
114 
117 
120 
121 TYPE_DATA
122 };
123 
124 #endif /* #ifndef ossimTiledImagePatch_HEADER */
#define OSSIMDLLEXPORT
Represents serializable keyword/value map.
const ossimImageSource & operator=(const ossimImageSource &)
Class to fill a patch from input tiles requested on even tile boundaries with a tile size typically m...
virtual ossimString getClassName() const
Definition: ossimObject.cpp:64
virtual ossimString getShortName() const
Definition: ossimObject.cpp:48
#define TYPE_DATA
Definition: ossimRtti.h:339
unsigned int ossim_uint32
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 ossimString getLongName() const
Definition: ossimObject.cpp:53
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
ossimRefPtr< ossimImageData > m_tile
virtual ossimRefPtr< ossimImageData > getTile(const ossimIpt &origin, ossim_uint32 resLevel=0)