Package mgui.io.foreign.wavefront
Class WavefrontSurfaceWriter
java.lang.Object
mgui.io.FileWriter
mgui.io.domestic.shapes.SurfaceFileWriter
mgui.io.foreign.wavefront.WavefrontSurfaceWriter
- All Implemented Interfaces:
InterfaceIO,IconObject
public class WavefrontSurfaceWriter extends SurfaceFileWriter
Writer for a Wavefront OBJ format surface mesh object. Based on the Obj library:
The format is specified here:
- Since:
- 1.0.30
- Author:
- Andrew Reid
-
Field Summary
Fields inherited from class mgui.io.domestic.shapes.SurfaceFileWriter
number_formatFields inherited from class mgui.io.FileWriter
dataFile, dataURL, failure_message, options, success_message -
Constructor Summary
Constructors Constructor Description WavefrontSurfaceWriter() -
Method Summary
Modifier and Type Method Description booleanwriteSurface(Mesh3DInt mesh, InterfaceIOOptions options, ProgressUpdater progress_bar)Writemeshwith thisFileWriter.Methods inherited from class mgui.io.domestic.shapes.SurfaceFileWriter
getFailureMessage, getObjectIcon, getSuccessMessage, getSupportedObjects, getTitle, setFormat, write, writeSurface, writeSurfaces, writeSurfacesMethods inherited from class mgui.io.FileWriter
getComplementIOType, getFile, getIOType, getLoaderComplement, getOptions, getProgressMessage, getURL, setFile, setOptions, setURL, toString, write, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
WavefrontSurfaceWriter
public WavefrontSurfaceWriter()
-
-
Method Details
-
writeSurface
public boolean writeSurface(Mesh3DInt mesh, InterfaceIOOptions options, ProgressUpdater progress_bar)Description copied from class:SurfaceFileWriterWritemeshwith thisFileWriter.- Specified by:
writeSurfacein classSurfaceFileWriter- Returns:
-