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

Variable Index

 o couleur
 o nom

Constructor Index

 o MaTexture()
 o MaTexture(String)

Method Index

 o genereCodePovRay()
Generate the PovRay Code corresponding to the MaTexture object
 o getCouleur()
Get the color of the color of the texture
 o getNom()
Get the name of the texture
 o setCouleur(String)
Set the color of the texture
 o setNom(String)
Set the name of the texture

Variables

 o couleur
protected String couleur
 o nom
protected String nom

Constructors

 o MaTexture
public MaTexture()
 o MaTexture
public MaTexture(String n)

Methods

 o setNom
public void setNom(String n)
Set the name of the texture

Parameters:
String - the new name
 o getCouleur
public String getCouleur()
Get the color of the color of the texture

Returns:
String the name of the color of the texture.
 o setCouleur
public void setCouleur(String couleur)
Set the color of the texture

Parameters:
String - the name of the new color
 o getNom
public String getNom()
Get the name of the texture

Returns:
String the name of the texture
 o 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