jwo.landserf.process.io
Class VrmlIO

java.lang.Object
  extended byjwo.landserf.process.io.FileIO
      extended byjwo.landserf.process.io.VrmlIO

public class VrmlIO
extends FileIO

Contains a collection of static methods for writing VRML files.

Version:
2.2, 6th December, 2004.
Author:
Jo Wood

Field Summary
 
Fields inherited from class jwo.landserf.process.io.FileIO
BIG_ENDIAN, bitsPerValue, byteOrder, errorMessage, filePointer, GATHER_INFO, lineNumber, LITTLE_ENDIAN, LOAD_ALL, LOAD_SELECTED, nullCode, substituteNull, useMultiplier, zMultiplier
 
Constructor Summary
VrmlIO()
          There should be no need to call the constructor explicitly since all methods are static.
 
Method Summary
static boolean writeRaster(RasterMap rasterMap, String fileName, int fileFormat, GISFrame gisFrame, LSThread lsThread)
          Writes a raster as a VRML file.
 
Methods inherited from class jwo.landserf.process.io.FileIO
getErrorMessage, readByte, readByte, readCharacters, readCharacters, readDouble, readDouble, readDoubleBigEndian, readDoubleBigEndian, readDoubleLittleEndian, readDoubleLittleEndian, readFloat, readFloat, readFloatBigEndian, readFloatBigEndian, readFloatLittleEndian, readFloatLittleEndian, readInt, readInt, readIntBigEndian, readIntBigEndian, readIntLittleEndian, readIntLittleEndian, readNextWord, readShort, readShort, readShortBigEndian, readShortBigEndian, readShortLittleEndian, readShortLittleEndian, reset, seek, skip, skip, writeByte, writeCharacters, writeDouble, writeDoubleBigEndian, writeDoubleLittleEndian, writeFloat, writeFloatBigEndian, writeFloatLittleEndian, writeInt, writeIntBigEndian, writeIntLittleEndian, writeLine, writeShort, writeShortBigEndian, writeShortLittleEndian
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VrmlIO

public VrmlIO()
There should be no need to call the constructor explicitly since all methods are static.

Method Detail

writeRaster

public static boolean writeRaster(RasterMap rasterMap,
                                  String fileName,
                                  int fileFormat,
                                  GISFrame gisFrame,
                                  LSThread lsThread)
Writes a raster as a VRML file. Raster values are represented as a height field.

Parameters:
rasterMap - Raster map to write.
fileName - Name of file to create.
fileFormat - Type of VRML file to create (see FileHandler).
gisFrame - GUI in which to report results.
lsThread - Thread that called this method (allowing it to be interrupted). Can be null, in which case this method cannot be interrupted.
Returns:
True if written sucessfully.
See Also:
FileHandler


Copyright Jo Wood, 1996-2005, last modified, 11th March, 2005