raytracer
Class RasterSequence

java.lang.Object
  extended by raytracer.RasterSequence

public class RasterSequence
extends java.lang.Object


Constructor Summary
RasterSequence(int blockwidth, int blockheight, int width_, int height_)
          constructor
 
Method Summary
 boolean getNextBlock(Rectangle rect)
          get the next block in the list
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterSequence

public RasterSequence(int blockwidth,
                      int blockheight,
                      int width_,
                      int height_)
constructor

Parameters:
blockwidth - width of the blocks in x-direction
blockheight - height of the blocks in y-direction
width_ - width of the canvas
height_ - height of the canvas
Method Detail

getNextBlock

public boolean getNextBlock(Rectangle rect)
get the next block in the list

Parameters:
rect -
Returns:
if still have a block to proceed