raytracer
Class RayState

java.lang.Object
  extended by raytracer.RayState

public class RayState
extends java.lang.Object


Nested Class Summary
static class RayState.RayType
           
 
Field Summary
 int depth
           
 double importance
           
 int minimumcounter
           
 int samplecounter
           
 RayState.RayType type
           
 
Constructor Summary
RayState(int samplecounter, int minimumcounter)
          constructor
RayState(RayState rs)
          constructor
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

depth

public int depth

samplecounter

public int samplecounter

minimumcounter

public int minimumcounter

importance

public double importance

type

public RayState.RayType type
Constructor Detail

RayState

public RayState(int samplecounter,
                int minimumcounter)
constructor

Parameters:
samplecounter - sample-counter
minimumcounter - minimum of counts

RayState

public RayState(RayState rs)
constructor

Parameters:
rs - the raytracing state