|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.metasyntactic.graphics.tracer.RayTracer
| Constructor Summary | |
RayTracer(Scene scene)
Creates a new instance of RayTracer |
|
| Method Summary | |
int |
getMaxDepth()
Getter for property maxDepth. |
Scene |
getScene()
Getter for property scene. |
void |
setMaxDepth(int maxDepth)
Setter for property maxDepth. |
java.util.List |
trace()
|
static Color |
traceRay(Ray ray,
Scene scene,
int depth)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RayTracer(Scene scene)
| Method Detail |
public int getMaxDepth()
public void setMaxDepth(int maxDepth)
maxDepth - New value of property maxDepth.
public static Color traceRay(Ray ray,
Scene scene,
int depth)
public java.util.List trace()
public Scene getScene()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||