|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectroomba.roombanetwork.services.image.jmfcam.JMFCam
public class JMFCam
Class to connect to a Java Media Framework camera and grab images from it
| Constructor Summary | |
|---|---|
JMFCam()
Constructor - connects to the Java Media Framework camera |
|
| Method Summary | |
|---|---|
void |
disconnect()
Disconnects the camera |
int |
getHeight()
Gets the height of the image that is provided |
java.awt.Image |
getLatestImage()
Gets the latest image that was pulled from the camera |
int |
getWidth()
Gets the width of the image that is provided |
boolean |
isInitialized()
Indicates if the camera has been started and initialized properly |
void |
reconnect()
Reconnects the camera |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMFCam()
| Method Detail |
|---|
public java.awt.Image getLatestImage()
getLatestImage in interface Camerapublic int getWidth()
getWidth in interface Camerapublic int getHeight()
getHeight in interface Camerapublic void disconnect()
disconnect in interface Camerapublic void reconnect()
reconnect in interface Camerapublic boolean isInitialized()
isInitialized in interface Camera
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||