All Packages Class Hierarchy This Package Previous Next Index
Class pinball.player.FrameGrabber
java.lang.Object
|
+----java.lang.Thread
|
+----pinball.player.FrameGrabber
- public class FrameGrabber
- extends Thread
The image grabber. Takes images from the camera.
-
buffer
- The current infomation buffer.
-
buffinfo
- The contents of the buffer.
-
edited
- Amount of buffers adjusted.
-
frameNumber
- The current frame number.
-
Qcam
- The camera.
-
resized
- Did the resize of the camera take place.
-
resizing
- Is the image to be resized.
-
X
- Image location.
-
XOffset
- Image location.
-
Y
- Image location.
-
YOffset
- Image location.
-
FrameGrabber()
- For extended classes.
-
FrameGrabber(Camera, Buffer)
- Make a new frame grabber thread.
-
resize()
- Setup the resize.
-
resizeImage()
-
Check to see if resize of the images is needed.
-
run()
- Grab images from the camera.
-
toString()
- Get the name of the object.
Qcam
protected Camera Qcam
- The camera.
frameNumber
protected int frameNumber
- The current frame number.
buffer
protected Buffer buffer
- The current infomation buffer.
buffinfo
protected BufferInfo buffinfo
- The contents of the buffer.
resized
protected boolean resized
- Did the resize of the camera take place.
edited
protected int edited
- Amount of buffers adjusted.
X
protected int X
- Image location.
Y
protected int Y
- Image location.
XOffset
protected int XOffset
- Image location.
YOffset
protected int YOffset
- Image location.
resizing
protected boolean resizing
- Is the image to be resized.
FrameGrabber
public FrameGrabber(Camera Qcam,
Buffer buffer)
- Make a new frame grabber thread.
- Parameters:
- Qcam - camera
- buffer - first buffer in the series of buffers.
FrameGrabber
public FrameGrabber()
- For extended classes.
toString
public String toString()
- Get the name of the object.
- Parameters:
- name - of the object.
- Overrides:
- toString in class Thread
run
public void run()
- Grab images from the camera.
- Overrides:
- run in class Thread
resizeImage
protected void resizeImage()
- Check to see if resize of the images is needed.
resize
protected void resize()
- Setup the resize.
All Packages Class Hierarchy This Package Previous Next Index