All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class Texte3D.Titre3D

java.lang.Object
    |
    +----java.awt.Component
            |
            +----java.awt.Container
                    |
                    +----java.awt.Panel
                            |
                            +----java.applet.Applet
                                    |
                                    +----Texte3D.Titre3D

public class Titre3D
extends Applet
implements Runnable
A class representing the applet Texte3D.

Author:
Laure Ottavj, Sylvain Leterreur

Constructor Index

 o Titre3D()

Method Index

 o affiche()
Display all the objects added to the applet, the light and the camera in the display zone.
 o afficheCoordonnees(MonPoint3D)
Display the coordinates of the selected object.
 o afficheImage(String)
Display the image computed by Pov Ray.
 o anyObjectIsSelected()
Check whether an object has been selected in one of the zones.
 o connect()
Connection to the serveur through sockets Get the code for PovRay.
 o init()
 o myAddColor(Choice)
Add color in a choice zone.
 o myAddTexture()
Add new Texture in the texture choice zone.
 o refresh(int, Point)
Refresh the display zones.
 o refreshAndStop(int, Point)
 o run()
 o start()
 o stop()

Constructors

 o Titre3D
public Titre3D()

Methods

 o start
public void start()
Overrides:
start in class Applet
 o run
public void run()
 o stop
public void stop()
Overrides:
stop in class Applet
 o init
public void init()
Overrides:
init in class Applet
 o connect
protected void connect()
Connection to the serveur through sockets Get the code for PovRay. Launch the CGI script. Get the image name.

 o afficheImage
protected void afficheImage(String name)
Display the image computed by Pov Ray.

 o myAddTexture
protected void myAddTexture()
Add new Texture in the texture choice zone.

 o myAddColor
protected void myAddColor(Choice theChoice)
Add color in a choice zone.

Parameters:
Choice - the choice zone desired.
See Also:
java.lang.Choice
 o anyObjectIsSelected
public boolean anyObjectIsSelected()
Check whether an object has been selected in one of the zones.

Returns:
true if one object is selected false if not.
 o refresh
public void refresh( int numPlan,
                    Point pos)
Refresh the display zones.

Parameters:
int - the number of the zone 1 if plan X - Y, 2 if plan X - Z, 3 if plan Z - Y.
Point - the position of the object to be refreshed.
 o refreshAndStop
public void refreshAndStop( int numPlan,
                           Point pos)
 o affiche
public void affiche()
Display all the objects added to the applet, the light and the camera in the display zone.

 o afficheCoordonnees
public void afficheCoordonnees(MonPoint3D point)
Display the coordinates of the selected object.


All Packages  Class Hierarchy  This Package  Previous  Next  Index