All Packages Class Hierarchy This Package Previous Next Index
Class Texte3D.MaTexture
java.lang.Object
|
+----Texte3D.MaTexture
- public class MaTexture
- extends Object
A class representing the MaTexture object which is the texture of an object
- Author:
- Sylvain Leterreur, Laure Ottavj
couleur-
nom-
MaTexture()
-
MaTexture(String)
-
genereCodePovRay()
- Generate the PovRay Code corresponding to the MaTexture object
getCouleur()
- Get the color of the color of the texture
getNom()
- Get the name of the texture
setCouleur(String)
- Set the color of the texture
setNom(String)
- Set the name of the texture
couleur
protected String couleur
nom
protected String nom
MaTexture
public MaTexture()
MaTexture
public MaTexture(String n)
setNom
public void setNom(String n)
- Set the name of the texture
- Parameters:
- String - the new name
getCouleur
public String getCouleur()
- Get the color of the color of the texture
- Returns:
- String the name of the color of the texture.
setCouleur
public void setCouleur(String couleur)
- Set the color of the texture
- Parameters:
- String - the name of the new color
getNom
public String getNom()
- Get the name of the texture
- Returns:
- String the name of the texture
genereCodePovRay
public String genereCodePovRay()
- Generate the PovRay Code corresponding to the MaTexture object
- Returns:
- String the string corresponding to the generated code.
All Packages Class Hierarchy This Package Previous Next Index