Package jahuwaldt.j3d.image
Interface CapturedImageObserver
-
- All Known Implementing Classes:
JPEGImageObserver
,PNGImageObserver
public interface CapturedImageObserver
An observer for when images have been captured from the Canvas3D.Modified by: Joseph A.Huwaldt
- Version:
- September 16, 2016
- Author:
- Justin Couch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
canvasImageCaptured(java.awt.image.BufferedImage img)
Notification that an image has been captured from the canvas and is ready for processing.boolean
captureNextFrame()
Returns a flag indicating if the next frame should be captured or not.
-
-
-
Method Detail
-
canvasImageCaptured
void canvasImageCaptured(java.awt.image.BufferedImage img)
Notification that an image has been captured from the canvas and is ready for processing.- Parameters:
img
- The image that was captured.
-
captureNextFrame
boolean captureNextFrame()
Returns a flag indicating if the next frame should be captured or not.- Returns:
true
if the observer should be passed an image for the next frame andfalse
if it should not.
-
-