|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapps.lightrays.raytracer.scene.Lighting
public class Lighting
The Class Lighting.
Constructor Summary | |
---|---|
Lighting()
Instantiates a new lighting. |
Method Summary | |
---|---|
void |
addLight(Light light)
Adds the light. |
void |
addLightsToScene(Scene s)
Adds the lights to scene. |
static Light |
getDefaultLight(Point lightpoint)
Gets the default light. |
Light |
getFirstLight()
Gets the first light. |
java.util.Iterator<Light> |
getIterator()
Gets the iterator. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Lighting()
Method Detail |
---|
public static Light getDefaultLight(Point lightpoint)
lightpoint
- the lightpoint
public void addLight(Light light)
light
- the lightpublic void addLightsToScene(Scene s)
s
- the spublic Light getFirstLight()
public java.util.Iterator<Light> getIterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |