jwo.landserf.process.io
Class VrmlIO
java.lang.Object
jwo.landserf.process.io.FileIO
jwo.landserf.process.io.VrmlIO
public class VrmlIO
- extends FileIO
Contains a collection of static methods for writing VRML
files.
- Version:
- 2.3, 6th March, 2007.
- Author:
- Jo Wood
Fields inherited from class jwo.landserf.process.io.FileIO |
BIG_ENDIAN, bitsPerValue, byteOrder, DEBUG, 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. |
Methods inherited from class jwo.landserf.process.io.FileIO |
debug, getErrorMessage, readByte, readByte, readCharacters, readCharacters, readCharactersInLine, readDouble, readDouble, readDoubleBigEndian, readDoubleBigEndian, readDoubleLittleEndian, readDoubleLittleEndian, readFloat, readFloat, readFloatBigEndian, readFloatBigEndian, readFloatLittleEndian, readFloatLittleEndian, readInt, readInt, readIntBigEndian, readIntBigEndian, readIntLittleEndian, readIntLittleEndian, readNextWord, readNextWord, readShort, readShort, readShortBigEndian, readShortBigEndian, readShortLittleEndian, readShortLittleEndian, readUnsignedByte, readUnsignedByte, 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 |
VrmlIO
public VrmlIO()
- There should be no need to call the constructor explicitly since
all methods are static.
writeRaster
public static boolean writeRaster(RasterMap rasterMap,
String fileName,
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.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 successfully.
- See Also:
FileHandler
writeTIN
public static boolean writeTIN(VectorMap vectorMap,
String fileName,
GISFrame gisFrame,
LSThread lsThread)
- Writes a TIN with draped image as a VRML file. TIN vertices are represented
as an indexed face set. The drape will be saved with the same name as the
VRML file but with a '
_vrmlDrape.jpg
' extension.
- Parameters:
vectorMap
- Vector map containing TIN to to write.fileName
- Name of file to create.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 successfully.
- See Also:
FileHandler
Copyright Jo Wood, 1996-2009, last modified, 17th April, 2009