Rogue Wave Views Maps Package API Reference Guide |
Rogue Wave Views Documentation Home |
This class is an IlvMapFeatureIterator
specialized for reading image files. The supported image formats are those supported by Rogue Wave Views.
More...
#include <ilviews/maps/format/image/imgreader.h>
Public Member Functions | |
IlvImageReader (IlvDisplay *display, const char *filename, IlvCoordinate &ul, IlvCoordinate &lr) | |
Creates an instance of the image reader from a file name. More... | |
IlvImageReader (IlvDisplay *display, istream &input, IlvCoordinate &ul, IlvCoordinate &lr) | |
Creates an instance of the image reader from an istream . More... | |
IlvImageReader (IlvDisplay *display, IlIUrlStream &input, IlvCoordinate &ul, IlvCoordinate &lr) | |
Creates an instance of the image reader from an IlIUrlStream . More... | |
IlvFeatureRenderer * | getDefaultFeatureRenderer (IlvDisplay *display) |
Returns an instance of IlvDefaultFeatureRenderer . More... | |
virtual IlvMapImage * | getGeometry () |
Returns the IlvMapImage geometry. More... | |
virtual IlvMapsError | getInitStatus () const |
Checks the initialization status of this feature iterator. More... | |
virtual IlBoolean | getLowerRightCorner (IlvCoordinate &coordinate) const |
Returns the lower right corner of the rectangle containing all the map features of this iterator. More... | |
virtual const IlvMapFeature * | getNextFeature (IlvMapsError &status) |
Returns the next map feature of the iterator, or 0 if the iteration is finished. The returned feature is owned by the feature iterator. More... | |
const IlvProjection * | getProjection () const |
Returns the projection in which the geometric coordinates of the map features are expressed or 0 if the feature iterator returns ungeoreferenced map features. More... | |
virtual IlBoolean | getUpperLeftCorner (IlvCoordinate &coordinate) const |
Returns the upper left corner of the rectangle containing all the map features of this iterator. More... | |
void | setSourceProjection (IlvProjection *projection) |
Sets the projection of geometries generated by this feature iterator. More... | |
Public Member Functions inherited from IlvMapFeatureIterator | |
virtual IlvClassInfo * | getClassInfo () const =0 |
Returns the class information for this feature iterator. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from IlvMapFeatureIterator | |
static IlvClassInfo * | ClassInfo () |
Returns the class information of the class. More... | |
static IlvClassInfo ** | ClassInfoRef () |
Returns the address of the class information of the class. More... | |
This class is an IlvMapFeatureIterator
specialized for reading image files. The supported image formats are those supported by Rogue Wave Views.
Library: ilvmaps
IlvImageReader::IlvImageReader | ( | IlvDisplay * | display, |
const char * | filename, | ||
IlvCoordinate & | ul, | ||
IlvCoordinate & | lr | ||
) |
Creates an instance of the image reader from a file name.
Constructs an IlvImageReader
by specifying the name of the image file to read and the coordinates of the image.
display | The display. |
filename | The name of the image file. |
ul | The upper left coordinate of the image. |
lr | The lower right coordinate of the image. |
IlvImageReader::IlvImageReader | ( | IlvDisplay * | display, |
istream & | input, | ||
IlvCoordinate & | ul, | ||
IlvCoordinate & | lr | ||
) |
Creates an instance of the image reader from an istream
.
Constructs an IlvImageReader
by specifying a stream opened on the image file to read and the coordinates of the image.
display | The display. |
input | A stream opened on an image file. |
ul | The upper left coordinate of the image. |
lr | The lower right coordinate of the image. |
IlvImageReader::IlvImageReader | ( | IlvDisplay * | display, |
IlIUrlStream & | input, | ||
IlvCoordinate & | ul, | ||
IlvCoordinate & | lr | ||
) |
Creates an instance of the image reader from an IlIUrlStream
.
display | The display. |
input | A stream opened on an image URL. |
ul | The upper left coordinate of the image. |
lr | The lower right coordinate of the image. |
|
virtual |
Returns an instance of IlvDefaultFeatureRenderer
.
IlvDefaultImageRenderer
. Implements IlvMapFeatureIterator.
|
virtual |
Returns the IlvMapImage
geometry.
IlvMapImage
geometry. The geometry is owned by the reader.
|
virtual |
Checks the initialization status of this feature iterator.
Implements IlvMapFeatureIterator.
|
virtual |
Returns the lower right corner of the rectangle containing all the map features of this iterator.
IlFalse
if lower right is unknown. Implements IlvMapFeatureIterator.
|
virtual |
Returns the next map feature of the iterator, or 0
if the iteration is finished. The returned feature is owned by the feature iterator.
status | Stores the status of the operation. This status is IlvMaps::NoError() if no error occurs. |
Implements IlvMapFeatureIterator.
|
virtual |
Returns the projection in which the geometric coordinates of the map features are expressed or 0
if the feature iterator returns ungeoreferenced map features.
Implements IlvMapFeatureIterator.
|
virtual |
Returns the upper left corner of the rectangle containing all the map features of this iterator.
IlFalse
if upper left is unknown. Implements IlvMapFeatureIterator.
|
virtual |
Sets the projection of geometries generated by this feature iterator.
This method is to be used when feature source is not georeferenced. The default implementation of this method does nothing.
projection | The projection to be set. This projection becomes shared and is locked by this feature iterator. |
Reimplemented from IlvMapFeatureIterator.
© Copyright 2017, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.