All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class demo.jcsp.SingleLineImageOutput

java.lang.Object
   |
   +----demo.jcsp.SingleLineImageOutput

public class SingleLineImageOutput
extends Object
implements CSProcess

Process Diagram

  _______________________
 |                       | out
 | SingleLineImageOutput |-->--
 |_______________________|
 

Description

The SingleLineImageOutput process takes an Image and sends a new ImageDefinition down the out Channel for each line in the image. The process wil then terminate.

Author:
P.D.Austin

Constructor Index

 o SingleLineImageOutput(ChannelOutput, Image, int, int)
Constructs a new SingleLineImageOutput.

Method Index

 o run()
The main body of this process.

Constructors

 o SingleLineImageOutput
 public SingleLineImageOutput(ChannelOutput out,
                              Image image,
                              int width,
                              int height)
Constructs a new SingleLineImageOutput.

Parameters:
out - The Channel the image data is sent along
image - the source image to be sent down the Channel one row at a time
width - the width of the image
height - the height of the image

Methods

 o run
 public void run()
The main body of this process.


All Packages  Class Hierarchy  This Package  Previous  Next  Index