28 "ossimSubImageTileSource",
31 static const char* SUBIMAGE_OFFSET_X =
"offset_x";
32 static const char* SUBIMAGE_OFFSET_Y =
"offset_y";
36 theSubImageOffset(0, 0),
76 if(!decimation_factor.
hasNans())
143 if(!decimation_factor.
hasNans())
145 rect*=decimation_factor;
172 vector<ossimIpt>::iterator vertex = vertices.begin();
174 while (vertex != vertices.end())
193 const char* offset_x = kwl.
find(prefix, SUBIMAGE_OFFSET_X);
194 const char* offset_y = kwl.
find(prefix, SUBIMAGE_OFFSET_Y);
210 const char* prefix)
const
virtual ossimRefPtr< ossimImageData > getTile(const ossimIrect &rect, ossim_uint32 rr_level=0)
virtual ossimIrect getBoundingRect(ossim_uint32 resLevel=0) const
This will return the bounding rect of the source.
virtual void setImageRectangle(const ossimIrect &rect)
Represents serializable keyword/value map.
const char * find(const char *key) const
virtual ossimIrect getBoundingRect(ossim_uint32 resLevel=0) const
virtual void initialize()
const ossimIpt & ul() const
virtual ~ossimSubImageTileSource()
virtual ossimObject * dup() const
virtual void initialize()
ossimRefPtr< ossimImageData > theTile
void add(const char *prefix, const ossimKeywordlist &kwl, bool overwrite=true)
virtual void loadTile(const void *src, const ossimIrect &src_rect, ossimInterleaveType il_type)
virtual ossimDataObjectStatus validate() const
virtual void getValidImageVertices(std::vector< ossimIpt > &validVertices, ossimVertexOrdering ordering=OSSIM_CLOCKWISE_ORDER, ossim_uint32 resLevel=0) const
ordering specifies how the vertices should be arranged.
ossimSubImageTileSource()
ossimImageSource * theInputConnection
unsigned int ossim_uint32
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
RTTI_DEF1(ossimSubImageTileSource, "ossimSubImageTileSource", ossimImageSourceFilter)
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 void setOrigin(const ossimIpt &origin)
virtual void makeBlank()
Initializes data to null pixel values.
long toLong() const
toLong's deprecated, please use the toInts...
virtual void getValidImageVertices(vector< ossimIpt > &validVertices, ossimVertexOrdering ordering=OSSIM_CLOCKWISE_ORDER, ossim_uint32 resLevel=0) const
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
ossimIpt theSubImageOffset
virtual void getDecimationFactor(ossim_uint32 resLevel, ossimDpt &result) const
Will return the decimation factor for the given resolution level.
virtual ossimRefPtr< ossimImageData > getTile(const ossimIpt &origin, ossim_uint32 resLevel=0)