int tsmWriteVtile ( TsmConnection oiConnect, TsmConnection demConnect, int tx, int ty, int iLevel, TsmConnectionParams params )

Creates a single VRML vtile file

Documentation

Creates a single VRML vtile file.

Writes a single VRML vtile file at level iLevel and location (tx,ty). A vtile file contains all of the geometry and links to the texture map imagery for one tile in a multi-resolution pyramid. You supply a DEM and OI connection to provide the elevation and imagery data.

You can control the generation of the vtile through a number of optional parameters in the TsmConnectionParams structure. You can set these parameters with the tsmSetParam call. The following parameters are currently supported:

Returns:
TRUE if all went just peachy, FALSE if it went pear shaped
Parameters:
oiConnect - is a connection to a OI pyramid dataset.
demConnect - is a connection to the corresponding DEM pyramid dataset.
tx - is the X position of the tile at this level
ty - is the Y position of the tile at this level
level - is the TerraVision level of the OI pyramid for this tile.
params - is a pointer to a TsmConnectionParams structure.
Author:
Nat Bletter
Version:
8 May 1998
See Also:
tsmConnect, tsmSetParam, tsmWriteAllVtiles


TSMAPI_RELEASE 2.1 - Release Date: 2001/01/10 19:01:12

Back to tsmApi Home Page