public class LtiCivilDevice extends Object implements com.github.sarxos.webcam.WebcamDevice, com.lti.civil.CaptureObserver, com.github.sarxos.webcam.WebcamDevice.FPSSource
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
dispose() |
double |
getFPS() |
BufferedImage |
getImage() |
String |
getName() |
Dimension |
getResolution() |
Dimension[] |
getResolutions() |
boolean |
isOpen() |
void |
onError(com.lti.civil.CaptureStream stream,
com.lti.civil.CaptureException e) |
void |
onNewImage(com.lti.civil.CaptureStream stream,
com.lti.civil.Image image) |
void |
open() |
void |
setResolution(Dimension d) |
public String getName()
getName
in interface com.github.sarxos.webcam.WebcamDevice
public Dimension[] getResolutions()
getResolutions
in interface com.github.sarxos.webcam.WebcamDevice
public BufferedImage getImage()
getImage
in interface com.github.sarxos.webcam.WebcamDevice
public void onError(com.lti.civil.CaptureStream stream, com.lti.civil.CaptureException e)
onError
in interface com.lti.civil.CaptureObserver
public void onNewImage(com.lti.civil.CaptureStream stream, com.lti.civil.Image image)
onNewImage
in interface com.lti.civil.CaptureObserver
public void open()
open
in interface com.github.sarxos.webcam.WebcamDevice
public void close()
close
in interface com.github.sarxos.webcam.WebcamDevice
public Dimension getResolution()
getResolution
in interface com.github.sarxos.webcam.WebcamDevice
public void setResolution(Dimension d)
setResolution
in interface com.github.sarxos.webcam.WebcamDevice
public void dispose()
dispose
in interface com.github.sarxos.webcam.WebcamDevice
public boolean isOpen()
isOpen
in interface com.github.sarxos.webcam.WebcamDevice
public double getFPS()
getFPS
in interface com.github.sarxos.webcam.WebcamDevice.FPSSource
Copyright © 2012-2014 Bartosz Firyn (SarXos). All Rights Reserved.