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
Titre3D()
-
affiche()
- Display all the objects added to the applet, the light and the camera
in the display zone.
afficheCoordonnees(MonPoint3D)
- Display the coordinates of the selected object.
afficheImage(String)
- Display the image computed by Pov Ray.
anyObjectIsSelected()
- Check whether an object has been selected in one of the zones.
connect()
- Connection to the serveur through sockets
Get the code for PovRay.
init()
-
myAddColor(Choice)
- Add color in a choice zone.
myAddTexture()
- Add new Texture in the texture choice zone.
refresh(int, Point)
- Refresh the display zones.
refreshAndStop(int, Point)
-
run()
-
start()
-
stop()
-
Titre3D
public Titre3D()
start
public void start()
- Overrides:
- start in class Applet
run
public void run()
stop
public void stop()
- Overrides:
- stop in class Applet
init
public void init()
- Overrides:
- init in class Applet
connect
protected void connect()
- Connection to the serveur through sockets
Get the code for PovRay.
Launch the CGI script.
Get the image name.
afficheImage
protected void afficheImage(String name)
- Display the image computed by Pov Ray.
myAddTexture
protected void myAddTexture()
- Add new Texture in the texture choice zone.
myAddColor
protected void myAddColor(Choice theChoice)
- Add color in a choice zone.
- Parameters:
- Choice - the choice zone desired.
- See Also:
- java.lang.Choice
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.
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.
refreshAndStop
public void refreshAndStop( int numPlan,
Point pos)
affiche
public void affiche()
- Display all the objects added to the applet, the light and the camera
in the display zone.
afficheCoordonnees
public void afficheCoordonnees(MonPoint3D point)
- Display the coordinates of the selected object.
All Packages Class Hierarchy This Package Previous Next Index