|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.digitalmuseum.capture.VideoCaptureAbstractImpl jp.digitalmuseum.capture.VideoCaptureDS
public class VideoCaptureDS
フィールドの概要 |
---|
インタフェース jp.digitalmuseum.capture.VideoCapture から継承されたフィールド |
---|
DEFAULT_FRAMERATE, DEFAULT_HEIGHT, DEFAULT_WIDTH |
コンストラクタの概要 | |
---|---|
VideoCaptureDS()
Constructor without options. |
|
VideoCaptureDS(int width,
int height)
Constructor with size specification. |
メソッドの概要 | |
---|---|
de.humatic.dsj.DSMediaType[] |
getFormats()
Get all formats supported by the device. |
java.lang.String |
getIdentifier()
Get a String expression of the identifier for this instance, with which users can rebuild the instance over sessions. |
java.lang.String |
getName()
Get a name for this instance. |
de.humatic.dsj.DSMediaType |
getPreferredFormat()
Get current format preferred by the device. |
void |
pause()
Pause capturing. Capturing process must be started before calling this method. |
static de.humatic.dsj.DSFilterInfo[] |
queryDevices()
|
static java.lang.String[] |
queryIdentifiers()
Get a list of identifiers of available devices. |
void |
resume()
Resume capturing. Capturing process must be started before calling this method. |
boolean |
setFrameRate(float fps)
Set frame rate (frame per second). |
boolean |
setSize(int width,
int height)
Set resolution. |
void |
setSource(java.lang.Object source)
Specify a source for capturing images. |
void |
setSourceFilter(de.humatic.dsj.DSFilterInfo filter)
Use a specified filter to capture images. |
void |
showDialog()
Show dialog for setting parameters of the device (saturation etc.). |
void |
showFormatDialog()
Show dialog for setting parameters of the device (resolution and frame-rate). |
void |
start()
Start capturing images. |
void |
stop()
Stop capturing. |
クラス jp.digitalmuseum.capture.VideoCaptureAbstractImpl から継承されたメソッド |
---|
getFrameRate, getHeight, getWidth, grabFrame, grabFrameData, isGrayScale, isPaused, isReversedX, isReversedY, isStarted, reverse, reverseX, reverseY, setGrayScale |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public VideoCaptureDS()
public VideoCaptureDS(int width, int height)
メソッドの詳細 |
---|
public java.lang.String getIdentifier()
VideoCapture
の記述:VideoCapture.getName()
public java.lang.String getName()
VideoCapture
の記述:VideoCapture.getIdentifier()
public void setSource(java.lang.Object source) throws java.lang.Exception
VideoCapture
の記述:java.lang.Exception
public void start() throws java.lang.Exception
VideoCapture
の記述:java.lang.Exception
public void pause()
VideoCapture
の記述:public void resume()
VideoCapture
の記述:public void stop()
VideoCapture
の記述:public boolean setFrameRate(float fps)
VideoCapture
の記述:public boolean setSize(int width, int height)
VideoCapture
の記述:public void setSourceFilter(de.humatic.dsj.DSFilterInfo filter)
public de.humatic.dsj.DSMediaType[] getFormats()
public de.humatic.dsj.DSMediaType getPreferredFormat()
public void showDialog()
public void showFormatDialog()
public static de.humatic.dsj.DSFilterInfo[] queryDevices()
public static java.lang.String[] queryIdentifiers()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |