org.jscience.media.pictures.filters
Class LightFilter.Light

java.lang.Object
  extended by org.jscience.media.pictures.filters.LightFilter.Light
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
LightFilter.AmbientLight, LightFilter.DistantLight, LightFilter.PointLight, LightFilter.SpotLight
Enclosing class:
LightFilter

public static class LightFilter.Light
extends java.lang.Object
implements java.lang.Cloneable

DOCUMENT ME!


Constructor Summary
LightFilter.Light()
          Creates a new Light object.
LightFilter.Light(float azimuth, float elevation, float intensity)
          Creates a new Light object.
 
Method Summary
 java.lang.Object clone()
          DOCUMENT ME!
 float getAzimuth()
          DOCUMENT ME!
 float getCentreX()
          DOCUMENT ME!
 float getCentreY()
          DOCUMENT ME!
 int getColor()
          DOCUMENT ME!
 float getConeAngle()
          DOCUMENT ME!
 float getDistance()
          DOCUMENT ME!
 float getElevation()
          DOCUMENT ME!
 float getFocus()
          DOCUMENT ME!
 float getIntensity()
          DOCUMENT ME!
 void prepare(int width, int height)
          DOCUMENT ME!
 void setAzimuth(float azimuth)
          DOCUMENT ME!
 void setCentreX(float x)
          DOCUMENT ME!
 void setCentreY(float y)
          DOCUMENT ME!
 void setColor(int color)
          DOCUMENT ME!
 void setConeAngle(float coneAngle)
          DOCUMENT ME!
 void setDistance(float distance)
          DOCUMENT ME!
 void setElevation(float elevation)
          DOCUMENT ME!
 void setFocus(float focus)
          DOCUMENT ME!
 void setIntensity(float intensity)
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LightFilter.Light

public LightFilter.Light()
Creates a new Light object.


LightFilter.Light

public LightFilter.Light(float azimuth,
                         float elevation,
                         float intensity)
Creates a new Light object.

Parameters:
azimuth - DOCUMENT ME!
elevation - DOCUMENT ME!
intensity - DOCUMENT ME!
Method Detail

setAzimuth

public void setAzimuth(float azimuth)
DOCUMENT ME!

Parameters:
azimuth - DOCUMENT ME!

getAzimuth

public float getAzimuth()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setElevation

public void setElevation(float elevation)
DOCUMENT ME!

Parameters:
elevation - DOCUMENT ME!

getElevation

public float getElevation()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setDistance

public void setDistance(float distance)
DOCUMENT ME!

Parameters:
distance - DOCUMENT ME!

getDistance

public float getDistance()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setIntensity

public void setIntensity(float intensity)
DOCUMENT ME!

Parameters:
intensity - DOCUMENT ME!

getIntensity

public float getIntensity()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setConeAngle

public void setConeAngle(float coneAngle)
DOCUMENT ME!

Parameters:
coneAngle - DOCUMENT ME!

getConeAngle

public float getConeAngle()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setFocus

public void setFocus(float focus)
DOCUMENT ME!

Parameters:
focus - DOCUMENT ME!

getFocus

public float getFocus()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setColor

public void setColor(int color)
DOCUMENT ME!

Parameters:
color - DOCUMENT ME!

getColor

public int getColor()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setCentreX

public void setCentreX(float x)
DOCUMENT ME!

Parameters:
x - DOCUMENT ME!

getCentreX

public float getCentreX()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setCentreY

public void setCentreY(float y)
DOCUMENT ME!

Parameters:
y - DOCUMENT ME!

getCentreY

public float getCentreY()
DOCUMENT ME!

Returns:
DOCUMENT ME!

prepare

public void prepare(int width,
                    int height)
DOCUMENT ME!

Parameters:
width - DOCUMENT ME!
height - DOCUMENT ME!

clone

public java.lang.Object clone()
DOCUMENT ME!

Overrides:
clone in class java.lang.Object
Returns:
DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!