marvin.video
Class MarvinVideoManager

java.lang.Object
  extended by marvin.video.MarvinVideoManager

public class MarvinVideoManager
extends java.lang.Object

MarvinVideoManager is a class that manages all video operations.


Constructor Summary
MarvinVideoManager(MarvinImagePanel a_videoPanel)
           
 
Method Summary
 void connect()
           
 void disconnect()
          Tidy exit
 javax.media.Codec fetchCodec(javax.media.Format inFormat, javax.media.Format outFormat)
          Gets the correct codec from the camera
 java.lang.Integer getCameraHeight()
           
 java.lang.Integer getCameraWidth()
           
 MarvinImage getCapturedImage()
           
 java.awt.Graphics getResultGraphics()
           
 MarvinImage getResultImage()
           
static boolean isActive()
           
static void setActive(boolean active)
           
 void updatePanel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarvinVideoManager

public MarvinVideoManager(MarvinImagePanel a_videoPanel)
Method Detail

isActive

public static boolean isActive()

setActive

public static void setActive(boolean active)

getCameraWidth

public java.lang.Integer getCameraWidth()
Returns:
camera´s width

getCameraHeight

public java.lang.Integer getCameraHeight()
Returns:
camera´s height

connect

public void connect()

disconnect

public void disconnect()
Tidy exit


getCapturedImage

public MarvinImage getCapturedImage()

getResultImage

public MarvinImage getResultImage()

updatePanel

public void updatePanel()

getResultGraphics

public java.awt.Graphics getResultGraphics()

fetchCodec

public javax.media.Codec fetchCodec(javax.media.Format inFormat,
                                    javax.media.Format outFormat)
Gets the correct codec from the camera