gestalt.impl.jogl.render.plugin
Class JoglFrameGrabber

java.lang.Object
  extended by gestalt.shape.AbstractDrawable
      extended by gestalt.render.plugin.FrameGrabber
          extended by gestalt.impl.jogl.render.plugin.JoglFrameGrabber
All Implemented Interfaces:
Drawable

public class JoglFrameGrabber
extends FrameGrabber


Field Summary
static int TARGA_HEADER_SIZE
           
 
Constructor Summary
JoglFrameGrabber()
           
 
Method Summary
 void draw(GLContext theRenderContext)
          this method is used to draw the drawable, when the context is ready.
 void grabSingleFrame()
          this method captures one frame only, in contrast to the 'start()/stop()' mechanism.
 
Methods inherited from class gestalt.render.plugin.FrameGrabber
isActive, setFileName, setImageFileFormat, start, stop
 
Methods inherited from class gestalt.shape.AbstractDrawable
add, getSortData, getSortValue, isSortable, setSortValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TARGA_HEADER_SIZE

public static final int TARGA_HEADER_SIZE
See Also:
Constant Field Values
Constructor Detail

JoglFrameGrabber

public JoglFrameGrabber()
Method Detail

draw

public void draw(GLContext theRenderContext)
Description copied from interface: Drawable
this method is used to draw the drawable, when the context is ready. although the behavior sometimes varies and doesn t always need to have a visual representation depending on the implementation.

Parameters:
theRenderContext - GLContext

grabSingleFrame

public void grabSingleFrame()
Description copied from class: FrameGrabber
this method captures one frame only, in contrast to the 'start()/stop()' mechanism.

Specified by:
grabSingleFrame in class FrameGrabber


processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009