All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class Texte3D.Lumiere

java.lang.Object
    |
    +----Texte3D.BasePov
            |
            +----Texte3D.Lumiere

public class Lumiere
extends BasePov
A class representing the Lumiere object, which is the light source of the whole image.

Author:
Sylvain Leterreur, Laure Ottavj

Constructor Index

 o Lumiere(Repere, MonPoint3D, int, int, int)

Method Index

 o genereCodePovRay()
Generate the PovRay Code of the Lumiere object.
 o setCouleur(String)
Set the color of the light

Constructors

 o Lumiere
public Lumiere(Repere rep,
               MonPoint3D pos,
                int largeur,
                int hauteur,
                int profondeur)

Methods

 o setCouleur
public void setCouleur(String c)
Set the color of the light

Parameters:
String - the name of the color
 o genereCodePovRay
public String genereCodePovRay()
Generate the PovRay Code of the Lumiere object.

Returns:
String the string corresponding to the generated code.
Overrides:
genereCodePovRay in class BasePov

All Packages  Class Hierarchy  This Package  Previous  Next  Index