|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkProcessObject vtk.vtkSource vtk.vtkImageSource vtk.vtkVideoSource
vtkVideoSource - Superclass of video input devices for VTK. vtkVideoSource is a superclass for video input interfaces for VTK. The goal is to provide an interface which is very similar to the interface of a VCR, where the 'tape' is an internal frame buffer capable of holding a preset number of video frames. Specialized versions of this class record input from various video input sources. This base class records input from a noise source. JavaBean wrapper for vtkVideoSource object.
vtkWin32VideoSource
,
Serialized FormField Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkVideoSource()
|
protected |
vtkVideoSource(int dmy)
|
Method Summary | |
void |
autoAdvanceOff()
Set whether to automatically advance the buffer before each grab. |
void |
autoAdvanceOn()
Set whether to automatically advance the buffer before each grab. |
void |
fastForward()
FastForward to the last frame that was recorded (i.e. to the frame that has the most recent timestamp). |
int |
getAutoAdvance()
Set whether to automatically advance the buffer before each grab. |
java.lang.String |
getClassName()
Return the class name as a string. |
int[] |
getClipRegion()
Set the clip rectangle for the frames. |
double[] |
getDataOrigin()
Set/Get the coordinates of the lower, left corner of the frame. |
double[] |
getDataSpacing()
Set/Get the pixel spacing. |
int |
getFrameBufferSize()
Set size of the frame buffer, i.e. the number of frames that the 'tape' can store. |
int |
getFrameCount()
This value is incremented each time a frame is grabbed. |
int |
getFrameIndex()
Get the frame index relative to the 'beginning of the tape'. |
double |
getFrameRate()
Request a particular frame rate (default 30 frames per second). |
int[] |
getFrameSize()
Set the full-frame size. |
double |
getFrameTimeStamp()
Get a time stamp in seconds (resolution of milliseconds) for the Output. |
double |
getFrameTimeStamp(int id0)
Get a time stamp in seconds (resolution of milliseconds) for a video frame. |
int |
getInitialized()
Initialize the hardware. |
int |
getNumberOfOutputFrames()
Set the number of frames to copy to the output on each execute. |
double |
getOpacity()
For RGBA output only (4 scalar components), set the opacity. |
int |
getOutputFormat()
Set the output format. |
int[] |
getOutputWholeExtent()
Get/Set the WholeExtent of the output. |
int |
getPlaying()
Are we in play mode? |
int |
getRecording()
Are we in record mode? |
double |
getStartTimeStamp()
And internal variable which marks the beginning of a Record session. |
vtkVideoSource |
getThisVideoSource()
|
void |
grab()
Grab a single video frame. |
void |
initialize()
Initialize the hardware. |
void |
internalGrab()
The internal function which actually does the grab. |
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
play()
Play through the 'tape' sequentially at the specified frame rate. |
void |
record()
Record incoming video at the specified FrameRate. |
void |
releaseSystemResources()
Release the video driver. |
void |
rewind()
Rewind to the frame with the earliest timestamp. |
void |
seek(int id0)
Seek forwards or backwards by the specified number of frames (positive is forward, negative is backward). |
void |
setAutoAdvance(int id0)
Set whether to automatically advance the buffer before each grab. |
void |
setClipRegion(int[] id0)
Set the clip rectangle for the frames. |
void |
setClipRegion(int id0,
int id1,
int id2,
int id3,
int id4,
int id5)
Set the clip rectangle for the frames. |
void |
setDataOrigin(double[] id0)
Set/Get the coordinates of the lower, left corner of the frame. |
void |
setDataOrigin(double id0,
double id1,
double id2)
Set/Get the coordinates of the lower, left corner of the frame. |
void |
setDataSpacing(double[] id0)
Set/Get the pixel spacing. |
void |
setDataSpacing(double id0,
double id1,
double id2)
Set/Get the pixel spacing. |
void |
setFrameBufferSize(int id0)
Set size of the frame buffer, i.e. the number of frames that the 'tape' can store. |
void |
setFrameCount(int id0)
This value is incremented each time a frame is grabbed. |
void |
setFrameRate(double id0)
Request a particular frame rate (default 30 frames per second). |
void |
setFrameSize(int[] id0)
Set the full-frame size. |
void |
setFrameSize(int id0,
int id1,
int id2)
Set the full-frame size. |
void |
setNumberOfOutputFrames(int id0)
Set the number of frames to copy to the output on each execute. |
void |
setOpacity(double id0)
For RGBA output only (4 scalar components), set the opacity. |
void |
setOutputFormat(int id0)
Set the output format. |
void |
setOutputFormatToLuminance()
Set the output format. |
void |
setOutputFormatToRGB()
Set the output format. |
void |
setOutputFormatToRGBA()
Set the output format. |
void |
setOutputWholeExtent(int[] id0)
Get/Set the WholeExtent of the output. |
void |
setOutputWholeExtent(int id0,
int id1,
int id2,
int id3,
int id4,
int id5)
Get/Set the WholeExtent of the output. |
void |
setStartTimeStamp(double id0)
And internal variable which marks the beginning of a Record session. |
void |
stop()
Stop recording or playing. |
protected void |
VTKCastInit()
|
void |
VTKInit()
|
Methods inherited from class vtk.vtkImageSource |
getOutput, getOutput, getThisImageSource, setOutput |
Methods inherited from class vtk.vtkObject |
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay |
Methods inherited from class vtk.vtkObjectBase |
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkVideoSource()
protected vtkVideoSource(int dmy)
Method Detail |
public vtkVideoSource getThisVideoSource()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkImageSource
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkImageSource
public void record()
public void play()
public void stop()
public void rewind()
public void fastForward()
public void seek(int id0)
public void grab()
public int getRecording()
public int getPlaying()
public void setFrameSize(int id0, int id1, int id2)
public void setFrameSize(int[] id0)
public int[] getFrameSize()
public void setFrameRate(double id0)
public double getFrameRate()
public void setOutputFormat(int id0)
public void setOutputFormatToLuminance()
public void setOutputFormatToRGB()
public void setOutputFormatToRGBA()
public int getOutputFormat()
public void setFrameBufferSize(int id0)
public int getFrameBufferSize()
public void setNumberOfOutputFrames(int id0)
public int getNumberOfOutputFrames()
public void autoAdvanceOn()
public void autoAdvanceOff()
public void setAutoAdvance(int id0)
public int getAutoAdvance()
public void setClipRegion(int[] id0)
public void setClipRegion(int id0, int id1, int id2, int id3, int id4, int id5)
public int[] getClipRegion()
public void setOutputWholeExtent(int id0, int id1, int id2, int id3, int id4, int id5)
public void setOutputWholeExtent(int[] id0)
public int[] getOutputWholeExtent()
public void setDataSpacing(double id0, double id1, double id2)
public void setDataSpacing(double[] id0)
public double[] getDataSpacing()
public void setDataOrigin(double id0, double id1, double id2)
public void setDataOrigin(double[] id0)
public double[] getDataOrigin()
public void setOpacity(double id0)
public double getOpacity()
public int getFrameCount()
public void setFrameCount(int id0)
public int getFrameIndex()
public double getFrameTimeStamp(int id0)
public double getFrameTimeStamp()
public void initialize()
public int getInitialized()
public void releaseSystemResources()
public void internalGrab()
public void setStartTimeStamp(double id0)
public double getStartTimeStamp()
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkImageSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |