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

Constructor Index

 o Sphere(Repere)
 o Sphere(Repere, MonPoint3D, MaTexture)

Method Index

 o genereCodePovRay()
Generate the PovRay Code if the Sphere
 o setHauteur(int)
Set the height of the sphere
 o setLargeur(int)
Set the width of the sphere
 o setProfondeur(int)
Set the depth of the sphere

Constructors

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

Methods

 o setHauteur
public void setHauteur( int hauteur)
Set the height of the sphere

Parameters:
int - the new height
Overrides:
setHauteur in class BasePov
 o setLargeur
public void setLargeur( int largeur)
Set the width of the sphere

Parameters:
int - the new width
Overrides:
setLargeur in class BasePov
 o setProfondeur
public void setProfondeur( int profondeur)
Set the depth of the sphere

Parameters:
int - the new depth
Overrides:
setProfondeur in class BasePov
 o 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