rwlogo

Rogue Wave Views
Maps Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvImageLayer Class Reference

This class is an IlvTiledLayer specialized for loading a set of images, each image representing a tile in a tiled data set. More...

#include <ilviews/maps/format/image/imglayer.h>

Inheritance diagram for IlvImageLayer:
IlvTiledLayer IlvManagerLayer IlvIndexedSet

Public Member Functions

 IlvImageLayer (IlvImageTileLoader *tileLoader, IlvRect &tileOrigin, IlvTileCache *cache=0)
 Constructor. More...
 
IlvImageTileLoadergetTileLoader () const
 Retrieves the IlvImageTileLoader given at construction time. More...
 
- Public Member Functions inherited from IlvTiledLayer
 IlvTiledLayer (const IlvRect &tileOrigin, IlvTileCache *cache=0, IlBoolean startEnabled=IlTrue, IlUShort maxInList=IlvMaxObjectsInList, IlUShort maxInNode=IlvMaxObjectsInList)
 Creates an instance of tiled layer. More...
 
virtual void draw (IlvPort *port, const IlvTransformer *t=0, const IlvRegion *region=0, const IlvRegion *clip=0) const
 Draws the content of the layer. More...
 
void fitTransformerToTile (IlvView *view, IlInt row, IlInt column) const
 Sets the transformer of view so that the specified tile is fully visible. More...
 
IlvViewgetDebugView () const
 Returns the debug view of the layer if it has been specified. More...
 
virtual IlvMapsError getInitStatus () const
 Returns the initialization status of this tiled layer. More...
 
const IlvRectgetSize () const
 Returns the size of the layer if it has been specified. More...
 
IlvTileControllergetTileController () const
 Returns the tile controller of the layer. More...
 
IlvTileLoadergetTileLoader () const
 Returns the tile loader of the layer. More...
 
IlBoolean isDebugDrawingOnTop ()
 Specifies whether the debug graphics are to be drawn above or under the graphics. More...
 
void setDebugDrawingOnTop (IlBoolean set)
 Tells the debug view if it should draw the drawing on the top. More...
 
void setDebugView (IlvView *view, IlvColor *borderColor=0, IlvColor *lockedTilesColor=0, IlvColor *cachedTilesColor=0)
 Sets a debug view in which the layer will draw its tiles. More...
 
void setSize (const IlvRect &rect)
 Specifies the area in which the tiles are contained. More...
 
void setTileLoader (IlvTileLoader *tileLoader)
 Sets the tile loader of the layer. More...
 
void start ()
 Starts the load-on-demand process.
 

Additional Inherited Members

- Static Public Member Functions inherited from IlvTiledLayer
static IlvTiledLayerGetFirstTiledLayer (IlvManager *manager)
 Returns the first IlvTiledLayer of the manager or a null pointer if the manager does not contain any IlvTiledLayer. More...
 
static void StartAll (IlvManager *manager)
 Starts all the tiled layers of the specified manager. More...
 
- Protected Member Functions inherited from IlvTiledLayer
virtual void setInitStatus (IlvMapsError status)
 Sets the initialization status of this layer. More...
 

Detailed Description

This class is an IlvTiledLayer specialized for loading a set of images, each image representing a tile in a tiled data set.

Library: ilvmaps

You can use the IlvImageLayer if you want the layer to be saved in an .ilv file.

Constructor & Destructor Documentation

IlvImageLayer::IlvImageLayer ( IlvImageTileLoader tileLoader,
IlvRect tileOrigin,
IlvTileCache cache = 0 
)

Constructor.

Constructs an IlvImageLayer from an IlvImageTileLoader and the tile origin. This tiled layer is to be used if you want the layer to be saved in an .ilv file.

See Also
IlvImageTileLoader.

Member Function Documentation

IlvImageTileLoader* IlvImageLayer::getTileLoader ( ) const

Retrieves the IlvImageTileLoader given at construction time.

Returns
The IlvImageTileLoader.

© Copyright 2014, 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.