org.opensourcephysics.manual.ch13
Class CaptureAnimationApp

java.lang.Object
  extended by org.opensourcephysics.controls.AbstractAnimation
      extended by org.opensourcephysics.controls.AbstractSimulation
          extended by org.opensourcephysics.manual.ch13.CaptureAnimationApp
All Implemented Interfaces:
java.lang.Runnable, Animation, Simulation

public class CaptureAnimationApp
extends AbstractSimulation

CaptureAnimationApp captures a video of an animation using a VideoCaptureTool.

Version:
1.0
Author:
W. Christian, D. Brown

Field Summary
 
Fields inherited from class org.opensourcephysics.controls.AbstractSimulation
control, showStepsPerDisplay, stepCounter, stepsPerDisplay
 
Fields inherited from class org.opensourcephysics.controls.AbstractAnimation
animationThread, decimalFormat, delayTime, mainFrame
 
Constructor Summary
CaptureAnimationApp()
           
 
Method Summary
protected  void doStep()
          Does an animation step.
static void main(java.lang.String[] args)
           
 void showVideoCaptureTool()
           
 
Methods inherited from class org.opensourcephysics.controls.AbstractSimulation
enableStepsPerDisplay, getControl, getLoader, getStepCounter, getStepsPerDisplay, initialize, initializeAnimation, reset, resetAnimation, run, setControl, setStepsPerDisplay, start, startAnimation, startRunning, startSimulation, stepAnimation, stop, stopAnimation, stopRunning, stopSimulation
 
Methods inherited from class org.opensourcephysics.controls.AbstractAnimation
addChildFrame, clearChildFrames, getChildFrames, getDelayTime, getMainFrame, getOSPApp, isRunning, setDelayTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensourcephysics.controls.Simulation
isRunning
 

Constructor Detail

CaptureAnimationApp

public CaptureAnimationApp()
Method Detail

doStep

protected void doStep()
Description copied from class: AbstractAnimation
Does an animation step.

Specified by:
doStep in class AbstractAnimation

showVideoCaptureTool

public void showVideoCaptureTool()

main

public static void main(java.lang.String[] args)