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_format
Fields 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 boolean
writeSurface(Mesh3DInt mesh, InterfaceIOOptions options, ProgressUpdater progress_bar)
Writemesh
with thisFileWriter
.Methods inherited from class mgui.io.domestic.shapes.SurfaceFileWriter
getFailureMessage, getObjectIcon, getSuccessMessage, getSupportedObjects, getTitle, setFormat, write, writeSurface, writeSurfaces, writeSurfaces
Methods inherited from class mgui.io.FileWriter
getComplementIOType, getFile, getIOType, getLoaderComplement, getOptions, getProgressMessage, getURL, setFile, setOptions, setURL, toString, write, write
Methods 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:SurfaceFileWriter
Writemesh
with thisFileWriter
.- Specified by:
writeSurface
in classSurfaceFileWriter
- Returns:
-