Package mgui.io.domestic.videos
Class ImageStackVideoWriter
java.lang.Object
mgui.io.FileWriter
mgui.io.domestic.videos.VideoWriter
mgui.io.domestic.videos.ImageStackVideoWriter
- All Implemented Interfaces:
InterfaceIO
,IconObject
public class ImageStackVideoWriter extends VideoWriter
Outputs a
Video
to a stack of images which can be used to compile a video using a utility
such as VirtualDub.- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
- See Also:
Video
-
Field Summary
Fields Modifier and Type Field Description boolean
use_offscreen_buffer
Fields inherited from class mgui.io.FileWriter
dataFile, dataURL, failure_message, options, success_message
-
Constructor Summary
Constructors Constructor Description ImageStackVideoWriter()
ImageStackVideoWriter(java.io.File file)
-
Method Summary
Modifier and Type Method Description protected java.awt.image.BufferedImage
getBufferImage(InterfaceGraphic3D window)
protected java.awt.image.BufferedImage
getScreenShot(org.jogamp.java3d.Canvas3D canvas3d)
protected java.awt.image.BufferedImage
getScreenShot_bak3(InterfaceGraphic window)
protected java.awt.image.BufferedImage
getScreenShot3D(InterfaceGraphic3D window)
protected java.awt.image.BufferedImage
getScreenShot3D_bak4(InterfaceGraphic3D window)
protected boolean
writeFromOffscreenBufferBlocking(ImageStackVideoOptions options, ProgressUpdater progress_bar)
protected boolean
writeFromScreenshotsBlocking(ImageStackVideoOptions options, ProgressUpdater progress_bar)
boolean
writeVideo(VideoOutputOptions options, ProgressUpdater progress_bar)
boolean
writeVideo3D(ImageStackVideoOptions options, ProgressUpdater progress_bar)
Methods inherited from class mgui.io.domestic.videos.VideoWriter
write
Methods inherited from class mgui.io.FileWriter
getComplementIOType, getFailureMessage, getFile, getIOType, getLoaderComplement, getObjectIcon, getOptions, getProgressMessage, getSuccessMessage, getSupportedObjects, getTitle, getURL, setFile, setOptions, setURL, toString, write, write
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
use_offscreen_buffer
public boolean use_offscreen_buffer
-
-
Constructor Details
-
ImageStackVideoWriter
public ImageStackVideoWriter() -
ImageStackVideoWriter
public ImageStackVideoWriter(java.io.File file)
-
-
Method Details
-
writeVideo
- Specified by:
writeVideo
in classVideoWriter
-
writeVideo3D
-
writeFromOffscreenBufferBlocking
protected boolean writeFromOffscreenBufferBlocking(ImageStackVideoOptions options, ProgressUpdater progress_bar) -
writeFromScreenshotsBlocking
protected boolean writeFromScreenshotsBlocking(ImageStackVideoOptions options, ProgressUpdater progress_bar) -
getBufferImage
-
getScreenShot_bak3
-
getScreenShot3D_bak4
-
getScreenShot3D
-
getScreenShot
protected java.awt.image.BufferedImage getScreenShot(org.jogamp.java3d.Canvas3D canvas3d)
-