All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class Texte3D.LesObjets

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

public abstract class LesObjets
extends BasePov
A class that implements the base for the object manipulated in the applet. These objects are like Spheres and Texts.

Author:
Sylvain Leterreur, Laure Ottavj

Variable Index

 o texture

Constructor Index

 o LesObjets(Repere, MonPoint3D, MaTexture)

Method Index

 o genereCodePovRay()
Generate the PovRay Code of the object
 o getTexture()
Get the texture of the object
 o setTexture(MaTexture)
Set the texture of the object

Variables

 o texture
protected MaTexture texture

Constructors

 o LesObjets
public LesObjets(Repere rep,
                 MonPoint3D pos,
                 MaTexture t)

Methods

 o getTexture
public MaTexture getTexture()
Get the texture of the object

Returns:
MaTexture the texture of the object
 o setTexture
public void setTexture(MaTexture texture)
Set the texture of the object

Parameters:
MaTexture - the new texture
 o genereCodePovRay
public String genereCodePovRay()
Generate the PovRay Code of the object

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index