|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectapps.lightrays.raytracer.scene.Scene
public class Scene
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 |
|---|
public Scene()
| Method Detail |
|---|
public void addSceneObject(SceneObject obj)
obj - the objpublic Colour getAmbientColour()
public Lighting getLighting()
public int getMaxDepth()
public java.util.List<SceneObject> getSceneObjects()
public void setAmbientColour(Colour ambient_colour)
ambient_colour - the new ambient colourpublic void setLight(Point lightpoint)
lightpoint - the new lightpublic void setLighting(Lighting lighting)
lighting - the new lightingpublic void setMaxDepth(int max_depth)
max_depth - the new max depthpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||