org.jzy3d.plot3d.rendering.lights
Class LightSet

java.lang.Object
  extended by org.jzy3d.plot3d.rendering.lights.LightSet

public class LightSet
extends java.lang.Object


Constructor Summary
LightSet()
           
LightSet(java.util.List<Light> lights)
           
 
Method Summary
 void add(Light light)
           
 void apply(javax.media.opengl.GL gl, Coord3d scale)
           
 void disable(javax.media.opengl.GL gl)
           
 void enable(javax.media.opengl.GL gl, boolean onlyIfAtLeastOneLight)
           
 void enableLightIfThereAreLights(javax.media.opengl.GL gl)
           
 Light get(int id)
           
 void init(javax.media.opengl.GL gl)
           
 void remove(Light light)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LightSet

public LightSet()

LightSet

public LightSet(java.util.List<Light> lights)
Method Detail

init

public void init(javax.media.opengl.GL gl)

apply

public void apply(javax.media.opengl.GL gl,
                  Coord3d scale)

enableLightIfThereAreLights

public void enableLightIfThereAreLights(javax.media.opengl.GL gl)

enable

public void enable(javax.media.opengl.GL gl,
                   boolean onlyIfAtLeastOneLight)

disable

public void disable(javax.media.opengl.GL gl)

get

public Light get(int id)

add

public void add(Light light)

remove

public void remove(Light light)