Rogue Wave Views
Maps Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvGeoTIFFTileLoader Class Reference

This class is an IlvTileLoader specialized for reading GeoTIFF files. More...

#include <ilviews/maps/format/geotiff/gtifftloader.h>

Inheritance diagram for IlvGeoTIFFTileLoader:
IlvMapTileLoader IlvTileLoader

Public Member Functions

 IlvGeoTIFFTileLoader (const char *filename, const IlvMapAdapter *adapter)
 Initializes a new IlvGeoTIFFTileLoader instance. More...
 
virtual IlvFeatureRenderergetDefaultFeatureRenderer (IlvDisplay *)
 Returns the default feature renderer used for the rendering of map features of the current tile. More...
 
virtual IlvMapFeatureIteratorgetFeatureIterator (IlvTile *)
 Returns the feature iterator to read features for the specified tile. More...
 
virtual IlvMapInfogetMapInfo ()
 Returns an IlvMapInfo constructed from the IlvMapAdapter given at construction time. More...
 
virtual IlvRectgetTileOrigin ()
 Returns the tile origin. More...
 
virtual IlBoolean isPersistent () const
 Returns IlTrue if this tile loader must be saved by a tile controller. More...
 
- Public Member Functions inherited from IlvMapTileLoader
virtual IlvFeatureRenderergetFeatureRenderer (IlvDisplay *display)
 Returns the renderer to use with this tile loader. More...
 
IlvMapsError getInitStatus () const
 Checks the initialization status of this tile loader. More...
 
virtual IlBoolean isAttachingAttributes () const
 Test if this tile loader is attaching attributes. More...
 
IlBoolean isOwnerOfRenderer () const
 Returns whether the tile loader is owner of its feature renderer or not. More...
 
virtual IlvMapsError load (IlvTile *tile)
 Method called when a tile has to be loaded. More...
 
virtual void release (IlvTile *tile)
 Releases the specified tile. More...
 
virtual void setAttachingAttributes (IlBoolean set)
 Specifies whether this tile loader is attaching attributes to the graphic objects it loads. More...
 
virtual void setFeatureRenderer (IlvFeatureRenderer *renderer, IlBoolean owner=IlFalse)
 Sets the renderer to use with this tile loader. More...
 
- Public Member Functions inherited from IlvTileLoader
virtual void controllerDeleted (IlvTileController *controller)
 Called when the controller is deleted. More...
 
virtual void tileDeleted (IlvTile *tile)
 Called when a tile is deleted during the controller destruction. More...
 

Additional Inherited Members

- Protected Member Functions inherited from IlvMapTileLoader
 IlvMapTileLoader ()
 Constructor. More...
 
void setInitStatus (IlvMapsError status)
 Sets the error status of the tile loader. More...
 

Detailed Description

This class is an IlvTileLoader specialized for reading GeoTIFF files.

Library: ilvmaps

This class inherits most of its behaviors from an IlvMapTileLoader.

Constructor & Destructor Documentation

§ IlvGeoTIFFTileLoader()

IlvGeoTIFFTileLoader::IlvGeoTIFFTileLoader ( const char *  filename,
const IlvMapAdapter adapter 
)

Initializes a new IlvGeoTIFFTileLoader instance.

Parameters
filenameThe file name.
adapterThe map adapter to use.

Member Function Documentation

§ getDefaultFeatureRenderer()

virtual IlvFeatureRenderer* IlvGeoTIFFTileLoader::getDefaultFeatureRenderer ( IlvDisplay display)
virtual

Returns the default feature renderer used for the rendering of map features of the current tile.

This default feature renderer is used when the user does not set a feature renderer.

Parameters
displayThe IlvDisplay
Returns
The default feature renderer.

Implements IlvMapTileLoader.

§ getFeatureIterator()

virtual IlvMapFeatureIterator* IlvGeoTIFFTileLoader::getFeatureIterator ( IlvTile tile)
virtual

Returns the feature iterator to read features for the specified tile.

Parameters
tileThe tile to load.
Returns
The feature iterator to load features for this tile, or 0 if no features are to be loaded.

Implements IlvMapTileLoader.

§ getMapInfo()

virtual IlvMapInfo* IlvGeoTIFFTileLoader::getMapInfo ( )
virtual

Returns an IlvMapInfo constructed from the IlvMapAdapter given at construction time.

Returns
A pointer to the IlvMapInfo instance.

Implements IlvMapTileLoader.

§ getTileOrigin()

virtual IlvRect& IlvGeoTIFFTileLoader::getTileOrigin ( )
virtual

Returns the tile origin.

Returns
The tile origin.

§ isPersistent()

virtual IlBoolean IlvGeoTIFFTileLoader::isPersistent ( ) const
virtual

Returns IlTrue if this tile loader must be saved by a tile controller.

Returns
IlTrue if this tile loader must be saved.

Implements IlvMapTileLoader.


© 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.