All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.player.standardV2.Input

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----pinball.player.FrameGrabber
                   |
                   +----pinball.player.standardV2.Input

public class Input
extends FrameGrabber
Gather the system inputs, currently takes images from the camera.


Variable Index

 o buffer
The current infomation buffer.
 o buffinfo
The contents of the buffer.
 o edited
Amount of buffers adjusted.
 o frameNumber
The current frame number.
 o inputDevices
 o resized
Did the resize of the camera take place.
 o resizing
Is the image to be resized.
 o X
Image location.
 o XOffset
Image location.
 o Y
Image location.
 o YOffset
Image location.

Constructor Index

 o Input()
For extended classes.
 o Input(Buffer, StandardInputs)
Make a new frame grabber thread.

Method Index

 o resize()
Setup the resize.
 o resizeImage()
Check to see if resize of the images is needed.
 o run()
Grab images from the camera.
 o toString()
Get the name of the object.

Variables

 o inputDevices
 protected StandardInputs inputDevices
 o frameNumber
 protected int frameNumber
The current frame number.

 o buffer
 protected Buffer buffer
The current infomation buffer.

 o buffinfo
 protected BufferInfo buffinfo
The contents of the buffer.

 o resized
 protected boolean resized
Did the resize of the camera take place.

 o edited
 protected int edited
Amount of buffers adjusted.

 o X
 protected int X
Image location.

 o Y
 protected int Y
Image location.

 o XOffset
 protected int XOffset
Image location.

 o YOffset
 protected int YOffset
Image location.

 o resizing
 protected boolean resizing
Is the image to be resized.

Constructors

 o Input
 public Input(Buffer buffer,
              StandardInputs devices)
Make a new frame grabber thread.

Parameters:
buffer - first buffer in the series of buffers.
devices - the devices for the system.
 o Input
 public Input()
For extended classes.

Methods

 o toString
 public String toString()
Get the name of the object.

Parameters:
name - of the object.
Overrides:
toString in class FrameGrabber
 o run
 public void run()
Grab images from the camera.

Overrides:
run in class FrameGrabber
 o resizeImage
 protected void resizeImage()
Check to see if resize of the images is needed.

Overrides:
resizeImage in class FrameGrabber
 o resize
 protected void resize()
Setup the resize.

Overrides:
resize in class FrameGrabber

All Packages  Class Hierarchy  This Package  Previous  Next  Index