com.github.sarxos.webcam.ds.civil
Class LtiCivilDevice
java.lang.Object
com.github.sarxos.webcam.ds.civil.LtiCivilDevice
- All Implemented Interfaces:
- com.github.sarxos.webcam.WebcamDevice, com.lti.civil.CaptureObserver
public class LtiCivilDevice
- extends Object
- implements com.github.sarxos.webcam.WebcamDevice, com.lti.civil.CaptureObserver
Webcam device - LTI-CIVIL framework compatible implementation.
- Author:
- Bartosz Firyn (SarXos)
Nested classes/interfaces inherited from interface com.github.sarxos.webcam.WebcamDevice |
com.github.sarxos.webcam.WebcamDevice.BufferAccess |
getName
public String getName()
- Specified by:
getName
in interface com.github.sarxos.webcam.WebcamDevice
getResolutions
public Dimension[] getResolutions()
- Specified by:
getResolutions
in interface com.github.sarxos.webcam.WebcamDevice
getImage
public BufferedImage getImage()
- Specified by:
getImage
in interface com.github.sarxos.webcam.WebcamDevice
onError
public void onError(com.lti.civil.CaptureStream stream,
com.lti.civil.CaptureException e)
- Specified by:
onError
in interface com.lti.civil.CaptureObserver
onNewImage
public void onNewImage(com.lti.civil.CaptureStream stream,
com.lti.civil.Image image)
- Specified by:
onNewImage
in interface com.lti.civil.CaptureObserver
open
public void open()
- Specified by:
open
in interface com.github.sarxos.webcam.WebcamDevice
close
public void close()
- Specified by:
close
in interface com.github.sarxos.webcam.WebcamDevice
getResolution
public Dimension getResolution()
- Specified by:
getResolution
in interface com.github.sarxos.webcam.WebcamDevice
setResolution
public void setResolution(Dimension d)
- Specified by:
setResolution
in interface com.github.sarxos.webcam.WebcamDevice
dispose
public void dispose()
- Specified by:
dispose
in interface com.github.sarxos.webcam.WebcamDevice
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interface com.github.sarxos.webcam.WebcamDevice
Copyright © 2012-2013 Bartosz Firyn (SarXos). All Rights Reserved.