27 m_inputTileSize.makeNan();
111 ossimIpt inputOrigin = clip_rect.
ul() - input_rect.
ul();
118 inputOrigin += input_rect.
ul();
177 if ( ( tileSize.
hasNans() == false ) && (tileSize.
x > 0) && (tileSize.
y > 0) )
191 std::string myPrefix = (prefix ? prefix :
"" );
192 std::string key =
"tile_size";
193 std::string value = kwl.
findKey( myPrefix, key );
203 std::string myPrefix = (prefix ? prefix :
"" );
204 std::string key =
"tile_size";
ossimString toString() const
virtual bool isSourceEnabled() const
virtual ~ossimTiledImagePatch()
virtual protected destructor
virtual ossimIrect getBoundingRect(ossim_uint32 resLevel=0) const
This will return the bounding rect of the source.
ossimTiledImagePatch()
default constructor
virtual void setImageRectangle(const ossimIrect &rect)
Represents serializable keyword/value map.
const std::string & findKey(const std::string &key) const
Find methods that take std::string(s).
virtual ossim_uint32 getTileHeight() const
Returns the default processing tile height.
virtual ossimString getClassName() const
Class to fill a patch from input tiles requested on even tile boundaries with a tile size typically m...
const ossimIpt & getInputTileSize() const
virtual ossimRefPtr< ossimImageData > getTile(const ossimIrect &tileRect, ossim_uint32 resLevel=0)
Returns a pointer to a tile given an origin representing the upper left corner of the tile to grab fr...
const ossimIpt & ul() const
virtual ossimDataObjectStatus getDataObjectStatus() const
void addPair(const std::string &key, const std::string &value, bool overwrite=true)
virtual void initialize()
Initializes bounding rects and tile size(if not set) from input.
virtual ossim_uint32 getNumberOfDecimationLevels() const
Will return the number of resolution levels.
virtual ossimString getLongName() const
bool intersects(const ossimIrect &rect) const
virtual void initialize()
Initialize the data buffer.
virtual ossim_uint32 getTileWidth() const
Returns the default processing tile width.
virtual void initialize()
bool isValidRLevel(ossim_uint32 resLevel) const
Test the bounds of resLevel.
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
void allocateTile()
Allocates the tile.
virtual void loadTile(const void *src, const ossimIrect &src_rect, ossimInterleaveType il_type)
static ossimImageDataFactory * instance()
ossimTiledImagePatch & operator=(const ossimTiledImagePatch &)
Private to disallow use...
virtual ossimDataObjectStatus validate() const
ossimImageSource * theInputConnection
unsigned int ossim_uint32
virtual ossimIrect getImageRectangle() const
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
const ossimIpt & lr() const
virtual ossimRefPtr< ossimImageData > create(ossimSource *owner, ossimScalarType scalar, ossim_uint32 bands=1) const
ossimIrect clipToRect(const ossimIrect &rect) const
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load the class state from a keyword list.
void toPoint(const std::string &s)
Initializes this point from string.
virtual void makeBlank()
Initializes data to null pixel values.
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
#define RTTI_DEF1(cls, name, b1)
bool setInputTileSize(const ossimIpt &tileSize)
Sets the input tile size.
virtual ossimString getShortName() const
const std::string & string() const
virtual ossimRefPtr< ossimImageData > getTile(const ossimIpt &origin, ossim_uint32 resLevel=0)