Rogue Wave Views Maps Package API Reference Guide |
Rogue Wave Views Documentation Home |
This class is the base class for feature iterators. More...
#include <ilviews/maps/mapfeature.h>
Public Member Functions | |
virtual IlvClassInfo * | getClassInfo () const =0 |
Returns the class information for this feature iterator. More... | |
virtual IlvFeatureRenderer * | getDefaultFeatureRenderer (IlvDisplay *display)=0 |
Returns the default renderer for this feature iterator. More... | |
virtual IlvMapsError | getInitStatus () const =0 |
Checks the initialization status of this feature iterator. More... | |
virtual IlBoolean | getLowerRightCorner (IlvCoordinate &result) const =0 |
Computes the lower right corner of the rectangle containing all the map features of this iterator. More... | |
virtual const IlvMapFeature * | getNextFeature (IlvMapsError &status)=0 |
Returns the next map feature of the iterator. More... | |
virtual const IlvProjection * | getProjection () const =0 |
Returns the projection in which the geometric coordinates of the map features are expressed. More... | |
virtual IlBoolean | getUpperLeftCorner (IlvCoordinate &result) const =0 |
Computes the upper left corner of the rectangle containing all the map features of this iterator. More... | |
virtual void | setSourceProjection (IlvProjection *projection) |
Sets the projection of geometries generated by this feature iterator. More... | |
Static Public Member Functions | |
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 the base class for feature iterators.
Library: ilvmaps
A feature iterator is a convenient interface to access various map feature sources transparently. Feature iterators can be implemented by:
IlvMapFeature
|
static |
Returns the class information of the class.
IlvClassInfo
of the class.
|
static |
Returns the address of the class information of the class.
This function is used when subclassing IlvMapFeatureIterator
.
IlvClassInfo
of the class.
|
pure virtual |
Returns the class information for this feature iterator.
|
pure virtual |
Returns the default renderer for this feature iterator.
Returns a renderer that can be used to translate the map features returned by this iterator into graphic objects. Feature iterators that store some rendering information in the attributes of the map features, such as color, text font, line thickness and so on, can return a specific renderer which is able to take these attributes into account during the rendering process.
display | The display that is used by the returned renderer. |
Implemented in IlvShapeFileReader, IlvShapeSHPReader, IlvObjectSDOFeatureIterator, IlvS57Loader, IlvCADRGFrameReader, IlvImageReader, IlvDTEDReader, IlvGeoTIFFReader, and IlvSDOFeatureIterator.
|
pure virtual |
Checks the initialization status of this feature iterator.
Implemented in IlvShapeFileReader, IlvObjectSDOFeatureIterator, IlvSDOFeatureIterator, IlvShapeSHPReader, IlvImageReader, IlvS57Loader, IlvGeoTIFFReader, IlvDTEDReader, and IlvCADRGFrameReader.
|
pure virtual |
Computes the lower right corner of the rectangle containing all the map features of this iterator.
result | Set on return to the lower right corner of the rectangle containing all the map features of this iterator. |
IlFalse
if lower right is unknown. Implemented in IlvObjectSDOFeatureIterator, IlvShapeFileReader, IlvS57Loader, IlvShapeSHPReader, IlvImageReader, IlvSDOFeatureIterator, IlvCADRGFrameReader, IlvGeoTIFFReader, and IlvDTEDReader.
|
pure virtual |
Returns the next map feature of the iterator.
status | Set on return to the status of the operation. This status is IlvMaps::NoError() if no error occurs. |
0
if the iteration is finished. The returned feature is owned by the feature iterator. Implemented in IlvObjectSDOFeatureIterator, IlvShapeFileReader, IlvShapeSHPReader, IlvCADRGFrameReader, IlvSDOFeatureIterator, IlvS57Loader, IlvImageReader, IlvGeoTIFFReader, and IlvDTEDReader.
|
pure virtual |
Returns the projection in which the geometric coordinates of the map features are expressed.
0
if the feature iterator returns ungeoreferenced map features. Implemented in IlvShapeFileReader, IlvObjectSDOFeatureIterator, IlvShapeSHPReader, IlvS57Loader, IlvGeoTIFFReader, IlvCADRGFrameReader, IlvImageReader, IlvDTEDReader, and IlvSDOFeatureIterator.
|
pure virtual |
Computes the upper left corner of the rectangle containing all the map features of this iterator.
result | Set on return to the upper left corner of the rectangle containing all the map features of this iterator. |
IlFalse
if upper left is unknown. Implemented in IlvShapeFileReader, IlvObjectSDOFeatureIterator, IlvS57Loader, IlvShapeSHPReader, IlvImageReader, IlvCADRGFrameReader, IlvSDOFeatureIterator, IlvGeoTIFFReader, and IlvDTEDReader.
|
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 in IlvObjectSDOFeatureIterator, IlvShapeFileReader, IlvShapeSHPReader, IlvGeoTIFFReader, IlvImageReader, and IlvSDOFeatureIterator.
© Copyright 2018, 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.