org.metasyntactic.graphics.lights
Class Light

java.lang.Object
  |
  +--org.metasyntactic.graphics.shapes.Shape
        |
        +--org.metasyntactic.graphics.shapes.CartesianShape
              |
              +--org.metasyntactic.graphics.shapes.ReflectiveShape
                    |
                    +--org.metasyntactic.graphics.shapes.VolumetricShape
                          |
                          +--org.metasyntactic.graphics.lights.Light
Direct Known Subclasses:
SphereLight

public abstract class Light
extends VolumetricShape


Constructor Summary
Light()
          Creates a new instance of Light
 
Method Summary
abstract  double getIntensity()
           
abstract  double getIntensity(Point otherLocation)
           
abstract  void setIntensity(double intensity)
           
 
Methods inherited from class org.metasyntactic.graphics.shapes.VolumetricShape
getDepth, getHeight, getWidth, setDepth, setHeight, setWidth
 
Methods inherited from class org.metasyntactic.graphics.shapes.ReflectiveShape
getShadeModel, setShadeModel
 
Methods inherited from class org.metasyntactic.graphics.shapes.CartesianShape
getIntersection, getIntersections, getPosition, setPosition
 
Methods inherited from class org.metasyntactic.graphics.shapes.Shape
getColor, setColor, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Light

public Light()
Creates a new instance of Light

Method Detail

getIntensity

public abstract double getIntensity()

setIntensity

public abstract void setIntensity(double intensity)

getIntensity

public abstract double getIntensity(Point otherLocation)