gestalt.render.plugin
Class FrameGrabber

java.lang.Object
  extended by gestalt.shape.AbstractDrawable
      extended by gestalt.render.plugin.FrameGrabber
All Implemented Interfaces:
Drawable
Direct Known Subclasses:
JoglFrameGrabber

public abstract class FrameGrabber
extends AbstractDrawable


Constructor Summary
FrameGrabber()
           
 
Method Summary
abstract  void grabSingleFrame()
          this method captures one frame only, in contrast to the 'start()/stop()' mechanism.
 boolean isActive()
          returns whether the drawable is active.
 void setFileName(java.lang.String theFilename)
           
 void setImageFileFormat(int theFileFormat)
           
 void start()
           
 void 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
 
Methods inherited from interface gestalt.render.Drawable
draw
 

Constructor Detail

FrameGrabber

public FrameGrabber()
Method Detail

setImageFileFormat

public void setImageFileFormat(int theFileFormat)

setFileName

public void setFileName(java.lang.String theFilename)

start

public void start()

stop

public void stop()

grabSingleFrame

public abstract void grabSingleFrame()
this method captures one frame only, in contrast to the 'start()/stop()' mechanism.


isActive

public boolean isActive()
Description copied from interface: Drawable
returns whether the drawable is active. it is commonly implemented so that the drawables 'draw' method will be ommitted if 'isActive' return false, although this behavior can vary depending on the implementation.

Specified by:
isActive in interface Drawable
Overrides:
isActive in class AbstractDrawable
Returns:
boolean


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