Class Scene
java.lang.Object
|
+--Scene
- public class Scene
- extends java.lang.Object
Constructor Summary |
Scene()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Ambient
public Colour Ambient
Scene
public Scene()
setNumberObjects
public void setNumberObjects(int n)
getNumberObjects
public int getNumberObjects()
setObject
public void setObject(int i,
Object o)
setNumberLights
public void setNumberLights(int n)
getNumberLights
public int getNumberLights()
setLight
public void setLight(int i,
Light o)
intersect
public boolean intersect(Ray ray,
Colour colour,
int depth)
read
public void read(SceneReader is)
throws java.lang.Exception
write
public void write(SceneWriter os)
throws java.io.IOException
print
public void print(SceneWriter os)
throws java.io.IOException