All Packages Class Hierarchy This Package Previous Next Index
Class Texte3D.Sphere
java.lang.Object
|
+----Texte3D.BasePov
|
+----Texte3D.LesObjets
|
+----Texte3D.Sphere
- public class Sphere
- extends LesObjets
A class which represents the sphere object
- Author:
- Sylvain Leterreur, Laure Ottavj
Sphere(Repere)
-
Sphere(Repere, MonPoint3D, MaTexture)
-
genereCodePovRay()
- Generate the PovRay Code if the Sphere
setHauteur(int)
- Set the height of the sphere
setLargeur(int)
- Set the width of the sphere
setProfondeur(int)
- Set the depth of the sphere
Sphere
public Sphere(Repere rep,
MonPoint3D pos,
MaTexture t)
Sphere
public Sphere(Repere rep)
setHauteur
public void setHauteur( int hauteur)
- Set the height of the sphere
- Parameters:
- int - the new height
- Overrides:
- setHauteur in class BasePov
setLargeur
public void setLargeur( int largeur)
- Set the width of the sphere
- Parameters:
- int - the new width
- Overrides:
- setLargeur in class BasePov
setProfondeur
public void setProfondeur( int profondeur)
- Set the depth of the sphere
- Parameters:
- int - the new depth
- Overrides:
- setProfondeur in class BasePov
genereCodePovRay
public String genereCodePovRay()
- Generate the PovRay Code if the Sphere
- Returns:
- String the string corresponding to the generated code
- Overrides:
- genereCodePovRay in class LesObjets
All Packages Class Hierarchy This Package Previous Next Index