All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class Texte3D.ObjetTexte

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

public class ObjetTexte
extends LesObjets
A class which implements the object ObjetTexte which is the text the user wants to add in his image.

Author:
Sylvain Leterreur, Laure Ottavj

Variable Index

 o texte

Constructor Index

 o ObjetTexte(Repere)
 o ObjetTexte(Repere, MonPoint3D, MaTexture, String)

Method Index

 o genereCodePovRay()
Generate the PovRay Code of the ObjetTexte object
 o getHauteur()
Get the height of the text
 o getLargeur()
Get the width of the text
 o getProfondeur()
Get the depth of the text
 o getTexte()
Get the text
 o setTexte(String)
Set the text

Variables

 o texte
protected String texte

Constructors

 o ObjetTexte
public ObjetTexte(Repere rep,
                  MonPoint3D pos,
                  MaTexture t,
                  String texte)
 o ObjetTexte
public ObjetTexte(Repere rep)

Methods

 o getTexte
public String getTexte()
Get the text

Returns:
String the text
 o setTexte
public void setTexte(String texte)
Set the text

Parameters:
String - the new text
 o getLargeur
public  int getLargeur()
Get the width of the text

Returns:
int the width
Overrides:
getLargeur in class BasePov
 o getHauteur
public  int getHauteur()
Get the height of the text

Returns:
int the height of the text
Overrides:
getHauteur in class BasePov
 o getProfondeur
public  int getProfondeur()
Get the depth of the text

Returns:
int the depth of the text
Overrides:
getProfondeur in class BasePov
 o genereCodePovRay
public String genereCodePovRay()
Generate the PovRay Code of the ObjetTexte object

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index