apps.lightrays.raytracer.scene
Class Scene

java.lang.Object
  extended by apps.lightrays.raytracer.scene.Scene

public class Scene
extends java.lang.Object

The Class Scene.


Constructor Summary
Scene()
          Instantiates a new scene.
 
Method Summary
 void addSceneObject(SceneObject obj)
          Adds the scene object.
 Colour getAmbientColour()
          Gets the ambient colour.
 Lighting getLighting()
          Gets the lighting.
 int getMaxDepth()
          Gets the max depth.
 java.util.List<SceneObject> getSceneObjects()
          Gets the scene objects.
 void setAmbientColour(Colour ambient_colour)
          Sets the ambient colour.
 void setLight(Point lightpoint)
          Sets the light.
 void setLighting(Lighting lighting)
          Sets the lighting.
 void setMaxDepth(int max_depth)
          Sets the max depth.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Scene

public Scene()
Instantiates a new scene.

Method Detail

addSceneObject

public void addSceneObject(SceneObject obj)
Adds the scene object.

Parameters:
obj - the obj

getAmbientColour

public Colour getAmbientColour()
Gets the ambient colour.

Returns:
the ambient colour

getLighting

public Lighting getLighting()
Gets the lighting.

Returns:
the lighting

getMaxDepth

public int getMaxDepth()
Gets the max depth.

Returns:
the max depth

getSceneObjects

public java.util.List<SceneObject> getSceneObjects()
Gets the scene objects.

Returns:
the scene objects

setAmbientColour

public void setAmbientColour(Colour ambient_colour)
Sets the ambient colour.

Parameters:
ambient_colour - the new ambient colour

setLight

public void setLight(Point lightpoint)
Sets the light.

Parameters:
lightpoint - the new light

setLighting

public void setLighting(Lighting lighting)
Sets the lighting.

Parameters:
lighting - the new lighting

setMaxDepth

public void setMaxDepth(int max_depth)
Sets the max depth.

Parameters:
max_depth - the new max depth

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object